CVE-2026-1999Incorrect Authorization vulnerability was identified in GitHub Enterprise Server that…
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by GitHub_P, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GitHub Enterprise Server: affected: 3.17.0 to before 3.17.11, 3.18.0 to before 3.18.5, 3.19.0 to before 3.19.2; fixed in
3.17.11,3.18.5,3.19.2
Vendor advisories:
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.11 (release-notes)
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.5 (release-notes)
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.2 (release-notes)
References
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.11
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.5
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.