CVE-2026-6951: Versions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incom
CVE-2026-6951 is a critical-severity flaw (CVSS 9.8) affecting simple-git. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 s
Why this priority
- Critical severity
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-07-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: EQSTLab/CVE-2026-6951 (2 stars)
- Write-up: gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6
- Write-up: security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211
- Write-up: security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-6951?
simple-git: upgrade to 3.36.0. Exact commands for each OS are on this page.
Is CVE-2026-6951 being exploited?
CVE-2026-6951 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-6951 affect?
CVE-2026-6951 affects simple-git. Severity is critical (CVSS 9.8). 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 equi
How urgent is CVE-2026-6951?
Priority 62/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-28291 HIGH 8.1 UPGRADE simple-git enables running native Git commands from JavaScript
- CVE-2026-102826 HIGH 8.1 UPGRADE simple-git, an interface for running git commands in any node.js application, enables applications to execute
- CVE-2026-102827 HIGH 8.1 UPGRADE simple-git, an interface for running git commands in any node.js application, enables applications to execute
- CVE-2026-102828 CRITICAL 9.8 UPGRADE simple-git, an interface for running git commands in any node.js application, enables applications to execute