What’s Vulnerable › Vulnerabilities
CVE-2020-8298
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 11.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-03-04 · updated 2026-06-17
- Weakness: CWE-77
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.
Affected products
- fs-path: before 0.0.25 — fixed in 0.0.25
How to fix
Upgrade to a fixed version: fs-path 0.0.25. Check the vendor advisory for mitigations.
References
- https://github.com/pillys/fs-path/commit/88ff5ee51046bb2c5d5e9c5afe6819b032092ce7
- https://github.com/pillys/fs-path/pull/6
- https://hackerone.com/reports/324491
- https://github.com/pillys/fs-path/commit/88ff5ee51046bb2c5d5e9c5afe6819b032092ce7
- https://github.com/pillys/fs-path/pull/6
- https://hackerone.com/reports/324491
Get alerted when CVE-2020-8298 or the next vulnerability affects your stack