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

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

Affected products (1)

More vulnerabilities in Github Enterprise Server

All CVEs affecting Github Enterprise Server →

Other CWE-303 vulnerabilities

Browse all CWE-303 vulnerabilities →