CVE-2026-102828: simple-git command injection via trailer configuration

CVE-2026-102828 · Severity: critical · CVSS 4 · Published 2026-09-29

simple-git is a Node.js library that allows applications to run Git commands. Versions 3.15.0 through 4.0.1 fail to block unsafe Git configuration options, allowing an attacker who can control configuration settings to execute arbitrary shell commands with the privileges of the Node.js process. This can lead to complete system compromise on affected servers.

Technologies: simple-git (npm), Steveukx Simple-Git. Vendors: npm, Steveukx.

Quick answers

Is CVE-2026-102828 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-102828 being exploited in the wild.
How severe is CVE-2026-102828?
Critical severity, with a CVSS score of 4, published 29 September 2026.
Which products and versions are affected?
simple-git (npm) >= 3.15.0, < 4.0.1, SEMVER:introduced=3.15.0,fixed=4.0.1; Steveukx Simple-Git 3.15.0 to 4.0.0.
Is there a fix for CVE-2026-102828?
Yes. simple-git (npm): upgrade to 4.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-102828 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-102828?
Check whether you run simple-git (npm) or Steveukx Simple-Git 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 4.0.1 or later
    npm install simple-git@4.0.1

Technical details

The blockUnsafeOperationsPlugin does not classify trailer.<token>.cmd as an unsafe configuration option, allowing attackers to inject shell commands through SimpleGitOptions.config or inline -c arguments. When git interpret-trailers processes the configured trailer, the injected command executes with the operating-system identity and permissions of the Node.js process. A fix is available in version 4.0.1.

Affected products

  • steveukx simple-git 3.15.0 to 4.0.0

Identifiers

  • CVE-2026-102828
  • GHSA-x6jw-m9v5-85vh

Timeline

  • 2026-09-29: disclosed
  • 2026-09-25: patched: Fixed in version 4.0.1

References

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