{"id":"CVE-2026-6951","published":"2026-04-25T05:00:05Z","modified":"2026-09-14T12:04:28Z","title":"Versions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incomplete…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00877,"percentile":0.58899,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211","tags":[]},{"url":"https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6","tags":[]},{"url":"https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-6951","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2461750","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6951.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":23.6,"factors":[{"name":"EPSS percentile","points":11.78},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-09-28","earliestUrl":"https://github.com/EQSTLab/CVE-2026-6951","repos":[{"name":"EQSTLab/CVE-2026-6951","url":"https://github.com/EQSTLab/CVE-2026-6951","stars":2,"created":"2026-09-28"}]},"first":{"date":"2026-09-28","source":"PoC-in-GitHub","url":"https://github.com/EQSTLab/CVE-2026-6951"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"simple-git","versions":["< 3.36.0"]},{"vendor":"n/a","product":"org.webjars.npm:simple-git","versions":["all versions"]}],"affected":[{"ecosystem":"npm","package":"simple-git","vulnerableRanges":["<3.36.0"],"patched":["3.36.0"],"from":["GHSA-hffm-xvc3-vprc"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-25639","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-steveukx-simple-git-cve-2022-24433","parents":[{"from":"CVE-2022-25912","to":"CVE-2026-6951","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"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.","from":"CVE.org","in":"CVE-2026-6951"}]}],"packageHistory":[{"cve":"CVE-2022-25860","published":"2023-01-24","fixed":"3.16.0","kev":false},{"cve":"CVE-2026-28291","published":"2026-04-13","fixed":"3.32.0","kev":false},{"cve":"CVE-2026-28292","published":"2026-03-10","fixed":"3.32.3","kev":false,"link":{"from":"CVE-2026-28292","to":"CVE-2026-6951","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:simple-git","fromFixed":"3.32.3","toFixed":"3.36.0","daysApart":46}]}},{"cve":"CVE-2026-6951","published":"2026-04-25","fixed":"3.36.0","kev":false},{"cve":"CVE-2026-102826","published":"2026-09-29","fixed":"4.0.0","kev":false},{"cve":"CVE-2026-102827","published":"2026-09-29","fixed":"4.0.0","kev":false},{"cve":"CVE-2026-102828","published":"2026-09-29","fixed":"4.0.1","kev":false}],"package":"npm:simple-git"}}