CVE-2026-133113 json
Gogs through 0.14.4 Protected Branch Allowlist Bypass via Pull Request Merge
published 2d ago modified yesterday also EUVD-2026-129972 , GHSA-8r2x-49gj-h6rm
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository gogs/gogs. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 7.1
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- github.com/gogs/gogs@089f089 commit
- github.com/gogs/gogs@1651767 commit
Is CVE-2026-133113 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- yesterday
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-20).
Exploits and checks
- github.com https://github.com/gogs/gogs/security/advisories/GHSA-8r2x-49gj-h6rm referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | gogs.io/gogs | <0.15.0 |
no fix listed |
Affected products
- gogs gogs
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
- Technology feeds
References
-
github.com
/gogs/gogs/commit/089f089fa783f95b54a635b8ec9b3f498c2a5d12
patch
-
github.com
/gogs/gogs/commit/1651767a3e2c531ccf0af2141d691cfff8763e09
patch
-
github.com
/gogs/gogs/security/advisories/GHSA-8r2x-49gj-h6rm
vendor-advisory, exploit, advisory
-
github.com
/gogs/gogs/blob/v0.14.4/internal/route/repo/pull.go#L401-L431
technical-description
-
github.com
/gogs/gogs
product
-
vulncheck.com
/advisories/gogs-through-0.14.4-protected-branch-allowlist-bypass-via-pull-request-merge
third-party-advisory
Sources
- CVE List CVE-2026-133113
- NVD CVE-2026-133113
- Maintainer advisory GHSA-8r2x-49gj-h6rm
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of gogs/gogs published their own advisory on GitHub. Reviewed sources take precedence over it.