# CVE-2024-4985: An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES) when utilizing SAML single sign-on authentication…

- Severity: Critical 10.0 (CVSS:4.0, scored by GitHub_P) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/R:U/V:C/RE:M/U:Red`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.57%, higher than 85% of CVEs (2026-12-02)
- Published: 2024-05-20T21:17:27.315Z
- Modified: 2026-06-17T08:03:20.020Z
- Weaknesses: CWE-303
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_P

## 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.

(As written by CVE List.)

## Affected

- GitHub Enterprise Server: from 3.9.0 up to 3.9.14; from 3.10.0 up to 3.10.11; from 3.11.0 up to 3.11.9; from 3.12.0 up to 3.12.3 (not affected: 3.13.0)
- github enterprise_server: from 3.9.0 up to 3.9.14; from 3.10.0 up to 3.10.12; from 3.11.0 up to 3.11.10; from 3.12.0 up to 3.12.3; before 3.9.15; from 3.10.0 before 3.10.12; from 3.11.0 before 3.11.10; from 3.12.0 before 3.12.4

## Every score

- GitHub_P: CVSS:4.0 10.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/R:U/V:C/RE:M/U:Red`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://docs.github.com/en/enterprise-server@3.9/admin/release-notes#3.9.15> (release-notes)
- <https://docs.github.com/en/enterprise-server@3.10/admin/release-notes#3.10.12> (release-notes)
- <https://docs.github.com/en/enterprise-server@3.11/admin/release-notes#3.11.10> (release-notes)
- <https://docs.github.com/en/enterprise-server@3.12/admin/release-notes#3.12.4> (release-notes)

## Sources

- CVE List: [CVE-2024-4985](https://www.cve.org/CVERecord?id=CVE-2024-4985), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-4985](https://nvd.nist.gov/vuln/detail/CVE-2024-4985), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-4985 · Whole record: https://cve.day/CVE-2024-4985.json · Rebuilt by cve.day 2026-11-25T22:58:40.678Z
