Elevated
Gogs pull request merge bypasses protected branch allowlist
CVE-2026-133113
On a self-hosted code server, collaborators can sneak changes into protected code.
- CVE
- CVE-2026-133113 (opens in a new tab)
- Score
- CVSS 7.1
- Public date
- 2026-11-17
- First seen
Mitigation
There is no fix yet. Affected versions are below 0.15.0.
Summary
A pull request merge in Gogs skips the protected branch allowlist check, so a collaborator with write access who is not on the allowlist can merge commits into restricted branches. Affected versions are below 0.15.0.
Exploit code is public
Affected when
- Protected branch with an allowlist enabled
- Collaborator with write access who is not on the allowlist
4 other Incidents of this product in the last 30 days
Incidents by product: gogs
Other recent Incidents of gogs
Read the advisory · github.com (opens in a new tab)
- Advisory: github.com (opens in a new tab)
- Write-up: github.com (opens in a new tab)
- Write-up: vulncheck.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)
- Repository: LLCForge/CVE-2026-133113 (opens in a new tab)
- Repository: cveForge/CVE-2026-133113 (opens in a new tab)