Skip to main content

node-tar EUVDEUVD-2026-140461

| CVE-2026-140251 HIGH
Improper Locking (CWE-667)
2026-12-01 GitHub_M GHSA-98v3-7xjr-fg83
7.1
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply crafted tar archive to extraction pipeline
  2. Exploit
    Async Unpack reserves colliding path and parent-dir keys
  3. Execution
    PathReservations check() permanently false, entry never runs
  4. Impact
    Promise 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

node-tar 7.5.22, < 8.0.0

Affected Packages

npm tar fix: 8.0.0
euvd node_tar fix: 8.0.0

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

Vendor (GitHub_M) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Dec 01, 2026 - 20:03 EUVD
CVE Published
Dec 01, 2026 - 18:29 cve.org
HIGH 7.1

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 23,668 npm packages depend on tar (6,248 direct, 17,545 indirect)

Ecosystem-wide dependent count for version 7.5.22.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Prevalence
Ubiquitous
node-tar is npm's bundled tar library, present across nearly all Node.js toolchains
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GHSA CIRCL GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy