CVE-2020-8298Fs-path Project Fs-path
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Fs-path Project · Fs-path Project Fs-path We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 9.8
- EPSS
- 12.3% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Mar 4, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Fs-path.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | fs-path |
< 0.0.25 |
0.0.25 |
npm install fs-path@0.0.25 |
Per OSV / GitHub Advisories (GHSA-8mrf-64fw-2x75). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fs-path_project | fs-path | < 0.0.25 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Patch Third Party Advisory
- hackerone.com Exploit Issue Tracking Patch