# CVE-2025-59343: tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball

> CVE-2025-59343: tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball. CVSS 8.7 (CVSS 4.0).

Canonical: https://rewindex.com/cve/CVE-2025-59343
Last updated: 2026-06-17T09:45:56Z

- Published: 2025-09-24 17:43 UTC · Updated: 2026-06-17 09:45 UTC · Assigner: GitHub\_M
- CVSS: 8.7 (CVSS 4.0) · Severity: High
- EPSS: 0.55%, 46th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-22, CWE-61

## 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 vendors and products

- mafintosh: tar-fs

## Tracked companies

- [Confluence](https://rewindex.com/company/confluence.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-59343)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-59343)
- [https://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09](https://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09)
- [https://github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v](https://github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-59343 · Markdown: https://rewindex.com/cve/CVE-2025-59343.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-59343 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:15:36.568Z
