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-1374

CVE-2024-1374: GitHub Enterprise Server RCE Vulnerability

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

Published: May 26, 2026

CVE-2024-1374 Overview

CVE-2024-1374 is a command injection vulnerability in GitHub Enterprise Server (GHES). An attacker holding the editor role in the Management Console can abuse nomad templates when configuring audit log forwarding to gain administrative SSH access to the appliance. The flaw affects all versions of GitHub Enterprise Server prior to 3.12 and was reported through the GitHub Bug Bounty program. GitHub fixed the issue in versions 3.11.5, 3.10.7, 3.9.10, and 3.8.15. The weakness is classified under [CWE-77] (Command Injection) and [CWE-20] (Improper Input Validation).

Critical Impact

A Management Console editor can escalate to root-level SSH access on the GHES appliance, compromising source code, secrets, and CI/CD pipelines hosted on the instance.

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 audit log forwarding can be configured from the Management Console

Discovery Timeline

  • 2024-02-13 - CVE-2024-1374 published to the National Vulnerability Database
  • 2024-11-21 - Last updated in NVD database
  • Reported via the GitHub Bug Bounty program

Technical Details for CVE-2024-1374

Vulnerability Analysis

The vulnerability lives in the Management Console workflow that configures audit log forwarding on GHES. GHES uses HashiCorp nomad to orchestrate internal services, and rendered nomad job templates incorporate values supplied through the audit log forwarding settings. Input from these settings is interpolated into template directives without sufficient sanitization. An authenticated user with the editor role can inject template syntax that the rendering engine evaluates as shell commands. Because rendered jobs execute under privileged service contexts, command execution lands the attacker on the appliance with administrative SSH access.

Root Cause

The root cause is improper neutralization of special elements used in an operating system command [CWE-77], combined with insufficient input validation [CWE-20] of audit log forwarding parameters. User-controlled fields flow directly into nomad template expressions, where template evaluation is treated as a trusted code path.

Attack Vector

Exploitation requires network access to the GHES Management Console and valid credentials for an account with the editor role. The attacker submits a crafted audit log forwarding configuration containing malicious template directives. When GHES renders the corresponding nomad job, the injected payload executes on the appliance host. The scope-changing nature of the flaw enables the attacker to obtain SSH access as an administrative user, bypassing the role boundary intended by the Management Console.

No verified public proof-of-concept code is available. Refer to the GitHub Enterprise release notes for vendor technical context.

Detection Methods for CVE-2024-1374

Indicators of Compromise

  • Unexpected modifications to audit log forwarding configuration in the Management Console
  • New or unrecognized SSH sessions to the GHES appliance using the admin account
  • nomad job definitions or rendered templates containing shell metacharacters in fields tied to audit log destinations
  • Outbound network connections from the appliance to attacker-controlled hosts following Management Console configuration changes

Detection Strategies

  • Monitor Management Console audit events for changes to audit log forwarding made by editor-role accounts
  • Inspect rendered nomad job specifications for template syntax or shell operators originating from user-supplied fields
  • Correlate Management Console configuration changes with subsequent SSH authentication events on the appliance
  • Baseline normal administrative SSH activity and alert on deviations in source IP, time-of-day, or session frequency

Monitoring Recommendations

  • Forward GHES system logs, SSH authentication logs, and Management Console audit logs to a centralized SIEM
  • Alert on creation or modification of accounts assigned the editor role in the Management Console
  • Track process execution lineage from nomad worker processes to detect unexpected child shells
  • Review release-note guidance in the GitHub Enterprise 3.11.5 advisory and apply matching detections

How to Mitigate CVE-2024-1374

Immediate Actions Required

  • Upgrade GHES to 3.11.5, 3.10.7, 3.9.10, 3.8.15, or any later release on the supported branch
  • Audit Management Console editor accounts and revoke access that is not strictly required
  • Rotate SSH keys, administrative passwords, and any secrets stored on the appliance if compromise is suspected
  • Review audit log forwarding configurations for unexpected entries introduced before the patch was applied

Patch Information

GitHub released fixes in GHES 3.11.5, 3.10.7, 3.9.10, and 3.8.15. Versions 3.12 and later are not affected. See the vendor release notes: GHES 3.11.5, GHES 3.10.7, GHES 3.9.10, and GHES 3.8.15.

Workarounds

  • Restrict Management Console access to a hardened administrative network segment using firewall rules or VPN gating
  • Limit assignment of the editor role to a minimal set of trusted operators and enforce multi-factor authentication on those accounts
  • Disable audit log forwarding configuration changes until the patched version is deployed where operationally feasible
  • Monitor administrative SSH access to the appliance and require jump-host or bastion mediation
bash
# Verify the running GHES version against the patched baseline
ghe-version
# Expected output should be >= 3.8.15, 3.9.10, 3.10.7, 3.11.5, or 3.12.x

# Restrict Management Console access at the network layer (example iptables rule)
iptables -A INPUT -p tcp --dport 8443 -s <trusted_admin_cidr> -j ACCEPT
iptables -A INPUT -p tcp --dport 8443 -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 Server

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability3.62%

  • 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
  • Vendor Resources
  • GitHub Enterprise Release Notes 3.10.7

  • GitHub Enterprise Release Notes 3.11.5

  • GitHub Enterprise Release Notes 3.8.15

  • GitHub Enterprise Release Notes 3.9.10
  • Related CVEs
  • CVE-2026-4821: GitHub Enterprise Server RCE Vulnerability

  • CVE-2026-3854: GitHub Enterprise Server RCE Vulnerability

  • CVE-2025-3509: GitHub Enterprise Server RCE Vulnerability

  • CVE-2024-0200: GitHub Enterprise Server RCE Vulnerability
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