# CVE-2026-133113: Gogs through 0.14.4 Protected Branch Allowlist Bypass via Pull Request Merge

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-19T13:54:34.270Z
- Modified: 2026-11-19T21:45:07.273Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- gogs gogs: up to 0.14.4

## Every score

- VulnCheck: CVSS:4.0 7.1 High `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`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/gogs/gogs/security/advisories/GHSA-8r2x-49gj-h6rm> (exploit, vendor-advisory)
- <https://github.com/gogs/gogs/commit/089f089fa783f95b54a635b8ec9b3f498c2a5d12> (patch)
- <https://github.com/gogs/gogs/commit/1651767a3e2c531ccf0af2141d691cfff8763e09> (patch)
- <https://github.com/gogs/gogs/blob/v0.14.4/internal/route/repo/pull.go#L401-L431> (technical-description)
- <https://github.com/gogs/gogs> (product)
- <https://www.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](https://www.cve.org/CVERecord?id=CVE-2026-133113), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-133113](https://nvd.nist.gov/vuln/detail/CVE-2026-133113), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-133113 · Whole record: https://cve.day/CVE-2026-133113.json · Rebuilt by cve.day 2026-11-25T22:59:52.007Z
