CVE-2026-1999

Incorrect Authorization vulnerability was identified in GitHub Enterprise Server that allowed unauthorized merging of pull requests

State
Published
Severity
7.1 High
Published
Feb 18, 2026
Updated
Apr 14, 2026
Reserved
Feb 5, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:L/SI:H/SA:NGitHub_P

Weaknesses

Affected Products

ProductVersions
Enterprise ServerGitHub
  • 3.17.0 to before 3.17.11Affectedfrom 3.17.11Not affected
  • 3.18.0 to before 3.18.5Affectedfrom 3.18.5Not affected
  • 3.19.0 to before 3.19.2Affectedfrom 3.19.2Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.