CVE Feed
7.1 High

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
Affected
isaacs · node-tar · tar
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

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
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-140251