{"id":"CVE-2022-25860","aliases":["CVE-2022-25860","GHSA-9w5j-4mwv-2wj8"],"related":[],"kind":"vulnerability","state":"published","title":"Remote code execution in simple-git","summary":"Versions of the package simple-git before 3.16.0 are vulnerable to Remote Code Execution (RCE) via the clone(), pull(), push() and listRemote() methods, due to improper input sanitization.\nThis vulnerability exists due to an incomplete fix of [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Versions of the package simple-git before 3.16.0 are vulnerable to Remote Code Execution (RCE) via the clone(), pull(), push() and listRemote() methods, due to improper input sanitization.\nThis vulnerability exists due to an incomplete fix of [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221).","source":"cvelist"},{"lang":"en","text":"Versions of the package simple-git before 3.16.0 are vulnerable to Remote Code Execution (RCE) via the clone(), pull(), push() and listRemote() methods, due to improper input sanitization. This vulnerability exists due to an incomplete fix of CVE-2022-25912.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones del paquete simple-git anteriores a la 3.16.0 son vulnerables a la ejecución remota de código (RCE) a través de los métodos clone(), pull(), push() y listRemote(), debido a una sanitización de entrada inadecuada. Esta vulnerabilidad existe debido a una solución incompleta de [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221).","source":"nvd"}],"published":"2023-01-24T05:00:02.399Z","modified":"2026-06-17T04:34:24.360Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-78","CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.16.0","status":"affected"}],"product":"simple-git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.16.0"}],"ecosystem":"npm","package":"simple-git","purl":"pkg:npm/simple-git","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.16.0"}],"vendor":"simple-git_project","product":"simple-git","cpe":"cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3177391","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/steveukx/git-js/pull/881/commits/95459310e5b8f96e20bb77ef1a6559036b779e13","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/steveukx/git-js/commit/ec97a39ab60b89e870c5170121cd9c1603cc1951","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25860","tags":["advisory"],"sources":["ghsa"]}],"credits":["Santos Gallegos"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-04-01T15:29:00.748Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25860","url":"https://www.cve.org/CVERecord?id=CVE-2022-25860","licence":"CVE Terms of Use","modified":"2025-04-01T15:29:18.377Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9w5j-4mwv-2wj8","url":"https://github.com/advisories/GHSA-9w5j-4mwv-2wj8","licence":"CC-BY-4.0","modified":"2025-04-01T23:03:11.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25860","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25860","licence":"Public domain","modified":"2026-06-17T04:34:24.360Z"}],"updatedAt":"2026-11-25T22:58:18.327Z","epss":{"score":0.02997,"percentile":0.8771,"date":"2026-12-01T12:00:22.000Z"}}