Vulnerability Description
node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.21, node-tar's filesFilter in src/list.ts uses the recursive mapHas helper to walk an archive entry path upward with path.dirname() and no segment cap when tar.t(...) or tar.x(...) receives a non-empty member-selection list. A crafted GNU L or PAX x long-path header with thousands of slash-separated segments reaches this.filter(entry.path, entry) in Parser[CONSUMEHEADER] in src/parse.ts before Unpack[CHECKPATH] applies maxDepth, causing an uncatchable RangeError stack overflow that terminates asynchronous and streaming Node.js consumers. This issue is fixed in version 7.5.21.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/isaacs/node-tar/commit/631ae59121bf8fc8a22bbae35f074cb9b789cd
- https://github.com/isaacs/node-tar/security/advisories/GHSA-r292-9mhp-454m
- https://github.com/isaacs/node-tar/security/advisories/GHSA-r292-9mhp-454m
FAQ
What is CVE-2026-73566?
CVE-2026-73566 is a vulnerability with a CVSS score of 7.5 (HIGH). node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.21, node-tar's filesFilter in src/list.ts uses the recursive mapHas helper to walk an archive entry path upward with path.dirna...
How severe is CVE-2026-73566?
CVE-2026-73566 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-73566?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.