{"id":"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.","aliases":["GHSA-vj76-c3g6-qr5v"],"modified":"2026-04-10T05:31:59.293883Z","published":"2025-09-24T17:43:34.728Z","related":["CGA-4wv7-2923-8hcg","openSUSE-SU-2025:15582-1"],"database_specific":{"cwe_ids":["CWE-22","CWE-61"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59343.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mafintosh/tar-fs","events":[{"introduced":"6d66143dc5e40480dd6135a4453f6da26a5602e0"},{"fixed":"0aa57de79eb58a5206992c979a7fd5c4df85e07c"}],"database_specific":{"versions":[{"introduced":"3.0.0"},{"fixed":"3.1.1"}]}},{"type":"GIT","repo":"https://github.com/mafintosh/tar-fs","events":[{"introduced":"0f54a78bcc8735c4257177fd004c2f9e55c588bb"},{"fixed":"4b7e8688a54268b7c3268848504167635050aa10"}],"database_specific":{"versions":[{"introduced":"2.0.0"},{"fixed":"2.1.3"}]}},{"type":"GIT","repo":"https://github.com/mafintosh/tar-fs","events":[{"introduced":"0"},{"fixed":"3c6eddb6008d14f4ca83a439dd432263d29ecb0f"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.16.5"}]}}],"versions":["v0.1.0","v0.1.1","v0.1.2","v0.1.3","v0.1.4","v0.1.5","v0.1.7","v0.1.8","v0.2.0","v0.2.1","v0.2.2","v0.3.0","v0.3.1","v0.3.2","v0.3.3","v0.4.0","v0.4.1","v0.5.0","v0.5.1","v0.5.2","v1.0.0","v1.1.0","v1.10.0","v1.11.0","v1.11.1","v1.12.0","v1.13.0","v1.13.1","v1.13.2","v1.14.0","v1.15.0","v1.15.1","v1.15.2","v1.15.3","v1.16.0","v1.16.1","v1.16.2","v1.16.3","v1.16.4","v1.2.0","v1.3.0","v1.4.0","v1.4.1","v1.4.2","v1.5.0","v1.5.1","v1.6.0","v1.7.0","v1.8.0","v1.8.1","v1.9.0","v2.0.0","v2.0.1","v2.1.0","v2.1.1","v2.1.2","v3.0.0","v3.0.1","v3.0.10","v3.0.2","v3.0.3","v3.0.4","v3.0.5","v3.0.6","v3.0.7","v3.0.8","v3.0.9","v3.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59343.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}