CVE-2024-4985
CVE-2024-4985 is a critical-severity vulnerability in Github Enterprise Server with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-303.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v4: 10.0
- EPSS exploit prediction: 3% (83rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-44539
- Weakness: CWE-303
- Affected product: Github Enterprise Server
- Published:
- Last modified:
Description
An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES) when utilizing SAML single sign-on authentication with the optional encrypted assertions feature. This vulnerability allowed an attacker to forge a SAML response to provision and/or gain access to a user with site administrator privileges. Exploitation of this vulnerability would allow unauthorized access to the instance without requiring prior authentication. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.13.0 and was fixed in versions 3.9.15, 3.10.12, 3.11.10 and 3.12.4. This vulnerability was reported via the GitHub Bug Bounty program.
Frequently asked questions
- What is CVE-2024-4985?
- An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES) when utilizing SAML single sign-on authentication with the optional encrypted assertions feature. This vulnerability allowed an attacker to forge a SAML response to provision and/or gain access to a user with site administrator privileges. Exploitation of this vulnerability would allow unauthorized access to the instance without requiring prior authentication. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.13.0 and was fixed in versions 3.9.15, 3.10.12, 3.11.10 and 3.12.4. This vulnerability was reported via the GitHub Bug Bounty program.
- How severe is CVE-2024-4985?
- CVE-2024-4985 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-4985 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (83rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-4985?
- CVE-2024-4985 affects Github Enterprise Server. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-4985?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-4985 have an EU (EUVD) identifier?
- Yes. CVE-2024-4985 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-44539.
- When was CVE-2024-4985 published?
- CVE-2024-4985 was published on 2024-05-20 and last updated on 2026-06-17.
References
- https://docs.github.com/en/[email protected]/admin/release-notes#3.10.12
- https://docs.github.com/en/[email protected]/admin/release-notes#3.11.10
- https://docs.github.com/en/[email protected]/admin/release-notes#3.12.4
- https://docs.github.com/en/[email protected]/admin/release-notes#3.9.15
Affected products (1)
- cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
More vulnerabilities in Github Enterprise Server
- CVE-2026-8034 — Critical (CVSS 9.8): A server-side request forgery (SSRF) vulnerability was identified in the GitHub Enterprise Server notebook viewer that…
- CVE-2024-6800 — Critical (CVSS 9.8): An XML signature wrapping vulnerability was present in GitHub Enterprise Server (GHES) when using SAML authentication…
- CVE-2022-23739 — Critical (CVSS 9.8): An incorrect authorization vulnerability was identified in GitHub Enterprise Server, allowing for escalation of…
- CVE-2022-46255 — Critical (CVSS 9.8): An improper limitation of a pathname to a restricted directory vulnerability was identified in GitHub Enterprise Server…
- CVE-2021-22869 — Critical (CVSS 9.8): An improper access control vulnerability in GitHub Enterprise Server allowed a workflow job to execute in a self-hosted…
- CVE-2026-5845 — Critical (CVSS 9.6): An improper authorization vulnerability in scoped user-to-server (ghu_) token authorization in GitHub Enterprise Server…
All CVEs affecting Github Enterprise Server →
Other CWE-303 vulnerabilities
- CVE-2025-13390 — Critical (CVSS 10.0): The WP Directory Kit plugin for WordPress is vulnerable to authentication bypass in all versions up to, and including,…
- CVE-2025-12421 — Critical (CVSS 9.9): Mattermost versions 11.0.x <= 11.0.2, 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12 fail to to verify that…
- CVE-2025-12419 — Critical (CVSS 9.9): Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly…
- CVE-2025-66489 — Critical (CVSS 9.8): Cal.com is open-source scheduling software. Prior to 5.9.8, A flaw in the login credentials provider allows an attacker…
- CVE-2025-21311 — Critical (CVSS 9.8): Windows NTLM V1 Elevation of Privilege Vulnerability
- CVE-2024-10127 — Critical (CVSS 9.8): Authentication bypass condition in LDAP authentication in M-Files server versions before 24.11 supported usage of…