Argument injection in simple-git allows command execution via --exec
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 and Red Hat. Impact type from CWE-88.
Summary
simple-git before 4.1.0 and @simple-git/argv-parser before 3.0.0 contain an argument injection flaw (CWE-88). Attackers who influence arguments passed to simple-git operations can supply the --exec option to non-push git commands, bypassing the allowUnsafePack guard and running commands on the host. A remote attacker without privileges or user interaction can exploit it, under high-complexity conditions.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
simple-git before 4.1.0 contains an argument injection vulnerability that allows attackers to bypass the allowUnsafePack guard by supplying the --exec option to non-push git operations. Attackers who influence arguments passed to listRemote() or raw() can inject --exec for ls-remote, archive, fetch-pack or send-pack to execute commands on the host.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade simple-git to 4.1.0 and @simple-git/argv-parser to 3.0.0. Red Hat lists Red Hat Build of Keycloak as affected, with no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA simple-git (steveukx) Fixed in 4.1.0
- Fix · CNA @simple-git/argv-parser (steveukx) Fixed in 3.0.0
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-11-22 Threatist record created from CVE-2026-134815
- 2026-11-23 Alias added: GHSA-24pq-g7mp-w876
- 2026-11-23 Affected versions changed · Red Hat
- 2026-11-23 CVSS score added · Red Hat
- 2026-11-23 Affected versions changed · Red Hat
- 2026-11-24 Affected versions changed · Red Hat
- 2026-11-25 Affected versions changed · Red Hat
References
More steveukx 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-65518 simple-git: `VISUAL` editor environment variable is omitted from unsafe editor detection CVSS 4.0CRITICAL 9.2
- TI-2026-65515 simple-git allows command execution through unblocked Git configuration includes CVSS 3.1HIGH 8.1
Sources
- CVE-2026-134815 · CVE Program
- CVE-2026-134815 · NVD
- FIRST EPSS
- GHSA-24pq-g7mp-w876 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-134815 · 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