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-2026-3854

CVE-2026-3854: GitHub Enterprise Server RCE Vulnerability

CVE-2026-3854 is a remote code execution vulnerability in GitHub Enterprise Server that allows attackers with push access to execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Published: March 13, 2026

CVE-2026-3854 Overview

An improper neutralization of special elements vulnerability was identified in GitHub Enterprise Server that allowed an attacker with push access to a repository to achieve remote code execution on the instance. During a git push operation, user-supplied push option values were not properly sanitized before being included in internal service headers. Because the internal header format used a delimiter character that could also appear in user input, an attacker could inject additional metadata fields through crafted push option values.

This vulnerability was reported via the GitHub Bug Bounty program and represents a significant security risk to organizations running self-hosted GitHub Enterprise Server installations. The command injection flaw (CWE-77) enables authenticated attackers with repository push permissions to execute arbitrary commands on the underlying server infrastructure.

Critical Impact

Authenticated attackers with push access to any repository can achieve full remote code execution on the GitHub Enterprise Server instance, potentially compromising source code, secrets, and enterprise infrastructure.

Affected Products

  • GitHub Enterprise Server versions prior to 3.14.24
  • GitHub Enterprise Server versions 3.15.x prior to 3.15.19
  • GitHub Enterprise Server versions 3.16.x prior to 3.16.15
  • GitHub Enterprise Server versions 3.17.x prior to 3.17.12
  • GitHub Enterprise Server versions 3.18.x prior to 3.18.6
  • GitHub Enterprise Server versions 3.19.x prior to 3.19.3

Discovery Timeline

  • 2026-03-10 - CVE-2026-3854 published to NVD
  • 2026-03-12 - Last updated in NVD database

Technical Details for CVE-2026-3854

Vulnerability Analysis

The vulnerability exists in how GitHub Enterprise Server processes git push options during repository push operations. Git push options allow users to pass additional metadata to the receiving server using the --push-option flag. In vulnerable versions of GitHub Enterprise Server, these user-supplied values are incorporated into internal service headers without adequate sanitization.

The root issue stems from the internal header format using a delimiter character that can also appear in user-controlled input. This design flaw creates a classic injection scenario where an attacker can craft push option values containing the delimiter, effectively breaking out of the intended data field and injecting arbitrary metadata fields into the internal request.

When these manipulated internal headers are processed by backend services, the injected metadata can alter the execution context or trigger unintended code paths, ultimately leading to command execution on the server.

Root Cause

The vulnerability is classified as CWE-77 (Improper Neutralization of Special Elements used in a Command). The fundamental issue is insufficient input validation and sanitization of git push option values before they are incorporated into internal service communications. The internal header protocol failed to account for the possibility that user input might contain the same delimiter characters used to separate header fields, creating an injection vector.

Attack Vector

The attack is network-based and requires the attacker to have authenticated access with push permissions to at least one repository on the GitHub Enterprise Server instance. The exploitation path involves:

  1. An attacker with push access initiates a git push operation to a repository
  2. The attacker includes maliciously crafted --push-option values containing delimiter characters and injected metadata
  3. GitHub Enterprise Server incorporates these unsanitized values into internal service headers
  4. The delimiter injection allows the attacker to insert additional metadata fields
  5. Backend services process the manipulated headers, leading to command execution

The attack does not require user interaction beyond the attacker's own authenticated actions, and successful exploitation grants the attacker command execution capabilities on the GitHub Enterprise Server host with the privileges of the application service.

Detection Methods for CVE-2026-3854

Indicators of Compromise

  • Unusual or malformed git push option values in git server logs containing special characters or delimiter sequences
  • Unexpected process spawning or command execution originating from GitHub Enterprise Server application processes
  • Anomalous network connections initiated by the GitHub Enterprise Server instance
  • Evidence of repository push operations followed by suspicious system-level activity

Detection Strategies

  • Monitor git server logs for push operations containing suspicious push option patterns, particularly those with unexpected special characters
  • Implement process monitoring on GitHub Enterprise Server instances to detect unexpected child processes spawned by the application
  • Review authentication logs for accounts with push access that may have been compromised or are exhibiting unusual behavior
  • Deploy network monitoring to identify unexpected outbound connections from the GitHub Enterprise Server infrastructure

Monitoring Recommendations

  • Enable comprehensive audit logging for all git push operations including push option values
  • Configure alerting for any command execution originating from GitHub Enterprise Server application contexts
  • Implement file integrity monitoring on critical system directories and application binaries
  • Establish baseline behavior for GitHub Enterprise Server processes to identify anomalous activity

How to Mitigate CVE-2026-3854

Immediate Actions Required

  • Upgrade GitHub Enterprise Server to a patched version immediately: 3.14.24, 3.15.19, 3.16.15, 3.17.12, 3.18.6, or 3.19.3 depending on your release track
  • Review git server logs for any suspicious push operations that may indicate prior exploitation attempts
  • Audit accounts with repository push access and verify their legitimacy
  • Consider temporarily restricting push access to trusted users until patching is complete

Patch Information

GitHub has released security patches addressing this vulnerability across all supported release branches. Organizations should upgrade to the appropriate fixed version based on their current release track:

  • Version 3.14.x users: Upgrade to version 3.14.24
  • Version 3.15.x users: Upgrade to version 3.15.19
  • Version 3.16.x users: Upgrade to version 3.16.15
  • Version 3.17.x users: Upgrade to version 3.17.12
  • Version 3.18.x users: Upgrade to version 3.18.6
  • Version 3.19.x users: Upgrade to version 3.19.3

Workarounds

  • Restrict repository push access to only trusted users until patches can be applied
  • Implement network segmentation to limit the blast radius of potential exploitation
  • Deploy additional monitoring and alerting for suspicious git operations and system-level activity
  • Consider placing GitHub Enterprise Server behind a web application firewall with rules to inspect git protocol traffic
bash
# Check current GitHub Enterprise Server version
ghe-version

# Upgrade to patched version (example for 3.19.x track)
# Follow GitHub's official upgrade documentation for your environment
ghe-upgrade -y GitHub-Enterprise-3.19.3.pkg

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

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.51%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/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:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-77
  • Technical References
  • GitHub Enterprise Release Notes 3.14.24

  • GitHub Enterprise Release Notes 3.15.19

  • GitHub Enterprise Release Notes 3.16.15

  • GitHub Enterprise Release Notes 3.17.12

  • GitHub Enterprise Release Notes 3.18.6

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

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

  • CVE-2024-0200: GitHub Enterprise Server RCE Vulnerability

  • CVE-2026-4296: 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