AploSec / Disclosures / CVE-2026-134815
simple-git before 4.1.0 Argument Injection via --exec Option in ls-remote
CVE-2026-134815 · published 2026-11-22
Summary
CVE-2026-134815 affects simple-git (npm) < 4.1.0: Argument Injection via --exec Option in ls-remote (CWE-88). Fixed in 4.1.0. CVSS 4.0 base score 9.2 (Critical), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade simple-git to 4.1.0 or later. Releases in the affected range (< 4.1.0) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-11-22 CVE published
References
- Releasehttps://github.com/steveukx/git-js/releases/tag/simple-git%404.1.0
- Releasehttps://github.com/steveukx/git-js/releases/tag/%40simple-git%2Fargv-parser%403.0.0
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/simple-git-before-4.1.0-argument-injection-via-exec-option-in-ls-remote
- Fix commithttps://github.com/steveukx/git-js/commit/c8ee6bb4dd0c1259af31da821dc68d74ff5d6f10
- Vulnerable codehttps://github.com/steveukx/git-js/blob/simple-git%404.0.2/packages/argv-parser/src/vulnerabilities/detect-vulnerable-flags.ts#L71
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134815
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134815
- Severity
- Critical 9.2CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- simple-git
- Ecosystem
- npm
- Affected
- < 4.1.0
- Fixed
- 4.1.0
- Weakness
- CWE-88
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder