CVE-2025-48387

HIGH

tar-fs <3.0.9, <2.1.3, <1.16.5 - Path Traversal

Title source: llm
STIX 2.1

Description

tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.

Scores

CVSS v4 8.7
EPSS 0.0047
EPSS Percentile 37.5%
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
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.0.9
npm/tar-fs 0 - 1.16.5npm
Published Jun 02, 2025
Tracked Since Feb 18, 2026