Vulnerability
CVE-2026-102828
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.
19 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-3669-pgfv-m6rc
- CGA-3v62-3vj8-54wh
- CGA-4285-f544-wg8f
- CGA-4g3x-r7c5-7j73
- CGA-597g-ppw6-wv5q
- CGA-59p2-hmcr-6x92
- CGA-5m9c-pwww-jwcg
- CGA-6hww-5596-q4g9
- CGA-7vr6-x6px-r2c6
- CGA-9rmf-28r4-c23q
- CGA-cj7x-69v7-jvpv
- CGA-fmq5-q364-r7vc
- CGA-gq4x-8rjc-6pmf
- CGA-h9x6-xjc9-fq9j
- CGA-j5m7-h537-g8fh
- CGA-qgcw-5wrc-xr9r
- CGA-vp99-hq6f-cvjj
- CGA-xpx5-9c7v-pmqq
-
GHSA-x6jw-m9v5-85vh
simple-git unsafe-operation guard does not block trailer command configuration