Threat Feed

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

Exploitation: None known · CVSS 9.2 Critical · Unauthenticated · Published 2026-11-22

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.

Fix

Upgrade simple-git to 4.1.0; @simple-git/argv-parser to 3.0.0.

Vendor advisory

Affected versions

ProductVulnerableFixed in
simple-git0 before 4.1.04.1.0
@simple-git/argv-parser0 before 3.0.03.0.0

Seen in 2 sources