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.
Metrics
CVSS 3.1 8.1/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| steveukx | simple-git | < 4.1.0 |
| steveukx | @simple-git/argv-parser | < 3.0.0 |
References
- https://github.com/steveukx/git-js/blob/simple-git%404.0.2/packages/argv-parser/src/vulnerabilities/detect-vulnerable-flags.ts#L71
- https://github.com/steveukx/git-js/commit/c8ee6bb4dd0c1259af31da821dc68d74ff5d6f10
- https://github.com/steveukx/git-js/releases/tag/%40simple-git%2Fargv-parser%403.0.0
- https://github.com/steveukx/git-js/releases/tag/simple-git%404.1.0
- https://www.vulncheck.com/advisories/simple-git-before-4.1.0-argument-injection-via-exec-option-in-ls-remote
Timeline
- Published
- Nov 22, 2026
- Last modified
- Nov 24, 2026
- NVD status
- Awaiting Analysis