Authorization Bypass in Gogs Versions Allows Potential Branch Protection Evasion
CVE-2026-133113
7.1HIGH
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
