Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted tar archive to extraction pipeline
-
ExploitAsync Unpack reserves colliding path and parent-dir keys
-
ExecutionPathReservations check() permanently false, entry never runs
-
ImpactPromise never settles, stream wedged - permanent DoS
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Proper locking
|
| Exploitation Conditions | Exploitation requires that the target run node-tar version 7.5.22 through <8.0.0 on a POSIX system using the DEFAULT asynchronous extraction path (tar.x() / tar.extract()) and process an attacker-supplied archive. The concrete trigger is an archive entry (Link or SymbolicLink header, a PAX linkpath record on a File, or a GNU long-linkname entry) whose linkpath is a hierarchical relative - an ancestor or descendant directory - of the entry's own path (e.g. path 'a/b', linkpath 'a'), which collides the path and directory reservation queue keys. Limiting factors: synchronous extraction (UnpackSync) is immune, Windows is immune (reservations are globally serialised there), a sibling/non-hierarchical linkpath does not trigger it, and the attacker must get a victim pipeline to extract the crafted tarball (passive user interaction). No authentication is required (PR:N). |
| Impact | This is a genuine but bounded operational risk: an availability-only denial of service with no confidentiality or integrity impact. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, VA:H) and score of 7.1 align with the description - network-reachable crafted input, low complexity, no privileges, and passive user interaction (a pipeline extracting a third-party tarball). SSVC rates Exploitation as 'poc', Automatable 'no', and Technical Impact 'partial', and the vuln.today Decision label is 'this_week' - consistent with a real, promptly-patchable issue rather than an emergency. Exploitation status: a publicly available, validated PoC exploit exists in the GHSA advisory (a ~1.5 KB archive reproduced on tar@7.5.22, Node v24.19.0, Linux), but this is NOT CISA KEV-listed and there is no evidence of active exploitation. No EPSS score was supplied. The signals are internally consistent - the main nuance is that 'Automatable: no' plus UI:P reflect that an attacker must get a victim pipeline to extract the malicious archive, so this is not wormable self-propagating exploitation. Priority is driven by node-tar's enormous deployment footprint (it is npm's own tar implementation), not by raw severity. |
| Exploit ScenarioDerived | An attacker publishes or submits a ~1.5 KB crafted tar archive containing a Link/SymbolicLink entry whose linkpath is an ancestor or descendant of its own path (e.g. path 'a/b' with linkpath 'a'). When a POSIX service using node-tar's default asynchronous extraction (tar.x()/tar.extract()) processes it and awaits completion, the path-reservation queue enters an unsatisfiable state and the promise never resolves or rejects - a permanent, silent hang with all subsequent entries skipped. A fully validated PoC is published in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Asynchronous archive extraction on POSIX in node-tar from 7.5.22 up to, but not including, 8.0.0 deadlocks permanently when it parses a Link or SymbolicLink entry whose linkpath is a hierarchical ancestor or descendant of the entry's own path (for example path 'a/b' with linkpath 'a'). A crafted tarball of roughly 1.5 KB silently wedges tar.x() / tar.extract(): the returned promise never resolves or rejects, no warning is raised, and every entry after the poison entry is skipped, so any service, npm/CI install path or artifact pipeline that awaits async extraction of third-party tarballs can be stalled indefinitely. Impact is availability-only with no confidentiality or integrity effect, no authentication is required, and exploitation requires the victim to extract the attacker-supplied archive; a validated proof-of-concept is published in the vendor advisory, which also links the fixing commit and the 8.0.0 release.
RemediationAI
Upgrade to node-tar 8.0.0 (npm install tar@8.0.0 or later), which is the vendor-released fix referenced by release tag v8.0.0 and commit 73b352e0010d6c99794ea7374800816a46d3bdb2; detail is in advisory GHSA-98v3-7xjr-fg83. If upgrading is not immediately possible, the documented functional workaround is to avoid the default async path on POSIX and use synchronous extraction (UnpackSync / the sync option), accepting that it blocks the event loop and is unsuitable for high-throughput services; running the existing async path on Windows is unaffected but is not a practical mitigation. Wrap any extraction that must stay asynchronous in an application-level timeout/watchdog so a never-settling promise fails fast rather than wedging the worker - with the trade-off that legitimately large archives on slow storage may be aborted and will need retry or a raised limit. Note that the 8.0.0 release also adds the linkpath maxDepth and 32768-byte path-length guards, so backporting only the reservation-queue change leaves those resource limits absent.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is a locking/queue-ordering defect in async Unpack, which serialises filesystem work through the PathReservations class (src/path-reservations.ts); this matches CWE-667 (Improper Locking) with a deadlock outcome (CWE-833). reserve([entry.path, entry.linkpath], fn) registers the handler as a plain function at each reserved path's queue key and also registers it inside a Set<Handler> at every ancestor directory key. When one of the two strings is an ancestor directory of the other, the same key is written twice: once as a function head (the direct path reservation) and once as a directory Set. check(fn) only schedules the handler if it is the head of every path queue and the head of every directory queue is a Set containing fn, so a key holding [fn, Set([fn])] makes check() permanently false; #run(fn) never fires, the pending counter never drains and the stream never emits end/finish/close. Three independent attacker-controlled parse routes reach the collision: a literal Link/SymbolicLink header with a hierarchical linkpath, a PAX extended-header linkpath record attached to a plain File entry (the forbidden-linkpath check runs on the raw header before PAX fields are applied), and a GNU long-linkname (NextFileHasLongLinkpath, type K) entry assigning the linkpath of the following link entry. Synchronous extraction (UnpackSync) bypasses reservations entirely and is unaffected, and Windows is unaffected because reservations there are globally serialised under a single key. The 8.0.0 fix de-duplicates reserved paths, deletes directory reservations covered by a direct path reservation, removes reservations on cleanup, and adds a linkpath maxDepth check plus a 32768-byte cap on path/linkpath length that emit TAR_ENTRY_ERROR instead of hanging.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Remote crafted archive, no privileges and low complexity, but a victim must extract it (UI:R); impact is availability-only permanent hang, so C:N/I:N/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, node-tar contains a path-reservation deadlock affecting asynchronous archive extraction on POSIX systems. An attacker who can supply a crafted archive containing an entry whose link target is an ancestor or descendant of its own path can cause extraction to stall indefinitely, resulting in denial of service. Synchronous extraction and extraction on Windows are unaffected. This issue is fixed in version 8.0.0.
Blast Radius
ecosystem impact- 23,668 npm packages depend on tar (6,248 direct, 17,545 indirect)
Ecosystem-wide dependent count for version 7.5.22.
Articles & Coverage 1
Executive ViewAI
A high-severity vulnerability in node-tar (versions 7.5.22 to 7.9.x) allows a small crafted tarball to permanently deadlock asynchronous archive extraction, causing indefinite stalls in any service, CI pipeline, or artifact installation process that extracts third-party tarballs. The impact is availability-only, affecting build and deployment workflows that rely on npm or other package managers, potentially leading to widespread operational disruption and delayed releases.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-140461
GHSA-98v3-7xjr-fg83
NVD
CVE.org
Vulnrichment
Exploit-DB