CVE-2025-48387
High
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.
SeverityHigh
CVSS8.7
Exploit probability—
ProductTar-fs
PublishedJun 2, 2025
First seenJun 2, 2025
Weakness typeCWE-22Path traversal
How to fix
Update
- tar-fs1.16.5, 2.1.3, 3.0.9 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tar-fsnpm | v < 1.16.5, 2.0.0 ≤ v < 2.1.3, 3.0.0 ≤ v < 3.0.9 | 1.16.5, 2.1.3, 3.0.9 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.