{"id":"CVE-2020-8298","aliases":["EUVD-2021-0634","GHSA-8mrf-64fw-2x75"],"status":"published","title":"Command injection in fs-path","description":"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.","severity":{"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","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.11168,"percentile":0.95983,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77"],"published":"2021-03-04T19:09:22Z","modified":"2026-06-17T03:26:14Z","fixes":[{"ecosystem":"npm","package":"fs-path","fixed_in":["0.0.25"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"fs-path","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.25"}]}]},{"source":"osv","ecosystem":"npm","package":"fs-path","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.25"}]}]}],"products":[{"vendor":"fs-path_project","product":"fs-path"}],"references":[{"url":"https://hackerone.com/reports/324491","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web"]},{"url":"https://github.com/pillys/fs-path/pull/6","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/pillys/fs-path/commit/88ff5ee51046bb2c5d5e9c5afe6819b032092ce7","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8298","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-8mrf-64fw-2x75"}],"sources":{"cve":[{"id":"CVE-2020-8298","description":"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.","status":"published","published":"2021-03-04T19:09:22Z","modified":"2024-08-04T09:56:28.345Z","cwes":["CWE-77"],"updated_at":"2026-11-02T14:35:50.88562Z"}],"euvd":[{"id":"EUVD-2021-0634","description":"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.","status":"published","published":"2021-03-04T19:09:22Z","modified":"2024-08-04T09:56:28Z","updated_at":"2026-11-03T03:07:57.14802Z"}],"ghsa":[{"id":"GHSA-8mrf-64fw-2x75","title":"Command injection in fs-path","description":"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.","status":"published","published":"2021-03-25T21:06:41Z","modified":"2023-02-01T05:05:12Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:32.918681Z"}],"nvd":[{"id":"CVE-2020-8298","description":"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.","status":"published","published":"2021-03-04T20:15:13.8Z","modified":"2026-06-17T03:26:14.757Z","cvss":[{"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","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:06:37.687844Z"}],"osv":[{"id":"GHSA-8mrf-64fw-2x75","title":"Command injection in fs-path","description":"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.","status":"published","published":"2021-03-25T21:06:41Z","modified":"2023-11-08T04:04:16.444879Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:42.437513Z"}]}}
