A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-1372

CVE-2024-1372: GitHub Enterprise Server RCE Vulnerability

CVE-2024-1372 is a command injection RCE vulnerability in GitHub Enterprise Server that allows attackers with editor role access to gain admin SSH access. This article covers technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2024-1372 Overview

CVE-2024-1372 is a command injection vulnerability in GitHub Enterprise Server (GHES) that allows an attacker with the Management Console editor role to gain administrative SSH access to the underlying appliance. The flaw resides in the SAML configuration workflow, where attacker-controlled input is passed to a shell context without proper sanitization. Successful exploitation grants full control of the appliance, including access to repositories, secrets, and integrations hosted by the GHES instance. GitHub fixed the issue in versions 3.11.5, 3.10.7, 3.9.10, and 3.8.15. The vulnerability was reported through the GitHub Bug Bounty program.

Critical Impact

An authenticated Management Console editor can escalate to root-level SSH access on the GitHub Enterprise Server appliance, compromising all hosted code, credentials, and CI/CD pipelines.

Affected Products

  • GitHub Enterprise Server versions prior to 3.8.15
  • GitHub Enterprise Server 3.9.x prior to 3.9.10, 3.10.x prior to 3.10.7, and 3.11.x prior to 3.11.5
  • All GHES deployments where the Management Console editor role is delegated to non-administrative users

Discovery Timeline

  • 2024-02-13 - CVE-2024-1372 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-1372

Vulnerability Analysis

The vulnerability is a command injection flaw [CWE-77] compounded by improper input validation [CWE-20] in the GitHub Enterprise Server Management Console. When an editor configures Security Assertion Markup Language (SAML) authentication settings, one or more fields are concatenated into a shell command executed on the appliance. Because the input is not sanitized or parameterized, an attacker can inject shell metacharacters to execute arbitrary operating system commands. The commands run in a privileged context that has the ability to modify the SSH authorized keys and service configuration on the appliance.

This is a post-authentication issue, but the editor role is intentionally less privileged than the administrator role. Treating editor accounts as a trust boundary, the flaw represents a vertical privilege escalation from web-tier editor to OS-level administrator on the appliance.

Root Cause

The root cause is unsafe handling of user-supplied SAML configuration fields. The Management Console passes these values into a shell command without escaping or using an exec-style API that separates arguments from the command string. Any field containing characters such as backticks, semicolons, $(), or pipes is interpreted by the shell rather than treated as data.

Attack Vector

An attacker first obtains credentials for a Management Console account with the editor role. The attacker then navigates to the SAML settings page and submits a crafted value in a SAML configuration field. When the configuration is saved or validated, the appliance executes the injected command. The attacker writes an SSH public key into the administrator account's authorized_keys file or executes commands directly, then connects over SSH to the appliance with administrative privileges. Refer to the GitHub Release Notes 3.11.5 for vendor remediation guidance.

Detection Methods for CVE-2024-1372

Indicators of Compromise

  • Unexpected modifications to /home/admin/.ssh/authorized_keys or other SSH key files on the GHES appliance
  • Management Console audit log entries showing SAML configuration changes by editor-role accounts followed by SSH logins
  • New or anomalous SSH sessions to the appliance from previously unseen source IP addresses
  • Shell metacharacters (;, |, `, $() appearing in stored SAML configuration values

Detection Strategies

  • Review GHES audit logs for business.update_saml_provider_settings and related Management Console events correlated with editor-role principals
  • Hunt for process executions on the appliance spawned by the Management Console service that do not match known administrative workflows
  • Inspect SAML configuration values for unexpected shell syntax that would not occur in legitimate identity provider metadata URLs or certificates

Monitoring Recommendations

  • Forward GHES audit logs and appliance SSH authentication logs to a centralized SIEM with alerting on privileged role changes and SSH key file writes
  • Alert on any successful SSH login to the GHES appliance that is not preceded by an approved change ticket
  • Continuously monitor the membership of the Management Console editor role and require approval workflows for additions

How to Mitigate CVE-2024-1372

Immediate Actions Required

  • Upgrade GitHub Enterprise Server to 3.11.5, 3.10.7, 3.9.10, 3.8.15, or any later release in those branches
  • Audit and minimize accounts assigned the Management Console editor role; remove access for users who do not require it
  • Rotate SSH host keys, administrator credentials, and any secrets stored on the appliance if compromise is suspected
  • Review SAML provider configuration values for unexpected content and reset them from a known-good source

Patch Information

GitHub released fixes in GHES 3.11.5, 3.10.7, 3.9.10, and 3.8.15. Versions in the 3.12 branch are not affected. Administrators should follow the upgrade instructions in the GitHub Release Notes 3.10.7, GitHub Release Notes 3.9.10, and GitHub Release Notes 3.8.15.

Workarounds

  • Restrict Management Console access to administrators only until the appliance is patched
  • Place the Management Console behind a network access control list that limits connectivity to a small set of trusted administrative workstations
  • Require multi-factor authentication on all Management Console accounts and rotate the Management Console password
bash
# Configuration example: verify GHES version and restrict Management Console exposure
ghe-version
sudo iptables -A INPUT -p tcp --dport 8443 ! -s 10.0.0.0/24 -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGithub Enterprise

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.49%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20

  • CWE-77
  • Technical References
  • GitHub Release Notes 3.10.7

  • GitHub Release Notes 3.11.5

  • GitHub Release Notes 3.8.15

  • GitHub Release Notes 3.9.10
  • Related CVEs
  • CVE-2026-8606: GitHub Enterprise Server SSRF Vulnerability

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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