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

CVE-2026-28292: Simple-git RCE Vulnerability

CVE-2026-28292 is a remote code execution vulnerability in Simple-git that bypasses previous security fixes, enabling attackers to execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Published: March 13, 2026

CVE-2026-28292 Overview

CVE-2026-28292 is a critical Command Injection vulnerability affecting simple-git, a popular Node.js interface for running git commands. This vulnerability exists in versions 3.15.0 through 3.32.2 and allows an attacker to bypass two prior CVE fixes (CVE-2022-25860 and CVE-2022-25912) to achieve full remote code execution on the host machine. The flaw stems from a case-sensitivity issue in the security plugin designed to block unsafe operations.

Critical Impact

Attackers can achieve full remote code execution on systems running vulnerable versions of simple-git by bypassing existing security controls through case manipulation, potentially leading to complete system compromise.

Affected Products

  • simple-git versions 3.15.0 through 3.32.2
  • Node.js applications utilizing the affected simple-git package
  • CI/CD pipelines and automation tools leveraging simple-git for git operations

Discovery Timeline

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

Technical Details for CVE-2026-28292

Vulnerability Analysis

This vulnerability represents a security bypass of previously patched command injection flaws in the simple-git library. The root issue lies in how the block-unsafe-operations-plugin.ts validates git configuration parameters. The original patches for CVE-2022-25860 and CVE-2022-25912 implemented regex-based filtering to prevent attackers from injecting malicious protocol.*.allow configurations that could be exploited for remote code execution.

However, the regex validation used a case-sensitive pattern match, allowing attackers to bypass the security control by simply using uppercase or mixed-case variations of the blocked strings (e.g., PROTOCOL.ext.allow instead of protocol.ext.allow). This enables attackers to inject arbitrary git protocol handlers and achieve code execution through git's external protocol handler mechanism.

Root Cause

The vulnerability originates from insufficient input validation in the security plugin responsible for blocking unsafe git operations. Specifically, the regex pattern /^\s*protocol(.[a-z]+)?.allow/ only matches lowercase characters, failing to account for case-insensitive command interpretation by git. This allows attackers to bypass the security check by using uppercase characters in their malicious input.

Attack Vector

The attack vector is network-based and requires no privileges or user interaction. An attacker can exploit this vulnerability by providing specially crafted input to any application endpoint that passes user-controlled data to simple-git functions. By using case variations such as PROTOCOL.ext.allow or Protocol.Ext.Allow, the attacker bypasses the security filter and can configure git to execute arbitrary commands through malicious protocol handlers.

typescript
// Security patch from block-unsafe-operations-plugin.ts
// Source: https://github.com/steveukx/git-js/commit/f7042088aa2dac59e3c49a84d7a2f4b26048a257

       return;
    }
 
-   if (!/^\s*protocol(.[a-z]+)?.allow/.test(next)) {
+   if (!/^\s*protocol(.[a-z]+)?.allow/i.test(next)) {
       return;
    }

The fix adds the i flag to the regex pattern, enabling case-insensitive matching to properly block all variations of the unsafe operation.

Detection Methods for CVE-2026-28292

Indicators of Compromise

  • Unexpected git configuration changes containing protocol.*.allow entries with unusual casing
  • Anomalous outbound connections from Node.js processes to external endpoints
  • Presence of suspicious git protocol handlers in application logs
  • Unusual child process spawning from Node.js applications using simple-git

Detection Strategies

  • Monitor application logs for git operations containing case-variant protocol configuration strings
  • Implement runtime security monitoring to detect unexpected command execution from Node.js processes
  • Utilize software composition analysis (SCA) tools to identify vulnerable simple-git versions in your codebase
  • Deploy web application firewalls (WAF) with rules to detect git command injection patterns

Monitoring Recommendations

  • Enable verbose logging for applications using simple-git to capture all git command executions
  • Implement process monitoring to detect child processes spawned by Node.js applications
  • Configure alerting for any modifications to git protocol configurations in production environments
  • Review network traffic from application servers for suspicious outbound connections

How to Mitigate CVE-2026-28292

Immediate Actions Required

  • Upgrade simple-git to version 3.23.0 or later immediately
  • Audit all Node.js applications for simple-git usage and version dependencies
  • Review application code for any user-controlled input passed to simple-git functions
  • Implement input sanitization as an additional defense layer before passing data to simple-git

Patch Information

The vulnerability has been patched in simple-git version 3.23.0. The fix implements case-insensitive regex matching in the block-unsafe-operations-plugin.ts file to properly detect and block all variations of unsafe protocol configuration attempts. The patch is available via the GitHub commit f7042088aa2dac59e3c49a84d7a2f4b26048a257.

Workarounds

  • Implement strict input validation and sanitization before passing any user-controlled data to simple-git
  • Use application-level allowlists for git commands and options if upgrading is not immediately possible
  • Isolate applications using simple-git in restricted environments with limited network access
  • Consider using containerization with minimal privileges to limit the impact of potential exploitation
bash
# Update simple-git to the patched version
npm update simple-git@latest

# Verify the installed version is 3.23.0 or later
npm list simple-git

# For yarn users
yarn upgrade simple-git@^3.23.0

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSimple Git

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • Codeant Security Research CVE-2026-28292
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2026-28291: simple-git RCE Vulnerability

  • CVE-2022-25912: Simple-git RCE Vulnerability
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