Gogs through 0.14.4 Protected Branch Allowlist Bypass via Pull Request Merge
CVE-2026-133113Published 19 Nov 2026, 13:54 UTC
Real-world risk
4.0/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.1
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| gogsCommon | <= 0.14.4 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.4% chance of exploitation in 30 days (percentile 34), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T3: Public proof of concept0.950
- 10 × impact 0.7 × prerequisites 0.6 × threat 0.953.990
- Rounded to one decimal between 0.1 and 104.0
Exploitation and evidence timeline
- 19 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 4.0 (cvss fallback)
Weakness
CWE-863
References
- https://github.com/gogs/gogs/security/advisories/GHSA-8r2x-49gj-h6rmexploit, vendor-advisory
- https://github.com/gogs/gogs/commit/089f089fa783f95b54a635b8ec9b3f498c2a5d12patch
- https://github.com/gogs/gogs/commit/1651767a3e2c531ccf0af2141d691cfff8763e09patch
- https://github.com/gogs/gogs/blob/v0.14.4/internal/route/repo/pull.go#L401-L431technical-description
- https://github.com/gogs/gogsproduct
- https://www.vulncheck.com/advisories/gogs-through-0.14.4-protected-branch-allowlist-bypass-via-pull-request-mergethird-party-advisory
- CVE-2026-133113 on CVE.org