CVE-2026-28292: steveukx simple-git remote code execution via case-sensitivity bypass

CVE-2026-28292 · Severity: critical · CVSS 9.8 · Published 2026-03-10

simple-git, a popular Node.js library used to automate Git commands, contains a critical security flaw that allows attackers to execute arbitrary commands on the host server. By providing specially crafted input that uses uppercase letters to bypass security filters, an attacker can take full control of the system running the application. This vulnerability effectively undoes previous security patches and could lead to complete data theft or system compromise.

Technologies: simple-git (npm). Vendors: npm.

Quick answers

Is CVE-2026-28292 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-28292 being exploited in the wild.
How severe is CVE-2026-28292?
Critical severity, with a CVSS score of 9.8, published 10 March 2026.
Which products and versions are affected?
simple-git (npm) >= 3.15.0, < 3.32.3, SEMVER:introduced=3.15.0,fixed=3.32.3.
Is there a fix for CVE-2026-28292?
Yes. simple-git (npm): upgrade to 3.32.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-28292 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-28292?
Check whether you run simple-git (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • simple-git (npm): upgrade to 3.32.3 or later
    npm install simple-git@3.32.3

Technical details

A vulnerability exists in simple-git's blockUnsafeOperationsPlugin where the preventProtocolOverride function uses a case-sensitive regular expression to check for unsafe '-c protocol.allow' arguments. Because Git treats configuration keys case-insensitively, an attacker can bypass this check by using uppercase or mixed-case variants (e.g., 'PROTOCOL.ALLOW'). This bypass allows the enablement of the 'ext::' protocol, which can be leveraged to execute arbitrary shell commands on the host machine. The issue affects versions 3.15.0 through 3.32.2 and is addressed in version 3.32.3 by adding the case-insensitive flag to the validation regex.

Affected products

  • steveukx simple-git >= 3.15.0, < 3.32.3
  • Red Hat Logging Subsystem for Red Hat OpenShift 5

Identifiers

  • CVE-2026-28292
  • GHSA-r275-fr43-pm7q

Timeline

  • 2026-03-10: disclosed
  • 2026-03-10: advisory
  • 2026-04-12: patched: Version 3.32.3 released with fix

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.