CISA list

● npm package

tar-fs

Tar-fs has four security advisories. The newest release any of them names as the fix is 3.1.1.

As of , tar-fs has four security advisories. The newest release any of them names as the fix is 3.1.1.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 3.0.0 before 3.1.13.1.13 advisories
From 2.0.0 before 2.1.42.1.43 advisories
Before 1.16.61.16.64 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2025-59343GHSA-vj76-c3g6-qr5vtar-fs has a symlink validation bypass if destination directory is predictable with a specific tarballHigh severityFrom 3.0.0 before 3.1.1; From 2.0.0 before 2.1.4; Before 1.16.61.16.6, 2.1.4, 3.1.1
CVE-2025-48387GHSA-8cj5-5rvv-wf4vtar-fs can extract outside the specified dir with a specific tarballHigh severityFrom 3.0.0 before 3.0.9; From 2.0.0 before 2.1.3; Before 1.16.51.16.5, 2.1.3, 3.0.9
CVE-2024-12905GHSA-pq67-2wwv-3xjxtar-fs Vulnerable to Link Following and Path Traversal via Extracting a Crafted tar FileHigh severityFrom 3.0.0 before 3.0.7; From 2.0.0 before 2.1.2; Before 1.16.41.16.4, 2.1.2, 3.0.7
CVE-2018-20835GHSA-x2mc-8fgj-3wmrImproper Input Validation in tar-fsHigh severityBefore 1.16.21.16.2

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0