CVE-2026-6951
9.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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | simple-git | 0 < 3.36.0 | affected |
| n/a | org.webjars.npm:simple-git | 0 < * | affected |
Weaknesses
- CWE-94: Remote Code Execution (RCE)
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: yes
- Technical Impact: total
Additional References
simple-git: simple-git: Remote Code Execution due to incomplete fix bypass
Additional References
- 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
References
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211
- https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6
- https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.