Authorization Bypass in Gogs Versions Allows Potential Branch Protection Evasion
CVE-2026-133113

7.1HIGH

Key Information:

Vendor

Gogs

Status
Vendor
CVE Published:
19 November 2026

What is CVE-2026-133113?

Gogs version 0.14.4 is susceptible to an authorization bypass vulnerability, allowing users with write access to circumvent branch protection by merging pull requests. The mechanism for merging pull requests fails to appropriately enforce branch protection checks, thereby enabling unauthorized modifications to protected branches that should only be accessible to specific users. This flaw arises from the MergePullRequest functionality ignoring vital environment variables during the merge process.

Affected Version(s)

gogs 0 <= 0.14.4

References

CVSS V4

Score:
7.1
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

z3r0s
.