Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.4
simple-git can run attacker‑controlled shell commands
published 8 days ago
Summary
Node.js applications that use simple-git version 3.15.0 through 4.0.1 may let an attacker supply values that cause Git to execute a command of the attacker’s choice. The command runs with the same rights as the Node.js process, potentially exposing the host system. Update simple-git to version 4.0.1 or later in any Docker images such as the hardened Directus‑12 or Kyverno‑Policy‑Reporter‑UI images that include this library.
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 | Vendor | Product | Affected 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. From 3.15.0 until 4.0.1, the default blockUnsafeOperationsPlugin does not classify trailer.<token>.cmd as unsafe configuration. An application that passes attacker-controlled values through SimpleGitOptions.config or inline -c arguments can therefore allow Git to invoke an attacker-selected shell command when git interpret-trailers processes the configured trailer. The command executes with the operating-system identity and permissions of the Node.js process. This issue is fixed in 4.0.1.
References
- https://scout.docker.com/v/DHI-v7c7-i2to-ad72-dld6 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-102828 Vendor Advisory
- https://github.com/steveukx/git-js/security/advisories/GHSA-x6jw-m9v5-85vh Vendor Advisory
- https://github.com/steveukx/git-js/pull/1198 Patch
- https://github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1... Patch
- https://github.com/steveukx/git-js/releases/tag/[email protected] URL
- https://github.com/advisories/GHSA-x6jw-m9v5-85vh Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker full control (estimated)
Timeline
Published14 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
DHI-v7c7-i2to-ad72-dld6 · OSV
Track software like this
Free during beta