Read the docs

Argument injection in simple-git allows command execution via --exec

Priority MEDIUM 41CWE-88Published · Updated

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

EPSS 0.00742 50th percentileScored 2026-11-30
Fix Partial simple-git (steveukx): 4.1.0@simple-git/argv-parser (steveukx): 3.0.0Red Hat: 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
steveukxsimple-gitbefore 4.1.04.1.0Patch availableCNA
steveukx@simple-git/argv-parserbefore 3.0.03.0.0Patch availableCNA
  • simple-git Vendorsteveukx Affected before 4.1.0 Fixed in 4.1.0 Patch available CNA
  • @simple-git/argv-parser Vendorsteveukx Affected before 3.0.0 Fixed in 3.0.0 Patch available CNA

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 →

ProductStatusPlan or fix
Red Hat Build of KeycloakAffectedNo 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

  1. 2026-11-22 Threatist record created from CVE-2026-134815
  2. 2026-11-23 Alias added: GHSA-24pq-g7mp-w876
  3. 2026-11-23 Affected versions changed · Red Hat
  4. 2026-11-23 CVSS score added · Red Hat
  5. 2026-11-23 Affected versions changed · Red Hat
  6. 2026-11-24 Affected versions changed · Red Hat
  7. 2026-11-25 Affected versions changed · Red Hat

References

  • 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
See all 11 →

Sources