{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-6951","id":"CVE-2026-6951","title":"simple-git is vulnerable to Remote Code Execution","description":"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 pr","descriptionLong":"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.","published":"2026-04-25T05:00:05.257Z","updated":"2026-11-13T02:30:47.518394609Z","reserved":"2026-04-24T07:25:39.128Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"4.0","score":9.2,"vector":"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","rating":"critical","source":"snyk"},"metrics":[{"version":"4.0","score":9.2,"vector":"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","rating":"critical","source":"snyk"},{"version":"4.0","score":8.2,"vector":"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","rating":"high","source":"snyk.io"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","rating":"critical","source":"snyk"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"snyk.io"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"redhat-SADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["simple-git","org.webjars.npm:simple-git"],"affectedProducts":[{"vendor":"n/a","product":"simple-git","defaultStatus":null,"versions":[{"version":"0","lessThan":"3.36.0","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"n/a","product":"org.webjars.npm:simple-git","defaultStatus":null,"versions":[{"version":"0","lessThan":"*","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"simple-git","purl":"pkg:npm/simple-git","ranges":["<3.36.0"],"fixed":["3.36.0"],"advisory":"GHSA-hffm-xvc3-vprc"}],"cwes":["CWE-94","CWE-88"],"aliases":["GHSA-hffm-xvc3-vprc"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078","tags":["exploit","Exploit","Third Party Advisory","web"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211","tags":["web"]},{"url":"https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8","tags":["Patch","fix","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-6951","tags":["vdb-entry","x_refsource_REDHAT","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2461750","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6951.json","tags":["x_sadp-csaf-vex","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6951.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6951","tags":["advisory"]},{"url":"https://github.com/steveukx/git-js","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00877,"epssPercentile":0.59783,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-6951","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6951","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-6951","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hffm-xvc3-vprc","ok":true,"note":"GHSA-hffm-xvc3-vprc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-6951","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}