{"id":"CVE-2026-6951","title":"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 e…","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](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221) that blocks the -c option but not the e…","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-94","CWE-88"],"vendor":"simple-git_project","product":"simple-git","affected":["simple-git >= 3.15.0, < 3.36.0"],"patched":["simple-git 3.36.0"],"published":"2026-04-25","updated":"2026-06-29","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-6951","references":[{"url":"https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6","label":"report@snyk.io"},{"url":"https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8","label":"report@snyk.io"},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211","label":"report@snyk.io"},{"url":"https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078","label":"report@snyk.io"},{"url":"https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6951.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-6951"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2461750"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-6951"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6951"}],"tags":["nvd","csaf","vex","red-hat","cve.org","exploit-available"],"epss":0.00877,"epssPercentile":0.57007,"ingestedAt":"2026-06-29T21:48:47.444Z","scores":{"nvd":9.8,"vendor":8.8,"cna":9.8},"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-25T10:50:10.217564Z"},"slug":"CVE-2026-6951","body":"## Overview\n\nVersions 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.\n\n## Affected\n\n- `simple-git >= 3.15.0, < 3.36.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `simple-git 3.36.0`\n\n## Vendor advisories\n\n- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 8 · no fix planned: Red Hat Enterprise Linux 8 · updated 2026-09-12 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6951.json)","depth":"abyssal","depthScore":66,"depthScoreParts":{"impact":53.9,"likelihood":0.2,"exploitation":12,"ransomware":0},"changes":[{"seq":201875,"id":"CVE-2026-6951","ts":1789399962727,"field":"exploit_available","old":"false","new":"true"},{"seq":200605,"id":"CVE-2026-6951","ts":1789397477972,"field":"exploit_available","old":"true","new":"false"},{"seq":198521,"id":"CVE-2026-6951","ts":1789392058059,"field":"exploit_available","old":"false","new":"true"}]}