Vulnerability
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.
8 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-7g94-5658-9x3q
- CGA-8pq6-3gg4-3vw5
- CGA-cr93-58mv-q3c7
- CGA-q4qc-xvrx-7j95
- CGA-wq24-rp8g-vw73
- CGA-x6g9-2qm6-9r7g
-
GHSA-hffm-xvc3-vprc
simple-git is vulnerable to Remote Code Execution
-
RHVEX-CVE-2026-6951
simple-git: simple-git: Remote Code Execution due to incomplete fix bypass
References
- https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6
- https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078
- https://access.redhat.com/security/cve/CVE-2026-6951
- https://bugzilla.redhat.com/show_bug.cgi?id=2461750
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6951.json