CVE-2020-8298
CRITICAL 9.8CVSS 3.1Command injection in fs-path
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.
- Published
- 4 Mar 2021
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- GHSA-8mrf-64fw-2x75
- Sources
- NVDJSONOSV GHSA-8mrf-64fw-2x75JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fs-path_project | fs-pathcpe:2.3:a:fs-path_project:fs-path:*:*:*:*:*:node.js:*:* |
< 0.0.25 | 0.0.25 |
| OSV | npm | fs-path | < 0.0.25 | 0.0.25 |
References
- https://github.com/pillys/fs-path/commit/88ff5ee51046bb2c5d5e9c5afe6819b032092ce7 · Patch, Third Party Advisory, WEB
- https://github.com/pillys/fs-path/pull/6 · Exploit, Patch, Third Party Advisory, WEB
- https://hackerone.com/reports/324491 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-8298 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 4 Mar 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 25 Mar 2021)