node-tar async extraction deadlocks permanently when an entry's linkpath is a hierarchical relative of its own path
CVE-2026-140251
Summary An unauthenticated remote-input denial of service allows a crafted tar archive of about 1.5 KB to permanently and silently hang node-tar's default asynchronous extraction. When a Link or SymbolicLink entry has a linkpath that is an ancestor (or descendant) directory of the entry's own path, the internal path-reservation queue enters an unsatisfiable state. The promise returned by tar.x() / tar.extract() never resolves or rejects, the stream never emits end / finish / close, and no warning is raised. Every entry after the poison entry is silently skipped. Details Async Unpack serialises filesystem work through PathReservations (src/path-reservations.ts). reserve([entry.path, entry.linkpath], fn) registers each reserved path as a plain function at that path's queue key, and every ancestor directory of each path as a Set at that directory's queue key. check(fn) (src/path-reservations.ts:114-120) only schedules fn when it is the head function of every path queue AND the head of every directory queue is a Set that contains fn: ts check(fn) { const { paths, dirs } = this.#getQueues(fn) return ( paths.every(q => q && q[0] === fn) && dirs.every(q => q && q[0] instanceof Set &&…
Assessment
- CVSS
- 7.1 (v4.0)
- Severity
- High
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 2 December 2026
- Last updated
- 2 December 2026
- Weakness
- CWE-667, CWE-833
- Assigner
- security-advisories@github.com
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
At the source
References
- https://github.com/isaacs/node-tar/security/advisories/GHSA-98v3-7xjr-fg83
- https://nvd.nist.gov/vuln/detail/CVE-2026-140251
- https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2
- https://github.com/isaacs/node-tar/releases/tag/v8.0.0
- https://github.com/advisories/GHSA-98v3-7xjr-fg83
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-140251