{"id":"CVE-2026-145489","aliases":["EUVD-2026-145101","GHSA-pch6-x565-qvw7"],"status":"published","title":"tar-fs before 2.1.6 and 3.x before 3.1.4 Symlink Validation Bypass via Nested Symlinks","description":"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.","severity":{"version":"4.0","score":7.1,"vector":"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","level":"high","assessor":"cna","from":"cve","others":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},{"version":"4.0","score":7.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","from":"ghsa"}]},"buzz":{"score":1,"authors":2},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-59"],"published":"2026-12-05T02:00:17Z","modified":"2026-12-05T04:01:01Z","products":[{"vendor":"mafintosh","product":"tar-fs"}],"references":[{"url":"https://github.com/mafintosh/tar-fs/commit/1a39c7dcaa88d595f3d14e8c56eddc890af2cc8c","tags":["patch","fix"]},{"url":"https://github.com/mafintosh/tar-fs/commit/85e0ebb886219d7c38a5eca7bf33d21d8e3189d2","tags":["patch","fix"]},{"url":"https://github.com/mafintosh/tar-fs/compare/v3.1.3...v3.1.4","tags":["release-notes","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","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145489","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pch6-x565-qvw7"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145489.json","tags":["advisory"]},{"url":"https://github.com/mafintosh/tar-fs","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-145489","title":"tar-fs before 2.1.6 and 3.x before 3.1.4 Symlink Validation Bypass via Nested Symlinks","description":"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.","status":"published","published":"2026-12-05T02:00:17.351Z","modified":"2026-12-05T02:00:17.351Z","cvss":[{"version":"4.0","score":7.1,"vector":"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","level":"high","assessor":"cna"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-59"],"updated_at":"2026-12-05T02:07:01.654317Z"}],"euvd":[{"id":"EUVD-2026-145101","description":"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.","status":"published","published":"2026-12-05T02:00:17Z","modified":"2026-12-05T02:00:17Z","cvss":[{"version":"4.0","score":7.1,"vector":"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","level":"high"}],"updated_at":"2026-12-05T03:44:21.912352Z"}],"ghsa":[{"id":"GHSA-pch6-x565-qvw7","title":"tar-fs before 2.1.6 and 3.x before 3.1.4 contains a path traversal vulnerability that allows...","description":"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.","status":"published","published":"2026-12-05T03:30:30Z","modified":"2026-12-05T03:30:38Z","cvss":[{"version":"4.0","score":7.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-59"],"updated_at":"2026-12-05T03:31:20.896926Z"}],"nvd":[{"id":"CVE-2026-145489","description":"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.","status":"published","published":"2026-12-05T03:19:59.65Z","modified":"2026-12-05T03:19:59.65Z","cvss":[{"version":"4.0","score":7.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-12-05T03:21:31.003878Z"}],"osv":[{"id":"CVE-2026-145489","title":"tar-fs before 2.1.6 and 3.x before 3.1.4 Symlink Validation Bypass via Nested Symlinks","description":"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.","status":"published","published":"2026-12-05T02:00:17.351Z","modified":"2026-12-05T04:01:01.422813585Z","cvss":[{"version":"4.0","score":7.1,"vector":"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","level":"high"}],"cwes":["CWE-59"],"updated_at":"2026-12-05T04:14:18.806243Z"}]}}
