CVE-2026-6951
simple-git is vulnerable to Remote Code Execution
Description
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 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.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » simple-gitvia npm simple-git | < 3.36.0 | 3.36.0 |
| org.webjars.npm » simple-gitvia npm simple-git | < 3.36.0 | 3.36.0 |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2026-6951 | nvd.nist.gov |
| Package | steveukx/git-js | github.com |
| Web | steveukx/git-js commit 89a2294 | github.com |
| Web | KKC73/02d1d97f3410756095b501fda0ac8ca6 | gist.github.com |
| Web | vuln/SNYK-JS-SIMPLEGIT-15456078 | security.snyk.io |
