Vulnerability Description
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](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221) 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Simple-Git Project | Simple-Git | >= 3.15.0, < 3.36.0 |
Related Weaknesses (CWE)
References
- https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6ExploitThird Party Advisory
- https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746Patch
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078ExploitThird Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078ExploitThird Party Advisory
FAQ
What is CVE-2026-6951?
CVE-2026-6951 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221) th...
How severe is CVE-2026-6951?
CVE-2026-6951 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-6951?
Check the references section above for vendor advisories and patch information. Affected products include: Simple-Git Project Simple-Git.