Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.1

simple-git lets attackers run commands through Git push

published 12 days ago
Summary

Versions of simple-git before 4.0.0 can be tricked into accepting shortened Git options, allowing a malicious user to cause the underlying Git program to run commands they choose. This can affect any application that uses simple-git, including the listed hardened Docker images. Upgrade simple-git to version 4.0.0 or later to stop the issue.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
Ecosystem VendorProductAffected versions
Docker Hardened Images:Alpine:3.24 docker hardened images directus-12 All versions
Docker Hardened Images:Alpine:3.24 docker hardened images kyverno-policy-reporter-ui-dev All versions
Docker Hardened Images:Alpine:3.24 docker hardened images kyverno-policy-reporter-ui-fips-dev All versions
Docker Hardened Images:Alpine:3.24 docker hardened images kyverno-policy-reporter-ui-fips All versions
Docker Hardened Images:Alpine:3.24 docker hardened images kyverno-policy-reporter-ui All versions
Docker Hardened Images:Debian:13 docker hardened images directus-12 All versions
Docker Hardened Images:Debian:13 docker hardened images keycloak-26.7-fips All versions
Docker Hardened Images:Debian:13 docker hardened images keycloak-26.7 All versions
Docker Hardened Images:Debian:13 docker hardened images keycloak-26.8-fips All versions
Docker Hardened Images:Debian:13 docker hardened images keycloak-26.8 All versions
Docker Hardened Images:Debian:13 docker hardened images supabase-studio All versions
Docker Hardened Images:Debian:13 docker hardened images superset All versions
Original advisory text
simple-git, an interface for running git commands in any node.js application, enables applications to execute Git…
simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. Prior to 4.0.0, the default blockUnsafeOperationsPlugin compares parsed option names with literal dangerous option spellings while Git accepts unambiguous long-option abbreviations. Attacker-influenced push arguments such as abbreviated --receive-pack or --exec forms can therefore bypass detectVulnerableFlags, reach git push against a local or file remote or an attacker-influenced receive-pack target, and cause Git to invoke an attacker-selected command in consumers that expose those arguments. The clone-side abbreviation handling does not protect the push path. This issue is fixed in 4.0.0.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker full control (estimated)
Severity
8.1 High
Timeline
Published14 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
Track software like this
Free during beta