Auth bypass in Gogs
CVE-2026-133113
- CVSS v3
- 6.5 Medium
- Public exploits
- 2 repositories
- EPSS
- 0.004 · 32.2th percentile
- Published
- 2026-11-19
Gogs through 0.14.4 contains an authorization bypass vulnerability that allows collaborators with write access to push to protected branches by merging pull requests. Because MergePullRequest skips branch protection checks and PullRequest.Merge omits hook environment variables, attackers can merge commits into branches restricted to allowlisted users.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.004, 32.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- cveForge/CVE-2026-133113 (last pushed 2026-11-23): CVE-2026-133113 -- Gogs <=0.14.4 Protected Branch Bypass via Pull Request Merge API. CVSS 8.3 High.
- LLCForge/CVE-2026-133113 (last pushed 2026-11-19): CVE-2026-133113 -- Gogs <=0.14.4 Protected Branch Bypass via Pull Request Merge API. CVSS 8.3 High.
References
- github.com/gogs/gogs/security/advisories/GHSA-8r2x-49gj-h6rm (vendor-advisory)
- github.com/gogs/gogs/commit/089f089fa783f95b54a635b8ec9b3f498c2a5d12 (patch)
- github.com/gogs/gogs/commit/1651767a3e2c531ccf0af2141d691cfff8763e09 (patch)
- github.com/gogs/gogs/blob/v0.14.4/internal/route/repo/pull.go (technical-description)
- github.com/gogs/gogs (product)
- www.vulncheck.com/advisories/gogs-through-0.14.4-protected-branch-allowlist-byp… (third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.