{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-59343","id":"CVE-2025-59343","title":"tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball","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.","descriptionLong":"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","updated":"2026-10-28T02:30:36.073848715Z","reserved":"2025-09-12T12:36:24.636Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.7,"vector":"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.7,"vector":"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.7,"vector":"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/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","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"}],"rating":"high","products":["mafintosh tar-fs"],"affectedProducts":[{"vendor":"mafintosh","product":"tar-fs","defaultStatus":null,"versions":[{"version":">= 3.0.0, < 3.1.1","status":"affected"},{"version":">= 2.0.0, < 2.1.3","status":"affected"},{"version":"< 1.16.5","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[">=3.0.0 <3.1.1",">=2.0.0 <2.1.4","<1.16.6"],"fixed":["3.1.1","2.1.4","1.16.6"],"advisory":"GHSA-vj76-c3g6-qr5v"}],"cwes":["CWE-22","CWE-61"],"aliases":["GHSA-vj76-c3g6-qr5v"],"references":[{"url":"https://github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09","tags":["x_refsource_MISC","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00028.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59343.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59343","tags":["advisory"]},{"url":"https://github.com/mafintosh/tar-fs","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0058,"epssPercentile":0.48496,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-59343","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59343","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-59343","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vj76-c3g6-qr5v","ok":true,"note":"GHSA-vj76-c3g6-qr5v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-59343","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}