Code injection in simple-git
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-94.
Summary
Versions of the package simple-git before 3.16.0 are vulnerable to Remote Code Execution (RCE) via the clone(), pull(), push() and listRemote() methods, due to improper input sanitization. This vulnerability exists due to an incomplete fix of [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | simple-git | before 3.16.0 | 3.16.0 | Patch available | CNA |
| — | simple-git (npm) | before 3.16.0 | 3.16.0 | Patch available | GHSA-9w5j-4mwv-2wj8 |
- simple-git Vendor— Affected before 3.16.0 Fixed in 3.16.0 Patch available CNA
- simple-git (npm) Vendor— Affected before 3.16.0 Fixed in 3.16.0 Patch available GHSA-9w5j-4mwv-2wj8
Remediation
- Fix · CNA simple-git Fixed in 3.16.0
- Fix · GHSA-9w5j-4mwv-2wj8 simple-git (npm) Fixed in 3.16.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-25860
- 2026-10-03 Alias added: GHSA-9w5j-4mwv-2wj8
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-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
- TI-2022-08024 Command injection in simple-git CVSS 3.1CRITICAL 9.8
Sources
- CVE-2022-25860 · CVE Program
- CVE-2022-25860 · NVD
- FIRST EPSS
- GHSA-9w5j-4mwv-2wj8 · 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