{"id":"CVE-2026-145489","summary":"tar-fs before 2.1.6 and 3.x before 3.1.4 Symlink Validation Bypass via Nested Symlinks","details":"tar-fs before 2.1.6 and 3.x before 3.1.4 contains a path traversal vulnerability that allows attackers to escape the extraction directory by chaining symlinks with '..' segments. Attackers can supply a crafted tarball where later entries traverse through earlier symlinks, creating links outside the destination to write or read files.","modified":"2026-12-05T04:01:01.422813585Z","published":"2026-12-05T02:00:17.351Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145489.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-59"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145489.json"},{"type":"PACKAGE","url":"https://github.com/mafintosh/tar-fs"},{"type":"FIX","url":"https://github.com/mafintosh/tar-fs/commit/1a39c7dcaa88d595f3d14e8c56eddc890af2cc8c"},{"type":"FIX","url":"https://github.com/mafintosh/tar-fs/commit/85e0ebb886219d7c38a5eca7bf33d21d8e3189d2"},{"type":"ADVISORY","url":"https://github.com/mafintosh/tar-fs/compare/v3.1.3...v3.1.4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145489"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/tar-fs-before-2.1.6-and-3-x-before-3.1.4-symlink-validation-bypass-via-nested-symlinks"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mafintosh/tar-fs","events":[{"introduced":"0"},{"fixed":"384309b5ad5f17fe4863763e32530cbd76ccf2e6"},{"introduced":"6d66143dc5e40480dd6135a4453f6da26a5602e0"},{"fixed":"191ec0b8b6b64972800416bc717cad1a5cc57422"},{"fixed":"1a39c7dcaa88d595f3d14e8c56eddc890af2cc8c"},{"fixed":"85e0ebb886219d7c38a5eca7bf33d21d8e3189d2"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"2.1.6"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"3.0.0"},{"fixed":"3.1.4"}]},{"range":[{"fixed":"1a39c7dcaa88d595f3d14e8c56eddc890af2cc8c"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"85e0ebb886219d7c38a5eca7bf33d21d8e3189d2"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v2.1.5","v3.1.3","v2.1.4","v3.1.2","v3.1.1","v2.1.3","v3.1.0","v3.0.10","v3.0.9","v2.1.2","v3.0.8","v3.0.7","v1.16.3","v2.1.1","v3.0.6","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.1.0","v2.0.1","v2.0.0","v1.16.2","v1.16.1","v1.16.0","v1.15.3","v1.15.2","v1.15.1","v1.15.0","v1.14.0","v1.13.2","v1.13.1","v1.13.0","v1.12.0","v1.11.1","v1.11.0","v1.10.0","v1.9.0","v1.8.1","v1.8.0","v1.7.0","v1.6.0","v1.5.1","v1.5.0","v1.4.2","v1.4.1","v1.4.0","v1.3.0","v1.2.0","v1.1.0","v1.0.0","v0.5.2","v0.5.1","v0.5.0","v0.4.1","v0.4.0","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.2","v0.2.1","v0.2.0","v0.1.8","v0.1.7","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145489.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}