CVE-2026-6951
Last modified
CVE-2026-6951 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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.. EPSS estimates a 1.10% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Simple-Git Project | Simple-Git | >= 3.15.0, < 3.36.0 |
References
- https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-6951?
How severe is CVE-2026-6951?
How do I fix CVE-2026-6951?
Are you affected by CVE-2026-6951?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
