simple-git unsafe-operation guard does not block trailer command configuration
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-78.
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.<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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| steveukx | git-js | 3.15.0 to before 4.0.1 | 4.0.1 | Patch available | CNA |
| — | simple-git (npm) | 3.15.0 to before 4.0.1 | 4.0.1 | Patch available | GHSA-x6jw-m9v5-85vh |
- git-js Vendorsteveukx Affected 3.15.0 to before 4.0.1 Fixed in 4.0.1 Patch available CNA
- simple-git (npm) Vendor— Affected 3.15.0 to before 4.0.1 Fixed in 4.0.1 Patch available GHSA-x6jw-m9v5-85vh
Remediation
- Fix · CNA git-js (steveukx) Fixed in 4.0.1
- Fix · GHSA-x6jw-m9v5-85vh simple-git (npm) Fixed in 4.0.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Build of Keycloak | Affected | No fix yet |
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
Timeline
- 2026-10-02 Threatist record created from CVE-2026-102828
- 2026-10-06 Alias added: GHSA-x6jw-m9v5-85vh
- 2026-10-06 Fix available: npm/[email protected] · GHSA-x6jw-m9v5-85vh
- 2026-10-06 CVSS score added · GHSA-x6jw-m9v5-85vh
- 2026-10-06 Weakness changed · GHSA-x6jw-m9v5-85vh
- 2026-10-06 6 new references · GHSA-x6jw-m9v5-85vh
- 2026-10-06 Affected versions changed · Red Hat
- 2026-10-06 CVSS score added · Red Hat
- 2026-10-07 Affected versions changed · Red Hat
- 2026-10-08 Affected versions changed · Red Hat
- 2026-10-09 CVSS score added · NVD
- 2026-10-27 Affected versions changed · Red Hat
References
Patch 2
Advisory 2
More steveukx Simple-git vulnerabilities
- TI-2026-22598 simple-git has blockUnsafeOperationsPlugin bypass via case-insensitive protocol.allow config key that enables RCE CVSS 3.1CRITICAL 9.8
- TI-2022-09464 Remote code execution (RCE) in simple-git CVSS 3.1CRITICAL 9.8
- TI-2026-06084 Code injection in simple-git CVSS 4.0CRITICAL 9.2
- TI-2022-09425 Code injection in simple-git CVSS 3.1CRITICAL 9.8
- TI-2026-65515 simple-git allows command execution through unblocked Git configuration includes CVSS 3.1HIGH 8.1
- TI-2026-22597 simple-git has Command Execution via Option-Parsing Bypass CVSS 3.1HIGH 8.1
Sources
- CVE-2026-102828 · CVE Program
- CVE-2026-102828 · NVD
- FIRST EPSS
- GHSA-x6jw-m9v5-85vh · GitHub Advisory Database · CC BY 4.0
- CVE-2026-102828 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences