GitHub Enterprise Server
Incorrect Authorization vulnerability was identified in GitHub Enterprise Server that allowed unauthorized merging of pull requests
An incorrect authorization vulnerability was identified in GitHub Enterprise Server that allowed an attacker to merge their own pull request into a repository without having push access by exploiting an authorization bypass in the enable_auto_merge mutation for pull requests. This issue only affected repositories that allow forking as the attack relies on opening a pull request from an attacker-controlled fork into the target repository. Exploitation was only possible in specific scenarios. It required a clean pull request status and only applied to branches without branch protection rules enabled. This vulnerability affected GitHub Enterprise Server versions prior to 3.19.2, 3.18.5, and 3.17.11, and was fixed in versions 3.19.2, 3.18.5, and 3.17.11. This vulnerability was reported via the GitHub Bug Bounty program.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.17.0, < 3.17.11
- >= 3.18.0, < 3.18.5
- >= 3.19.0, < 3.19.2
Fixed in 3.17.11, 3.18.5, 3.19.2
Mitigation
Upgrade Enterprise Server to 3.17.11 or 3.18.5 or 3.19.2 or later.
References
- Release notes docs.github.com/en/enterprise-server@3.17/admin/rel…
- Release notes docs.github.com/en/enterprise-server@3.18/admin/rel…
- Release notes docs.github.com/en/enterprise-server@3.19/admin/rel…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational · 1 not a PoC
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| manoelprovider20-lgtm/merge-authz-test | 18 Jul 2026 +149 d | 0 | Informational · write-up |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| jwde/automerge-test | 15 Mar 2026 +25 d | 0 | Not a PoC · unrelated
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.