CVE-2025-48387
tar-fs provides filesystem bindings for tar-stream. Versions prior …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v
- nvd.nist.gov/vuln/detail/CVE-2025-48387
- github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f
- github.com/google/security-research/security/advisories/GHSA-xrg4-qp5w-2c3w
- lists.debian.org/debian-lts-announce/2025/06/msg00012.html
- github.com/advisories/GHSA-8cj5-5rvv-wf4v
- nvd.nist.gov/vuln/detail/CVE-2025-48387
- cve.org/CVERecord?id=CVE-2025-48387
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.