simple-git is vulnerable to Remote Code Execution
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-6951US | — | Exploit | ||
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-S… | ||||
02
references
External citations — patches, advisories, analysis.
- https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6WEB
- https://github.com/steveukx/git-jsPACKAGE
- https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-6951ADVISORY
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan