RCE in Simple-Git Project
CVE-2026-6951
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.009, 59.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Simple-Git Project
- Org.webjars.npm:simple-Git — versions 0
- Simple-Git — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- EQSTLab/CVE-2026-6951 (3 stars, last pushed 2026-09-29): simple-git RCE
References
- security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078 (Exploit, Third Party Advisory)
- gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6 (Exploit, Third Party Advisory)
- github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8 (Patch)
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211
- access.redhat.com/security/cve/CVE-2026-6951
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6951.json
This CVE has public exploit evidence. See the latest CVEs with public exploits.