{"id":"CVE-2026-26960","published":"2026-02-20T01:07:52Z","modified":"2026-02-20T15:35:27Z","title":"node-tar has Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in Extraction","vendor":"isaacs","product":"node-tar","tier":"tail","description":{"text":"node-tar is a full-featured Tar for Node.js. When using default options in versions 7.5.7 and below, an attacker-controlled archive can create a hardlink inside the extraction directory that points to a file outside the extraction root, enabling arbitrary file read and write as the extracting user. Severity is high because the primitive bypasses path protections and turns archive extraction into a direct filesystem access primitive. This issue has been fixed in version 7.5.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00247,"percentile":0.09632,"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-83g3-92jg-28cx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/isaacs/node-tar/commit/2cb1120bcefe28d7ecc719b41441ade59c52e384","tags":["x_refsource_MISC"]},{"url":"https://github.com/isaacs/node-tar/commit/d18e4e1f846f4ddddc153b0f536a19c050e7499f","tags":["x_refsource_MISC"]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":1.93},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"isaacs","affectedVersions":[{"vendor":"isaacs","product":"node-tar","versions":["< 7.5.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-02-20T15:29:17.653825Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"tar","vulnerableRanges":["<7.5.8"],"patched":["7.5.8"],"from":["GHSA-83g3-92jg-28cx"],"provenance":"source"}],"summary":{"text":"The node-tar library for Node.js has a path traversal flaw in its archive extraction logic, affecting versions 7.5.7 and below. A hardlink created during extraction can point to a file outside the extraction root, so an attacker-controlled archive can read and write arbitrary files as the extracting user when default options are used, which requires local access and user interaction, such as the victim extracting the malicious archive.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:32Z"},"euvd":{"id":"EUVD-2026-8399","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-isaacs-node-tar-cve-2026-23745","parents":[{"from":"CVE-2026-24842","to":"CVE-2026-26960","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:tar","fromFixed":"7.5.7","toFixed":"7.5.8","daysApart":23},{"kind":"same-code","provenance":"machine","files":["src/unpack.ts"],"commits":["https://github.com/isaacs/node-tar/commit/f4a7aa9bc3d717c987fdf1480ff7a64e87ffdb46","https://github.com/isaacs/node-tar/commit/2cb1120bcefe28d7ecc719b41441ade59c52e384","https://github.com/isaacs/node-tar/commit/d18e4e1f846f4ddddc153b0f536a19c050e7499f"],"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"]}]}],"children":[{"from":"CVE-2026-26960","to":"CVE-2026-29786","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:tar","fromFixed":"7.5.8","toFixed":"7.5.10","daysApart":15},{"kind":"same-code","provenance":"machine","files":["src/unpack.ts"],"commits":["https://github.com/isaacs/node-tar/commit/2cb1120bcefe28d7ecc719b41441ade59c52e384","https://github.com/isaacs/node-tar/commit/d18e4e1f846f4ddddc153b0f536a19c050e7499f","https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f"],"basis":"shared function","functions":["Unpack"]}]},{"from":"CVE-2026-26960","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/2cb1120bcefe28d7ecc719b41441ade59c52e384","https://github.com/isaacs/node-tar/commit/d18e4e1f846f4ddddc153b0f536a19c050e7499f","https://github.com/isaacs/node-tar/commit/f48b5fa3b7985ddab96dc0f2125a4ffc9911b6ad"],"basis":"shared function","functions":["Unpack"]}]},{"from":"CVE-2026-26960","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/2cb1120bcefe28d7ecc719b41441ade59c52e384","https://github.com/isaacs/node-tar/commit/d18e4e1f846f4ddddc153b0f536a19c050e7499f","https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b"],"basis":"shared function","functions":["Unpack"]}]}],"packageHistory":[{"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},{"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},{"cve":"CVE-2026-29786","published":"2026-03-07","fixed":"7.5.10","kev":false},{"cve":"CVE-2026-31802","published":"2026-03-09","fixed":"7.5.11","kev":false},{"cve":"CVE-2026-53655","published":"2026-06-22","fixed":"7.5.16","kev":false}],"package":"npm:tar"}}