Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134815: critical-severity vulnerability (CVSS 9.2) in steveukx simple-git.
What happened
Original description from the source: 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.
Why it matters
Critical severity, CVSS 9.2.
Affected products and versions
steveukx simple-git < 4.1.0; steveukx @simple-git/argv-parser < 3.0.0
| Product | Versions | Fixed in |
|---|---|---|
| steveukx simple-git | < 4.1.0 | — |
| steveukx @simple-git/argv-parser | < 3.0.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/steveukx/git-js/commit/c8ee6bb4dd0c1259af31da821dc68d74ff5d6f10 — CVE Program
- https://github.com/steveukx/git-js/releases/tag/simple-git%404.1.0 — CVE Program
- https://github.com/steveukx/git-js/releases/tag/%40simple-git%2Fargv-parser%403.0.0 — CVE Program
- https://github.com/steveukx/git-js/blob/simple-git%404.0.2/packages/argv-parser/src/vulnerabilities/detect-vulnerable-flags.ts#L71 — CVE Program
- https://www.vulncheck.com/advisories/simple-git-before-4.1.0-argument-injection-via-exec-option-in-ls-remote — CVE Program
Weaknesses (CWE): CWE-88
Relevant change history
Published
Preliminary advisory published.