CVE-2026-6951
HIGH 8.2CVSS 4.0simple-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 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.
- Published
- 25 Apr 2026
- Last modified
- 11 Nov 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-88CWE-94
- Also known as
- GHSA-hffm-xvc3-vprc
- Sources
- NVDJSONOSV GHSA-hffm-xvc3-vprcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | HIGH 8.2 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | simple-git_project | simple-gitcpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:* |
>= 3.15.0, < 3.36.0 | 3.36.0 |
| OSV | npm | simple-git | < 3.36.0 | 3.36.0 |
References
- https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6 · Exploit, Third Party Advisory, WEB
- https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8 · Patch, WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078 · Exploit, Third Party Advisory, WEB
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-6951 · ADVISORY
- https://github.com/steveukx/git-js · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 25 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Apr 2026)