Enterprise ServerApplication · GitHub

CVE-2024-6800

CRITICAL · 9.8 CVSS v3.1 Published 2024-08-20
Fix available
A fix is available. Upgrade to 3.10.16 / 3.11.14 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
An XML signature wrapping vulnerability was present in GitHub Enterprise Server (GHES) when using SAML authentication with specific identity providers utilizing publicly exposed signed federation metadata XML. This vulnerability allowed an attacker with direct network access to GitHub Enterprise Server 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.14 and was fixed in versions 3.13.3, 3.12.8, 3.11.14, and 3.10.16. This vulnerability was reported via the GitHub Bug Bounty program.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

An XML signature wrapping vulnerability in GitHub Enterprise Server's SAML authentication allows attackers to forge SAML responses and gain unauthorized admin access. The flaw exploits how GHES processes signed federation metadata XML from identity providers, enabling authentication bypass without prior credentials.

MitigationUpgrade to GHES version 3.13.3, 3.12.8, 3.11.14, or 3.10.16 or later. Review existing admin accounts for unauthorized modifications and audit identity provider federation metadata accessibility.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Enterprise ServerApplication
Affected:>= 3.10.0, < 3.10.16>= 3.11.0, < 3.11.14>= 3.12.0, < 3.12.8>= 3.13.0, < 3.13.3

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Determine GitHub Enterprise Server version
    Access the GitHub Enterprise Server admin console and navigate to the Site admin dashboard, or run 'ghe-version' from the management shell. Note the exact version number.
    Affected if The installed version falls within any of these ranges: 3.10.0 to 3.10.15, 3.11.0 to 3.11.13, 3.12.0 to 3.12.7, or 3.13.0 to 3.13.2
  2. Confirm SAML authentication is enabled
    In the admin console, go to Authentication > SAML and verify that SAML single sign-on is configured and enabled for the instance.
    Affected if SAML authentication is enabled and the version check above shows a vulnerable version.
  3. Review audit logs for admin account creation
    In the admin console, access the Audit log and search for events involving user account creation with the 'site_admin' role, or look for events containing 'admin' and 'create' from unfamiliar IP addresses or identity providers.
    Affected if New site administrator accounts appear in audit logs that were not created through expected administrative processes.
  4. Check for unexpected SAML identity provider activity
    Review SAML IdP logs and GitHub audit logs for authentication attempts or session creations from unfamiliar service providers, or for duplicate SAML response signatures that may indicate wrapping attacks.
    Affected if SAML responses show duplicate message IDs, unexpected origin IPs, or authentication attempts from IdPs not recognized in your configuration.

You are affected if GitHub Enterprise Server is running a version within the affected ranges AND SAML authentication is enabled; check audit logs for unauthorized admin account creation as a sign of exploitation.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 3.10.16 / 3.11.14 / 3.12.8 or later
Fixed in 3.10.163.11.143.12.8
Interim mitigation

Upgrade to GHES version 3.13.3, 3.12.8, 3.11.14, or 3.10.16 or later. Review existing admin accounts for unauthorized modifications and audit identity provider federation metadata accessibility.

Recommended fix High confidence

Upgrade to 3.10.16 (if on 3.10.x), 3.11.14 (if on 3.11.x), 3.12.8 (if on 3.12.x), or 3.13.3 (if on 3.13.x). Versions before 3.10.x should upgrade to 3.10.16 as the minimum fixed release.

  1. Identify the current GitHub Enterprise Server version by navigating to the admin console or running: grep -E '^version:' /etc/github/config.yml
  2. Determine the appropriate upgrade path based on current version (see upgrade_path)
  3. Take a complete backup of the GitHub Enterprise Server instance, including database and storage
  4. Schedule a maintenance window for the upgrade
  5. For AWS-based instances, create an AMI backup before proceeding
  6. Follow the GitHub Enterprise Server upgrade procedure: Download the upgrade package from enterprise.github.com, run: sudo bash /path/to/github-enterprise-version.x86_64.pkg, then sudo ghe-upgrade /var/opt/github-enterprise/github-enterprise*.pkg
  7. Verify the upgrade completed successfully by checking the version at /setup/api/startup-status
  8. Verify SAML authentication is functioning correctly after upgrade
Caveat Upgrading across multiple minor versions may introduce breaking changes; review GitHub Enterprise Server release notes before upgrading.

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Enterprise Server Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing3.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,490
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-6800 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-6800 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data