Impact
An incorrect authorization flaw in GitHub Enterprise Server allows an attacker to merge a pull request from an attacker-controlled fork into a target repository without having push rights. The vulnerability is triggered via the enable_auto_merge mutation for pull requests and is limited to situations where the repository allows forking, the pull request is clean, and there are no branch protection rules in place. This bypass permits the insertion of arbitrary code or configuration changes into the repository, potentially compromising the integrity of the codebase and downstream deployments. The weakness reflects an authorization bypass (CWE‑863).
Affected Systems
GitHub Enterprise Server versions prior to 3.19.2, 3.18.5, and 3.17.11 are affected. Updates to 3.19.2, 3.18.5, and 3.17.11 contain the fix.
Risk and Exploitability
The vulnerability carries a CVSS base score of 7.1, indicating high severity. The EPSS score is less than 1%, showing a low probability of exploitation, and it is not listed in the CISA KEV catalog. Exploitability requires a forking‑capable user, a clean pull request, and the absence of protected branches, which limits the attack surface but still allows a determined adversary to inject code into repositories that accept forks.
OpenCVE Enrichment