CVE-2026-134815: simple-git before 4.1.0 Argument Injection via --exec Option in ls-remote
Exploitation: None known · CVSS 9.2 Critical · Unauthenticated · Published 2026-11-22
Description
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
Upgrade simple-git to 4.1.0; @simple-git/argv-parser to 3.0.0.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| simple-git | 0 before 4.1.0 | 4.1.0 |
| @simple-git/argv-parser | 0 before 3.0.0 | 3.0.0 |