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

CVE-2026-102828: simple-git may run attacker-chosen commands

CVE-2026-102828 · published 12 days ago
Summary

Versions of simple-git from 3.15.0 up to 4.0.0 let a program pass configuration values that can cause Git to execute a shell command chosen by an attacker. This command runs with the same rights as the Node.js application, potentially exposing the system. Update simple-git to version 4.0.1 or later to stop this behavior.

What to do
  • Update simple-git to version 4.0.1.
  • Update simple-git_project simple-git to version 4.0.1 or later.
Affected software
Ecosystem VendorProductAffected versions
– steveukx git-js >= 3.15.0, < 4.0.1
npm – simple-git >= 3.15.0, < 4.0.1
Fix: upgrade to 4.0.1
– simple-git_project simple-git >= 3.15.0, < 4.0.1
cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:*
Original advisory text
simple-git unsafe-operation guard does not block trailer command configuration
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.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
9.4 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-78OS Command Injection
CWE-184Incomplete List of Disallowed Inputs
Timeline
Published29 Sep 2026
Updated10 Oct 2026
First seen29 Sep 2026
Track software like this
Free during beta