What’s Vulnerable › Vulnerabilities
CVE-2024-2440: Race Condition was identified in GitHub Enterprise Server that allowed maintaining admin permissions
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-19 · updated 2026-06-17
- Weakness: CWE-367
Description
A race condition in GitHub Enterprise Server allowed an existing admin to maintain permissions on a detached repository by making a GraphQL mutation to alter repository permissions while the repository is detached. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.13 and was fixed in versions 3.9.13, 3.10.10, 3.11.8 and 3.12.1. This vulnerability was reported via the GitHub Bug Bounty program.
Affected products
- GitHub Enterprise Server: before 3.9.13; from 3.10.0 before 3.10.10; from 3.11.0 before 3.11.8; from 3.12.0 before 3.12.1 — fixed in 3.10.10, 3.11.8, 3.12.1, 3.9.13
How to fix
Upgrade to a fixed version: GitHub Enterprise Server 3.10.10, 3.11.8, 3.12.1, 3.9.13. Check the vendor advisory for mitigations.
References
- https://docs.github.com/en/enterprise-server@3.10/admin/release-notes#3.10.10
- https://docs.github.com/en/enterprise-server@3.11/admin/release-notes#3.11.8
- https://docs.github.com/en/enterprise-server@3.12/admin/release-notes#3.12.2
- https://docs.github.com/en/enterprise-server@3.9/admin/release-notes#3.9.13
- https://docs.github.com/en/enterprise-server@3.10/admin/release-notes#3.10.10
- https://docs.github.com/en/enterprise-server@3.11/admin/release-notes#3.11.8
- https://docs.github.com/en/enterprise-server@3.12/admin/release-notes#3.12.2
- https://docs.github.com/en/enterprise-server@3.9/admin/release-notes#3.9.13
Get alerted when CVE-2024-2440 or the next vulnerability affects your stack