Path Traversal in Mafintosh Tar-Fs
CVE-2025-48387
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.005 (40.1th percentile) — read the EPSS interpretation.
Affected products
- Mafintosh Tar-fs — versions < 1.16.5, >= 2.0.0, < 2.1.3, >= 3.0.0, < 3.0.9
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2025-48387?
- CVE-2025-48387 is a vulnerability in Mafintosh Tar-Fs, classified under Path Traversal. Published 2025-06-02.
- Is CVE-2025-48387 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.