Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-133113: high-severity vulnerability (CVSS 7.1) in gogs gogs.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 7.1.
Affected products and versions
gogs gogs <= 0.14.4
| Product | Versions | Fixed in |
|---|---|---|
| gogs gogs | <= 0.14.4 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/gogs/gogs/security/advisories/GHSA-8r2x-49gj-h6rm — CVE Program
- https://github.com/gogs/gogs/commit/089f089fa783f95b54a635b8ec9b3f498c2a5d12 — CVE Program
- https://github.com/gogs/gogs/commit/1651767a3e2c531ccf0af2141d691cfff8763e09 — CVE Program
- https://github.com/gogs/gogs/blob/v0.14.4/internal/route/repo/pull.go#L401-L431 — CVE Program
- https://github.com/gogs/gogs — CVE Program
- https://www.vulncheck.com/advisories/gogs-through-0.14.4-protected-branch-allowlist-bypass-via-pull-request-merge — CVE Program
Weaknesses (CWE): CWE-863
Relevant change history
Published
Preliminary advisory published.