CVE-2026-6951
Versions of the package simple-git before 3.36.0 are vulnerable to …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6
- github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8
- security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078
- nvd.nist.gov/vuln/detail/CVE-2026-6951
- github.com/advisories/GHSA-hffm-xvc3-vprc
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211
- access.redhat.com/security/cve/CVE-2026-6951
- bugzilla.redhat.com/show_bug.cgi?id=2461750
- nvd.nist.gov/vuln/detail/CVE-2026-6951
- cve.org/CVERecord?id=CVE-2026-6951
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.