10.0
CRITICAL CVSS 4.0
CVE-2024-4985
GitHub Enterprise Server SAML Authentication Bypass
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.

INFO

Published Date :

May 20, 2024, 10:15 p.m.

Last Modified :

Aug. 27, 2025, 8:53 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-4985 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Github enterprise_server
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL [email protected]
CVSS 4.0 CRITICAL [email protected]
Public PoC/Exploit Available at Github

CVE-2024-4985 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-4985 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-4985 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

The authentication bypass vulnerability in GitHub Enterprise Server (GHES) allows an unauthorized attacker to access an instance of GHES without requiring pre-authentication. The vulnerability affects all GHES versions prior to 3.13.0.

Updated: 4 months, 4 weeks ago
50 stars 6 fork 6 watcher
Born at : May 21, 2024, 4:51 a.m. This repo has been linked 1 different CVEs too.

Ostorlab KEV: One-command to detect most remotely known exploitable vulnerabilities. Sourced from CISA KEV, Google's Tsunami, Ostorlab's Asteroid and Bug Bounty programs.

cisa-kev vulnerability 0day cisa exploits

Updated: 3 weeks, 1 day ago
581 stars 42 fork 42 watcher
Born at : April 19, 2022, 8:58 a.m. This repo has been linked 1287 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-4985 vulnerability anywhere in the article.

  • Cybersecurity News
Critical Vulnerabilities Found in Gogs Self-Hosted Git Service: Urgent Update Required

Multiple critical security vulnerabilities have been discovered in Gogs, a popular open-source self-hosted Git service. These vulnerabilities, with CVSS scores ranging from 7.7 to 9.9, could allow att ... Read more

Published Date: Dec 25, 2024 (8 months ago)
  • The Hacker News
GitHub Patches Critical Flaw in Enterprise Server Allowing Unauthorized Instance Access

Enterprise Security / Vulnerability GitHub has released security updates for Enterprise Server (GHES) to address multiple issues, including a critical bug that could allow unauthorized access to an in ... Read more

Published Date: Oct 16, 2024 (10 months, 2 weeks ago)
  • The Hacker News
GitHub Patches Critical Security Flaw in Enterprise Server Granting Admin Privileges

Enterprise Software / Vulnerability GitHub has released fixes to address a set of three security flaws impacting its Enterprise Server product, including one critical bug that could be abused to gain ... Read more

Published Date: Aug 22, 2024 (1 year ago)
  • Cybersecurity News
CVE-2024-6800 (CVSS 9.5): Critical GitHub Enterprise Server Flaw Patched, Admin Access at Risk

GitHub, the world’s leading software development platform, has recently disclosed multiple security vulnerabilities in GitHub Enterprise Server (GHES) that could have allowed attackers to gain unautho ... Read more

Published Date: Aug 21, 2024 (1 year ago)

The following table lists the changes that have been made to the CVE-2024-4985 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 27, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* versions up to (excluding) 3.9.15 *cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* versions from (including) 3.10.0 up to (excluding) 3.10.12 *cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* versions from (including) 3.11.0 up to (excluding) 3.11.10 *cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* versions from (including) 3.12.0 up to (excluding) 3.12.4
    Added Reference Type CVE: https://docs.github.com/en/[email protected]/admin/release-notes#3.10.12 Types: Release Notes
    Added Reference Type GitHub, Inc. (Products Only): https://docs.github.com/en/[email protected]/admin/release-notes#3.10.12 Types: Release Notes
    Added Reference Type CVE: https://docs.github.com/en/[email protected]/admin/release-notes#3.11.10 Types: Release Notes
    Added Reference Type GitHub, Inc. (Products Only): https://docs.github.com/en/[email protected]/admin/release-notes#3.11.10 Types: Release Notes
    Added Reference Type CVE: https://docs.github.com/en/[email protected]/admin/release-notes#3.12.4 Types: Release Notes
    Added Reference Type GitHub, Inc. (Products Only): https://docs.github.com/en/[email protected]/admin/release-notes#3.12.4 Types: Release Notes
    Added Reference Type CVE: https://docs.github.com/en/[email protected]/admin/release-notes#3.9.15 Types: Release Notes
    Added Reference Type GitHub, Inc. (Products Only): https://docs.github.com/en/[email protected]/admin/release-notes#3.9.15 Types: Release Notes
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://docs.github.com/en/[email protected]/admin/release-notes#3.10.12
    Added Reference https://docs.github.com/en/[email protected]/admin/release-notes#3.11.10
    Added Reference https://docs.github.com/en/[email protected]/admin/release-notes#3.12.4
    Added Reference https://docs.github.com/en/[email protected]/admin/release-notes#3.9.15
  • CVE Received by [email protected]

    May. 20, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference GitHub, Inc. (Products Only) https://docs.github.com/en/[email protected]/admin/release-notes#3.9.15 [No types assigned]
    Added Reference GitHub, Inc. (Products Only) https://docs.github.com/en/[email protected]/admin/release-notes#3.10.12 [No types assigned]
    Added Reference GitHub, Inc. (Products Only) https://docs.github.com/en/[email protected]/admin/release-notes#3.11.10 [No types assigned]
    Added Reference GitHub, Inc. (Products Only) https://docs.github.com/en/[email protected]/admin/release-notes#3.12.4 [No types assigned]
    Added CWE GitHub, Inc. (Products Only) CWE-303
    Added CVSS V4.0 GitHub, Inc. (Products Only) 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:U/V:C/RE:M/U:Red
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 10
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact