Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.2

CVE-2026-134815: simple-git lets attackers run commands via ls-remote

CVE-2026-134815 · published 10 days ago
Summary

The simple-git library (versions before 4.1.0) can be tricked into running any command the attacker supplies when it performs certain Git queries. This could let an attacker execute code on the server that runs your code. Update simple-git to version 4.1.0 or later, or ensure that only trusted input is ever passed to its Git‑command functions.

What to do
  • Update steveukx simple-git to version 4.1.0 or later.
  • Update steveukx @simple-git/argv-parser to version 3.0.0 or later.
Affected software
VendorProductAffected versions
steveukx simple-git < 4.1.0
steveukx @simple-git/argv-parser < 3.0.0
Original advisory text
simple-git before 4.1.0 Argument Injection via --exec Option in ls-remote
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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker full control (estimated)
Severity
9.2 Critical
Exploitation
1% chance of attack within 30 days
Type
CWE-88Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Timeline
Published22 Nov 2026
Updated3 Dec 2026
First seen22 Nov 2026
Sources
CVE-2026-134815 · MITRE
Track software like this
Free during beta