Critical severity9.8NVD Advisory· Published Apr 25, 2026· Updated May 18, 2026
CVE-2026-6951
CVE-2026-6951
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
simple-gitnpm | < 3.36.0 | 3.36.0 |
Affected products
5- cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:*Range: >=3.15.0,<3.36.0
- osv-coords3 versions
< 43.170.15-r2+ 2 more
- (no CPE)range: < 43.170.15-r2
- (no CPE)range: < 43.170.15-r2
- (no CPE)range: < 3.36.0
Patches
Vulnerability mechanics
References
5- github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8nvdPatchWEB
- gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6nvdExploitThird Party AdvisoryWEB
- security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-hffm-xvc3-vprcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-6951ghsaADVISORY
News mentions
0No linked articles in our index yet.