{"id":"CVE-2025-59343","aliases":["GHSA-vj76-c3g6-qr5v"],"url":"https://o3.security/vulnerability/CVE-2025-59343","summary":"tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball","details":"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.","published":"2025-09-24T17:43:34.728Z","modified":"2026-07-15T01:49:12.388603020Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"tar-fs","fixedVersion":"3.1.1"},{"ecosystem":"npm","name":"tar-fs","fixedVersion":"2.1.4"},{"ecosystem":"npm","name":"tar-fs","fixedVersion":"1.16.6"}],"fix":{"url":"https://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09","label":"mafintosh/tar-fs@0bd54cd"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00028.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59343.json"},{"type":"ADVISORY","url":"https://github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59343"},{"type":"FIX","url":"https://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:12.388603020Z"}}