Command injection in simple-git
Priority MEDIUM 49CWE-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.5.0 are vulnerable to Command Injection due to an incomplete fix of [CVE-2022-24433](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199) which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover.
Why it matters now
EPSS 0.03896 90th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed simple-git: 3.5.0simple-git (npm): 3.5.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.5.0 | 3.5.0 | Patch available | CNA |
| — | simple-git (npm) | before 3.5.0 | 3.5.0 | Patch available | GHSA-28xr-mwxg-3qc8 |
- simple-git Vendor— Affected before 3.5.0 Fixed in 3.5.0 Patch available CNA
- simple-git (npm) Vendor— Affected before 3.5.0 Fixed in 3.5.0 Patch available GHSA-28xr-mwxg-3qc8
Remediation
- Fix · CNA simple-git Fixed in 3.5.0
- Fix · GHSA-28xr-mwxg-3qc8 simple-git (npm) Fixed in 3.5.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24066
- 2026-10-03 Alias added: GHSA-28xr-mwxg-3qc8
- 2026-10-11 EPSS moved to the 90th–95th percentile
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-24066 · CVE Program
- CVE-2022-24066 · NVD
- FIRST EPSS
- GHSA-28xr-mwxg-3qc8 · 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