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

State
Published
Severity
9.2 Critical
Published
Nov 22, 2026
Updated
Nov 22, 2026
Reserved
Nov 22, 2026

Read the record on cve.org

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.

ProductVersions
simple-git steveukxbefore 4.1.0 Affected
@simple-git/argv-parser steveukxbefore 3.0.0 Affected

Weaknesses

  • CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.