CVE-2026-102828
CRITICAL 9.2CVSS 4.0simple-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.
- Published
- 29 Sep 2026
- Last modified
- 8 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-184CWE-78
- Also known as
- GHSA-x6jw-m9v5-85vh
- Sources
- NVDJSONOSV GHSA-x6jw-m9v5-85vhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.2 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | simple-git_project | simple-gitcpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:* |
>= 3.15.0, < 4.0.1 | 4.0.1 |
| OSV | npm | simple-git | >= 3.15.0, < 4.0.1 | 4.0.1 |
References
- https://github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1b3 · Patch, WEB
- https://github.com/steveukx/git-js/pull/1198 · Patch, WEB
- https://github.com/steveukx/git-js/releases/tag/simple-git@4.0.1 · Release Notes, WEB
- https://github.com/steveukx/git-js/security/advisories/GHSA-x6jw-m9v5-85vh · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-102828 · ADVISORY
- https://github.com/steveukx/git-js · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 29 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Oct 2026)