Disclosure summary
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..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.
Source-reported weakness categories
CWE-78, CWE-184
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
GitHub Reviewed Security Advisories · GHSA-x6jw-m9v5-85vh
Open original source · Updated Oct 05, 2026
simple-git unsafe-operation guard does not block trailer command configuration
Source severity: CRITICAL / 9.2
| Ecosystem | Package | Affected range | First patched |
|---|---|---|---|
| npm | simple-git | >= 3.15.0, < 4.0.1 | 4.0.1 |
NIST National Vulnerability Database · NVD-CVE-2026-102828
Open original source · Updated Sep 30, 2026
Only CPE matches marked vulnerable=true are indexed. AND/OR platform conditions must be checked in the original NVD record.
Original records & references
PUBLISHED 2026-09-29T15:17:25-04:00
MODIFIED 2026-09-30T17:17:06-04:00
INGESTED 2026-10-06T11:43:05-04:00