Command injection in simple-git
Priority MEDIUM 48CWE-88Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-88.
Summary
The package simple-git before 3.3.0 are vulnerable to Command Injection via argument injection. When calling the .fetch(remote, branch, handlerFn) function, both the remote and branch parameters are passed to the git fetch subcommand. By injecting some git options it was possible to get arbitrary command execution.
Why it matters now
EPSS 0.03707 89th percentileScored 2026-11-07
Fix Fixed simple-git: 3.3.0simple-git (npm): 3.3.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | simple-git | before 3.3.0 | 3.3.0 | Patch available | CNA |
| — | simple-git (npm) | before 3.3.0 | 3.3.0 | Patch available | GHSA-3f95-r44v-8mrg |
- simple-git Vendor— Affected before 3.3.0 Fixed in 3.3.0 Patch available CNA
- simple-git (npm) Vendor— Affected before 3.3.0 Fixed in 3.3.0 Patch available GHSA-3f95-r44v-8mrg
Remediation
- Fix · CNA simple-git Fixed in 3.3.0
- Fix · GHSA-3f95-r44v-8mrg simple-git (npm) Fixed in 3.3.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24433
- 2026-10-03 Alias added: GHSA-3f95-r44v-8mrg
References
More steveukx Simple-git vulnerabilities
- TI-2026-22598 simple-git has blockUnsafeOperationsPlugin bypass via case-insensitive protocol.allow config key that enables RCE CVSS 3.1CRITICAL 9.8
- TI-2022-09464 Remote code execution (RCE) in simple-git CVSS 3.1CRITICAL 9.8
- TI-2026-06084 Code injection in simple-git CVSS 4.0CRITICAL 9.2
- TI-2022-09425 Code injection in simple-git CVSS 3.1CRITICAL 9.8
- TI-2026-65515 simple-git allows command execution through unblocked Git configuration includes CVSS 3.1HIGH 8.1
- TI-2026-22597 simple-git has Command Execution via Option-Parsing Bypass CVSS 3.1HIGH 8.1
Sources
- CVE-2022-24433 · CVE Program
- CVE-2022-24433 · NVD
- FIRST EPSS
- GHSA-3f95-r44v-8mrg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences