CVE-2025-59343

HIGH

NPM Tar-fs < 3.1.1 - Path Traversal

Title source: rule
STIX 2.1

Description

tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.1.1, 2.1.3, and 1.16.5 are vulnerable to symlink validation bypass if the destination directory is predictable with a specific tarball. This issue has been patched in version 3.1.1, 2.1.4, and 1.16.6. A workaround involves using the ignore option on non files/directories.

Scores

CVSS v4 8.7
EPSS 0.0003
EPSS Percentile 8.6%
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-22 CWE-61
Status published
Products (4)
mafintosh/tar-fs < 1.16.5
mafintosh/tar-fs >= 2.0.0, < 2.1.3
mafintosh/tar-fs >= 3.0.0, < 3.1.1
npm/tar-fs 3.0.0 - 3.1.1npm
Published Sep 24, 2025
Tracked Since Feb 18, 2026