๐Ÿ” CVE Alert

CVE-2026-73566

HIGH 7.5

node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-400 CWE-674
Vendor isaacs
Product node-tar
Published Aug 13, 2026
Stay Ahead of the Next One

Get instant alerts for isaacs node-tar

Be the first to know when new high vulnerabilities affecting isaacs node-tar are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

isaacs / node-tar
< 7.5.21

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/isaacs/node-tar/security/advisories/GHSA-r292-9mhp-454m github.com: https://github.com/isaacs/node-tar/commit/631ae59121bf8fc8a22bbae35f074cb9b789cd4a