CVE-2026-134815 simple-git before 4.1.0 Argument Injection via --exec Option in ls-remote

Published Updated

Attackers influencing arguments to simple-git listRemote or raw can inject --exec to run commands on the host, bypassing allowUnsafePack.

CVSS score

Critical

9.2/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
3 on GitHub, unverified
Fix
Available
4.1.0
Attack path
Over the internet
No login, no user action

What is CVE-2026-134815?

CVE-2026-134815 is a critical command injection vulnerability in steveukx @simple-git/argv-parser, published on 22 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-88

How severe is CVE-2026-134815?

CVE-2026-134815 scores 9.2 out of 10 under CVSS 4.0, which is critical severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High

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

Which versions are affected by CVE-2026-134815?

2 open source packages ship an affected version, including simple-git and %40simple-git/argv-parser.

An affected version is only exploitable if your software calls listRemote or raw. Many projects that include it are not exposed.

PackageAffectedFixed in
simple-git npm
pkg:npm/simple-git
All versions4.1.0
%40simple-git/argv-parser npm
pkg:npm/%40simple-git/argv-parser
All versions3.0.0

How do I fix CVE-2026-134815?

Upgrade simple-git to 4.1.0 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-134815 being exploited?

There is no known exploitation of CVE-2026-134815 in the wild and no public exploit code.

Public exploit code: 3 proofs of concept on GitHub.

Sources

Also known as GHSA-24pq-g7mp-w876.

Is CVE-2026-134815 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free