CVE-2026-6951
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-25912](https://security.s…
Vendor / product: Simple-git Project — simple-git
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Affected products
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
References
- https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6 report@snyk.io
- https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8 report@snyk.io
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211 report@snyk.io
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078 report@snyk.io
- https://access.redhat.com/security/cve/CVE-2026-6951 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://bugzilla.redhat.com/show_bug.cgi?id=2461750 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6951.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078 134c704f-9b21-4f2e-91b3-4a467353bcc0

