Skip to content
Fencer Vulns
critical 9.8

CVE-2020-8298 in the critical feed json

Command injection in fs-path

published 2021-03-04 5 y ago modified 2026-06-17 4 mo ago also GHSA-8mrf-64fw-2x75 , EUVD-2021-0634

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
11.2%
EPSS 11.2% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

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.

Patch / fix

  • npm fs-path 0.0.25
  • fs-path_project fs-path 0.0.25

Exploit prediction

11.17% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/pillys/fs-path/pull/6 referenced PoC, tagged "exploit" by a source, unverified
  • hackerone.com https://hackerone.com/reports/324491 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm fs-path
<0.0.25
0.0.25

Affected products

  • n/a fs-path

Classification

Weakness
  • CWE-77 Improper Neutralization of Special Elements used in a Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.