What’s Vulnerable › Vulnerabilities
CVE-2025-48387: tar-fs has issue where extract can write outside the specified dir with a specific tarball
- Severity: high (CVSS 8.7 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-02 · updated 2026-06-17
- Weakness: CWE-22
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.
Affected products
- mafintosh tar-fs: before 1.16.5; from 2.0.0, < 2.1.3; from 3.0.0, < 3.0.9
References
- https://github.com/google/security-research/security/advisories/GHSA-xrg4-qp5w-2c3w
- https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f
- https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v
- https://lists.debian.org/debian-lts-announce/2025/06/msg00012.html
Get alerted when CVE-2025-48387 or the next vulnerability affects your stack