{"id":"CVE-2020-8298","aliases":["CVE-2020-8298","GHSA-8mrf-64fw-2x75"],"related":[],"kind":"vulnerability","state":"published","title":"Command injection in fs-path","summary":"fs-path node module before 0.0.25 is vulnerable to command injection by way of user-supplied inputs via the `copy`, `copySync`, `remove`, and `removeSync` methods.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"fs-path node module before 0.0.25 is vulnerable to command injection by way of user-supplied inputs via the `copy`, `copySync`, `remove`, and `removeSync` methods.","source":"cvelist"},{"lang":"es","text":"El módulo de nodo fs-path versión anterior a 0.0.25, es vulnerable a la inyección de comandos mediante entradas suministradas por el usuario por medio de los métodos \"copy\", \"copySync\", \"remove\" y \"removeSync\"","source":"nvd"}],"published":"2021-03-04T19:09:22.000Z","modified":"2026-06-17T03:26:14.757Z","severity":{"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"},"severities":[{"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"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","score":10,"rating":"HIGH"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"version":"Fixed in 0.0.25","status":"affected"}],"product":"fs-path","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.25"}],"ecosystem":"npm","package":"fs-path","purl":"pkg:npm/fs-path","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.0.25"}],"vendor":"fs-path_project","product":"fs-path","cpe":"cpe:2.3:a:fs-path_project:fs-path:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://hackerone.com/reports/324491","tags":["exploit","issue-tracking","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pillys/fs-path/pull/6","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pillys/fs-path/commit/88ff5ee51046bb2c5d5e9c5afe6819b032092ce7","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8298","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"hackerone","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-8298","url":"https://www.cve.org/CVERecord?id=CVE-2020-8298","licence":"CVE Terms of Use","modified":"2024-08-04T09:56:28.345Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8mrf-64fw-2x75","url":"https://github.com/advisories/GHSA-8mrf-64fw-2x75","licence":"CC-BY-4.0","modified":"2023-11-08T04:04:16.444Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-8298","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8298","licence":"Public domain","modified":"2026-06-17T03:26:14.757Z"}],"updatedAt":"2026-11-25T22:57:57.533Z","epss":{"score":0.12294,"percentile":0.9628,"date":"2026-12-01T12:00:22.000Z"}}