{"id":"CVE-2026-23745","published":"2026-01-16T22:00:08Z","modified":"2026-09-07T12:04:48Z","title":"node-tar Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization","vendor":"isaacs","product":"node-tar","tier":"tail","description":{"text":"node-tar is a Tar for Node.js. The node-tar library (<= 7.5.2) fails to sanitize the linkpath of Link (hardlink) and SymbolicLink entries when preservePaths is false (the default secure behavior). This allows malicious archives to bypass the extraction root restriction, leading to Arbitrary File Overwrite via hardlinks and Symlink Poisoning via absolute symlink targets. This vulnerability is fixed in 7.5.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00587,"percentile":0.48986,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-8qq5-rm4j-mr97","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/isaacs/node-tar/commit/340eb285b6d986e91969a1170d7fe9b0face405e","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-23745","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2430538","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23745.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:18480","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:18868","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:2900","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:41928","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:3782","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19712","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6192","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:2926","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:2144","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":20.5,"factors":[{"name":"EPSS percentile","points":9.8},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.74}]},"exploitSources":{"pocGithub":{"count":2,"skipped":1,"earliest":"2026-01-17","earliestUrl":"https://github.com/Jvr2022/CVE-2026-23745","repos":[{"name":"Jvr2022/CVE-2026-23745","url":"https://github.com/Jvr2022/CVE-2026-23745","stars":23,"created":"2026-01-17"},{"name":"OndrejDrapalik/node-tar-cve-demo","url":"https://github.com/OndrejDrapalik/node-tar-cve-demo","stars":1,"created":"2026-08-11"}]},"first":{"date":"2026-01-17","source":"PoC-in-GitHub","url":"https://github.com/Jvr2022/CVE-2026-23745"},"provenance":"source"},"vendorSlug":"isaacs","affectedVersions":[{"vendor":"isaacs","product":"node-tar","versions":["< 7.5.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-20T14:52:52.988465Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"tar","vulnerableRanges":["<7.5.3"],"patched":["7.5.3"],"from":["GHSA-8qq5-rm4j-mr97"],"provenance":"source"}],"summary":{"text":"node-tar, a Tar library for Node.js, fails to sanitize the linkpath of hardlink and symbolic link entries when preservePaths is false (its default), allowing paths to escape the extraction root in versions up to 7.5.2. An attacker who can supply a malicious archive for local extraction, with the user performing an extraction action, can overwrite arbitrary files via hardlinks or poison the filesystem with absolute symlink targets.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:44Z"},"euvd":{"id":"EUVD-2026-2909","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-isaacs-node-tar-cve-2026-23745","children":[{"from":"CVE-2026-23745","to":"CVE-2026-24842","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/unpack.ts"],"commits":["https://github.com/isaacs/node-tar/commit/340eb285b6d986e91969a1170d7fe9b0face405e","https://github.com/isaacs/node-tar/commit/f4a7aa9bc3d717c987fdf1480ff7a64e87ffdb46"],"basis":"shared function","functions":["Unpack"]}]},{"from":"CVE-2026-23745","to":"CVE-2026-26960","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/unpack.ts"],"commits":["https://github.com/isaacs/node-tar/commit/340eb285b6d986e91969a1170d7fe9b0face405e","https://github.com/isaacs/node-tar/commit/2cb1120bcefe28d7ecc719b41441ade59c52e384","https://github.com/isaacs/node-tar/commit/d18e4e1f846f4ddddc153b0f536a19c050e7499f"],"basis":"shared function","functions":["Symbol","Unpack"]}]},{"from":"CVE-2026-23745","to":"CVE-2026-29786","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/unpack.ts"],"commits":["https://github.com/isaacs/node-tar/commit/340eb285b6d986e91969a1170d7fe9b0face405e","https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f"],"basis":"shared function","functions":["Unpack"]}]},{"from":"CVE-2026-23745","to":"CVE-2026-31802","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/unpack.ts"],"commits":["https://github.com/isaacs/node-tar/commit/340eb285b6d986e91969a1170d7fe9b0face405e","https://github.com/isaacs/node-tar/commit/f48b5fa3b7985ddab96dc0f2125a4ffc9911b6ad"],"basis":"shared function","functions":["Unpack"]}]},{"from":"CVE-2026-23745","to":"CVE-2026-59871","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/unpack.ts"],"commits":["https://github.com/isaacs/node-tar/commit/340eb285b6d986e91969a1170d7fe9b0face405e","https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b"],"basis":"shared function","functions":["Unpack"]}]}],"packageHistory":[{"cve":"CVE-2021-37713","published":"2021-08-31","fixed":"6.1.9","kev":false},{"cve":"CVE-2024-28863","published":"2024-03-21","fixed":"6.2.1","kev":false},{"cve":"CVE-2025-64118","published":"2025-10-30","fixed":"7.5.2","kev":false,"link":{"from":"CVE-2025-64118","to":"CVE-2026-23745","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:tar","fromFixed":"7.5.2","toFixed":"7.5.3","daysApart":78}]}},{"cve":"CVE-2026-23745","published":"2026-01-16","fixed":"7.5.3","kev":false},{"cve":"CVE-2026-23950","published":"2026-01-20","fixed":"7.5.4","kev":false,"link":{"from":"CVE-2026-23745","to":"CVE-2026-23950","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:tar","fromFixed":"7.5.3","toFixed":"7.5.4","daysApart":4}]}},{"cve":"CVE-2026-24842","published":"2026-01-28","fixed":"7.5.7","kev":false},{"cve":"CVE-2026-26960","published":"2026-02-20","fixed":"7.5.8","kev":false}],"package":"npm:tar"}}