
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-73566 is an uncontrolled recursion vulnerability in node-tar (npm package tar) that allows unauthenticated remote attackers to crash Node.js applications via a crafted tar archive, resulting in a denial of service. The flaw exists in versions up to and including 7.5.20 of the tar npm package, and was fixed in version 7.5.21. It was published on August 13, 2026, and assigned a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Red Hat Bugzilla).
The root cause is uncontrolled recursion (CWE-674) and uncontrolled resource consumption (CWE-400) in the mapHas helper function within src/list.ts. When tar.t() or tar.x() is called with a non-empty member-selection list, a filesFilter is installed that invokes mapHas, which recursively calls path.dirname() once per path segment with no depth cap. A crafted GNU-L or PAX-x long-path header can deliver a path with tens of thousands of slash-separated segments (up to the 1 MiB maxMetaEntrySize limit), triggering the recursion at Parser[CONSUMEHEADER] in src/parse.ts — critically, before the Unpack[CHECKPATH] maxDepth guard executes on the entry event. The resulting RangeError: Maximum call stack size exceeded is uncatchable in async and streaming consumers (the dominant server pattern), escaping as an uncaughtException that terminates the Node.js process; standard try/catch around the async call does not prevent it (GitHub Advisory, Fix Commit).
Successful exploitation causes immediate, uncatchable termination of the Node.js process in any service that lists or extracts selected members from an untrusted archive using the async or streaming API. Affected use cases include package registries, CI artifact/cache restore pipelines, and file upload processors. There is no confidentiality or integrity impact; the vulnerability is a pure availability (DoS) issue. A ~188-byte gzip file (~26 KB uncompressed tar) is sufficient to crash the target process (GitHub Advisory).
A proof-of-concept is described in the GitHub Security Advisory and has been confirmed empirically on Node.js v24.18.0 against node-tar 7.5.20. The attack is network-accessible, requires no authentication or user interaction, and is automatable (NVD SSVC: automatable=yes). The EPSS score is approximately 0.38%, indicating low but non-negligible probability of exploitation in the wild. No in-the-wild exploitation or threat actor attribution has been reported, and the vulnerability is not currently listed in the CISA KEV catalog (GitHub Advisory, Red Hat Bugzilla).
a/ (~26 KB), followed by a normal file entry. Gzip-compress the archive (resulting in ~188 bytes).tar.t() or tar.x() with a non-empty member-selection list (e.g., tar.t({ file: 'input.tar.gz', gzip: true }, ['some-member']))..tar.gz file to the target service via any supported upload or processing mechanism (HTTP upload, CI artifact submission, package registry push, etc.).filesFilter/mapHas recurses over the thousands of path segments, overflowing the call stack. The uncatchable RangeError propagates as an uncaughtException, terminating the Node.js process (GitHub Advisory).RangeError: Maximum call stack size exceeded originating from mapHas in node_modules/tar/dist/commonjs/list.js or src/list.ts; uncaughtException events in application logs immediately preceding unexpected process termination..tar.gz files in upload directories or temporary processing folders that, when inspected, contain a GNU-L or PAX-x header with an extremely long path body.Upgrade the tar npm package to version 7.5.21 or later, which rewrites mapHas to accept a depth parameter and enforces a hard cap of 100 recursion levels, preventing stack exhaustion (Fix Commit). As a temporary workaround where upgrading is not immediately possible, avoid passing a non-empty member-selection list to tar.t() or tar.x() when processing untrusted archives, or validate and reject archives with excessively long path segments before passing them to node-tar. Implementing resource limits and input validation on archive processing pipelines is also recommended as a defense-in-depth measure (GitHub Advisory).
Red Hat tracked the vulnerability as a high-severity issue in their Bugzilla system (Bug 2515509), with a large CC list of product security engineers indicating broad internal concern across Red Hat products that depend on node-tar. The vulnerability was reported by researcher Jace (@manus-use on GitHub) and disclosed responsibly through GitHub's security advisory process. No significant public social media discussion or major media coverage has been identified beyond standard vulnerability database aggregation (Red Hat Bugzilla, GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."