CVE-2026-6951
9.8 CRITICALVersions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incomplete fix for [CVE-2022-259...
Published: 2026-04-25 · Last updated: 2026-05-18
Severity and scoring
- CVSS
- 9.8 CRITICAL
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CWE
- CWE-94
Affected products
| Vendor | Product |
|---|---|
| simple-git_project | simple-git |
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](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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-6951
- [Exploit reference]https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6
- [Patch]https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8
- [Exploit reference]https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078
- [Exploit reference]https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078
Related CVEs
Same CWE
- CVE-2026-52860 — Vim is an open source, command line text editor
- CVE-2026-52858 — Vim is an open source, command line text editor
- CVE-2026-47167 — Vim is an open source, command line text editor
- CVE-2026-47162 — Vim is an open source, command line text editor
- CVE-2026-44495 — Axios is a promise based HTTP client for the browser and Node.js (7.0 HIGH)