What’s Vulnerable › Vulnerabilities
CVE-2025-59343: tar-fs has a symlink validation bypass if destination directory is predictable 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-09-24 · updated 2026-06-17
- Weakness: CWE-22
Description
tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.1.1, 2.1.3, and 1.16.5 are vulnerable to symlink validation bypass if the destination directory is predictable with a specific tarball. This issue has been patched in version 3.1.1, 2.1.4, and 1.16.6. A workaround involves using the ignore option on non files/directories.
Affected products
- mafintosh tar-fs: from 3.0.0, < 3.1.1; from 2.0.0, < 2.1.3; before 1.16.5
References
- https://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09
- https://github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v
- https://lists.debian.org/debian-lts-announce/2025/09/msg00028.html
Get alerted when CVE-2025-59343 or the next vulnerability affects your stack