CVE-2025-48387 — Path Traversal in Tar-fs
Severity
8.7HIGHNVD
EPSS
1.0%
top 22.95%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJun 2
Latest updateJun 10
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.
CVSS vector
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
Affected Packages5 packages
🔴Vulnerability Details
3📋Vendor Advisories
3Microsoft▶
tar-fs has issue where extract can write outside the specified dir with a specific tarball↗2025-06-10
Red Hat▶
tar-fs: tar-fs has issue where extract can write outside the specified dir with a specific tarball↗2025-06-02
Debian▶
CVE-2025-48387: node-tar-fs - tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1...↗2025