Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-4985

CVE-2024-4985: GitHub Enterprise Server Auth Bypass Flaw

CVE-2024-4985 is an authentication bypass flaw in GitHub Enterprise Server's SAML SSO feature that allows attackers to gain unauthorized admin access. This article covers technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2024-4985 Overview

An authentication bypass vulnerability was discovered in GitHub Enterprise Server (GHES) affecting installations configured with SAML single sign-on (SSO) authentication when the optional encrypted assertions feature is enabled. This vulnerability allows an attacker to forge a SAML response to provision and/or gain access to a user account with site administrator privileges, enabling complete compromise of the GHES instance without requiring prior authentication.

Critical Impact

This vulnerability enables unauthenticated attackers to forge SAML responses and gain site administrator access to GitHub Enterprise Server instances, potentially compromising all source code repositories, secrets, and CI/CD pipelines managed by the platform.

Affected Products

  • GitHub Enterprise Server versions prior to 3.9.15
  • GitHub Enterprise Server versions 3.10.x prior to 3.10.12
  • GitHub Enterprise Server versions 3.11.x prior to 3.11.10
  • GitHub Enterprise Server versions 3.12.x prior to 3.12.4

Discovery Timeline

  • 2024-05-20 - CVE-2024-4985 published to NVD
  • 2025-08-27 - Last updated in NVD database

Technical Details for CVE-2024-4985

Vulnerability Analysis

This authentication bypass vulnerability (CWE-303: Incorrect Implementation of Authentication Algorithm) exists in the SAML authentication flow of GitHub Enterprise Server when encrypted assertions are configured. The flaw allows attackers to craft malicious SAML responses that the server incorrectly validates, bypassing the authentication mechanism entirely.

The vulnerability is particularly severe because it requires no prior authentication and can be exploited remotely over the network. Successful exploitation grants the attacker site administrator privileges, which represents complete control over the GitHub Enterprise Server instance. This includes access to all repositories, user data, organization settings, and the ability to execute arbitrary code through GitHub Actions or other CI/CD integrations.

Root Cause

The root cause stems from an incorrect implementation of the authentication algorithm in the SAML response validation process. When encrypted assertions are enabled, the GHES authentication handler fails to properly verify the authenticity and integrity of certain elements in the SAML response. This allows an attacker to construct a forged SAML assertion that the server accepts as legitimate, effectively bypassing the entire authentication mechanism.

Attack Vector

The attack is network-based and can be executed by an unauthenticated remote attacker. The exploitation flow involves:

  1. The attacker identifies a GitHub Enterprise Server instance configured with SAML SSO and encrypted assertions
  2. The attacker crafts a malicious SAML response containing forged assertions
  3. The forged response includes claims for a user with site administrator privileges
  4. The attacker submits the crafted SAML response to the GHES authentication endpoint
  5. Due to improper validation, GHES accepts the forged response and grants administrator access

The attack requires no user interaction and can be performed without any prior access to the target system. Once the attacker gains administrator access, they have full control over the GHES instance, including the ability to access private repositories, modify user permissions, and potentially pivot to other connected systems.

Detection Methods for CVE-2024-4985

Indicators of Compromise

  • Unexpected SAML authentication events, particularly for administrator accounts that were not initiated by legitimate users
  • New administrator accounts created without proper provisioning workflows
  • Unusual login patterns for site administrator accounts, especially from unexpected IP addresses or geographic locations
  • SAML assertion logs showing irregularities in assertion structure or timing
  • Audit log entries indicating administrative actions performed outside normal business hours or by accounts with no prior activity

Detection Strategies

  • Review GHES audit logs for authentication events with suspicious SAML assertions or unusual administrator account provisioning
  • Monitor for new site administrator accounts that bypass normal HR or identity provisioning processes
  • Implement network-level monitoring for unusual traffic patterns to SAML authentication endpoints
  • Configure alerting for any administrative account creation or privilege elevation events

Monitoring Recommendations

  • Enable comprehensive audit logging on GitHub Enterprise Server instances
  • Implement SIEM integration to correlate SAML authentication events with identity provider logs
  • Monitor for discrepancies between identity provider authentication logs and GHES authentication events
  • Establish baseline behavior for administrator account activity and alert on deviations

How to Mitigate CVE-2024-4985

Immediate Actions Required

  • Upgrade GitHub Enterprise Server to a patched version immediately: 3.9.15, 3.10.12, 3.11.10, 3.12.4, or 3.13.0 or later
  • If immediate patching is not possible, consider temporarily disabling SAML encrypted assertions as a workaround
  • Audit all site administrator accounts and review recent authentication events for signs of compromise
  • Review audit logs for any unauthorized administrative actions that may have occurred

Patch Information

GitHub has released security patches addressing this vulnerability in the following versions:

  • GitHub Enterprise Server 3.9.15
  • GitHub Enterprise Server 3.10.12
  • GitHub Enterprise Server 3.11.10
  • GitHub Enterprise Server 3.12.4

Organizations should prioritize upgrading to the latest patched version for their release branch. This vulnerability was reported through the GitHub Bug Bounty program.

Workarounds

  • Temporarily disable the encrypted assertions feature in SAML SSO configuration until patching can be completed
  • Implement additional network-level access controls to restrict access to the GHES authentication endpoints
  • Enable IP allowlisting for administrative access if available in your GHES configuration
  • Consider temporarily restricting SAML authentication to known, trusted identity provider IP ranges
bash
# Check current GHES version
ghe-version

# After downloading the appropriate upgrade package, apply the patch
ghe-upgrade /path/to/github-enterprise-3.12.4.pkg

# Verify the upgrade was successful
ghe-version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechGithub Enterprise Server

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.45%

  • Known ExploitedNo
  • CVSS Vector
  • 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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-303
  • Technical References
  • GitHub Release Notes 3.10.12

  • GitHub Release Notes 3.11.10

  • GitHub Release Notes 3.12.4

  • GitHub Release Notes 3.9.15
  • Related CVEs
  • CVE-2026-4296: GitHub Enterprise Server Auth Bypass Flaw

  • CVE-2026-3307: GitHub Enterprise Server Auth Bypass Flaw

  • CVE-2026-5845: GitHub Enterprise Server Auth Bypass Flaw

  • CVE-2026-3582: GitHub Enterprise Server Auth Bypass Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English