CVE-2026-134815
simple-git before 4.1.0 Argument Injection via --exec Option in ls-remote
Critical · 9.2Fix available
- CVSS
- 9.2
- EPSS
- 0.74% (p51)
- Published
- 2026-11-22
- Age
- 7d old
- Modified
- 2026-11-24
- Product
- steveukx simple-git
- Aliases
- EUVD-2026-132848
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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.
Fixed in
3.0.0 · 4.1.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | @simple-git/argv-parser | >=0, <3.0.0 | 3.0.0 |
| vendor | simple-git | >=0, <4.1.0 | 4.1.0 |
Sources
- NVD · first seen 7d ago · NVD terms of use
- OSV · first seen 7d ago · CC-BY 4.0
- ENISA EUVD · first seen 7d ago · ENISA
- CVE List · first seen 7d ago · CVE Terms of Use
References
- https://github.com/steveukx/git-js/commit/c8ee6bb4dd0c1259af31da821dc68d74ff5d6f10 patch
- https://github.com/steveukx/git-js/releases/tag/simple-git%404.1.0 release-notes
- https://github.com/steveukx/git-js/releases/tag/%40simple-git%2Fargv-parser%403.0.0 release-notes
- https://github.com/steveukx/git-js/blob/simple-git%404.0.2/packages/argv-parser/src/vulnerabilities/detect-vulnerable-flags.ts#L71 technical-description
- https://www.vulncheck.com/advisories/simple-git-before-4.1.0-argument-injection-via-exec-option-in-ls-remote third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134815.json advisory
- https://github.com/steveukx/git-js package
- https://nvd.nist.gov/vuln/detail/CVE-2026-134815 advisory