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
| Vendor | Product | Affected 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.
References
- https://github.com/steveukx/git-js/commit/c8ee6bb4dd0c1259af31da821dc68d74ff5d6f...
- https://github.com/steveukx/git-js/releases/tag/simple-git%404.1.0
- https://github.com/steveukx/git-js/releases/tag/%40simple-git%2Fargv-parser%403....
- https://github.com/steveukx/git-js/blob/simple-git%404.0.2/packages/argv-parser/...
- https://www.vulncheck.com/advisories/simple-git-before-4.1.0-argument-injection-...
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-1348... Vendor Advisory
- https://github.com/steveukx/git-js Product
- https://nvd.nist.gov/vuln/detail/CVE-2026-134815 Vendor Advisory
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
Type
CWE-88Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Timeline
Published22 Nov 2026
Updated3 Dec 2026
First seen22 Nov 2026
Track software like this
Free during beta