CVE-2026-6951: simple-git is vulnerable to Remote Code Execution
Versions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incomplete fix for CVE-2022-25912 that blocks the -c option but not the equivalent --config form. If untrusted input can reach the options argument passed to simple-git, an attacker may still achieve remote code execution by enabling protocol.ext.allow=always and using an ext:: clone source.
Published Apr 25, 2026 · Updated May 5, 2026
Affected packages
simple-git
- Ecosystem
- npm
- Affected
- < 3.36.0
- Fixed in
- 3.36.0
- Check
npm ls simple-git
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Versions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incomplete fix for CVE-2022-25912 that blocks the -c option but not the equivalent --config form. If untrusted input can reach the options argument passed to simple-git, an attacker may still achieve remote code execution by enabling protocol.ext.allow=always and using an ext:: clone source.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-102826
simple-git allows command execution through unblocked Git configuration includes
high8.1Oct 5, 2026CVE-2026-102827
simple-git: unsafe-operations plugin bypass via git long-option abbreviation (--receive-p/--exe) -> command execution (residual of CVE-2026-28291)
high8.1Oct 5, 2026CVE-2026-102828
simple-git unsafe-operation guard does not block trailer command configuration
critical9.2Oct 5, 2026CVE-2026-28291
simple-git Affected by Command Execution via Option-Parsing Bypass
high8.1Apr 13, 2026CVE-2026-28292
simple-git has blockUnsafeOperationsPlugin bypass via case-insensitive protocol.allow config key enables RCE
critical9.8Mar 10, 2026
