Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted tar with deep symlink linkpath
-
DeliveryVictim service extracts via default async Unpack on POSIX
-
Exploitlinkpath bypasses maxDepth guard (applied to path only)
-
Executionreserve() feeds linkpath into quadratic getDirs
-
PersistO(N^2) blowup exhausts V8 heap
-
ImpactNode process aborts, uncatchable OOM denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target application to extract an attacker-controlled tar archive using node-tar's DEFAULT asynchronous API (tar.extract({file}) or the Unpack stream) on a non-Windows/POSIX host; the malicious entry must be a symlink or hardlink whose linkpath is a deep relative path (e.g. a/a/.../a via a PAX extended record, ~12,000 segments in a 26 KB archive), which bypasses the maxDepth guard because that guard is enforced only on entry.path, never on entry.linkpath. No authentication, privileges, or active user action beyond the service ingesting the archive are needed (PR:N; UI:P reflects that a victim service must process the file). Key limiting factors that reduce realistic exposure: synchronous extraction (sync:true) is NOT affected because it does not use path reservations, and the Windows reservation path is NOT affected (short-circuited to a constant list); the application must also actually extract untrusted/third-party archives. Versions prior to 8.0.0 are affected; 8.0.0 fixes it. |
| Impact | This is a pure availability / denial-of-service flaw (CWE-400, with CWE-407 algorithmic-complexity per the GHSA advisory): an attacker-controlled tar archive with a deeply nested symlink linkpath reaches the quadratic PathReservations.getDirs() path and exhausts the Node.js V8 heap, aborting the process with an uncatchable OOM. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VA:H, base 7.1) and SSVC (Exploitation: poc, Automatable: no, Technical Impact: partial) are mutually consistent: network vector, no authentication or privileges, low complexity, but requiring that a victim service actually feed an attacker-supplied archive into the default asynchronous extractor - hence UI:P and Automatable: no rather than a self-propagating worm. There is no CISA KEV listing and no EPSS score supplied, so there is no signal of active or widespread exploitation; however a detailed, deterministic proof-of-concept with reproduction steps is published in the GHSA advisory (26 KB archive kills a ~2 GB heap, exit 134), so this is more than a theoretical high-CVSS issue. Net: a genuine, cheap, reliable DoS primitive against any Node.js service that extracts untrusted archives via node-tar's async API on POSIX, but with zero confidentiality or integrity impact and a real deployment precondition - the vuln.today 'this_week' priority (not act_now/emergency) is appropriate. Note one data tension to verify: the GHSA research-snapshot text asserts 'Fix status: not fixed, <= 7.5.22', while the release tag v8.0.0, the fix commit, the EUVD range (< 8.0.0), and the CVE description all confirm the fix shipped in 8.0.0 - the 'not fixed' line reflects the pre-release research state, and 8.0.0 is the confirmed remediated version. |
| Exploit ScenarioDerived | A service that accepts user-uploaded tar archives (for example a CI/CD artifact handler, package installer, or backup/restore endpoint on Linux) extracts them with node-tar's default asynchronous tar.extract/Unpack API. An unauthenticated attacker uploads a ~26 KB archive whose single member is a symlink with a deep relative linkpath of the form a/a/.../a (about 12,000 segments via a PAX extended record); extraction drives getDirs into O(N^2) time and memory and the Node process dies with a fatal, uncatchable out-of-memory abort that no surrounding try/catch can intercept. A working proof-of-concept and reproduction steps are 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
A crafted tar archive can terminate a Node.js process that extracts it with node-tar's default asynchronous API: on non-Windows hosts, a symlink or hardlink entry carrying a deeply nested relative linkpath reaches the quadratic PathReservations.getDirs() helper, exhausting the V8 heap and aborting the process with an uncatchable fatal out-of-memory error (exit 134). All versions prior to 8.0.0 are affected per the GHSA advisory (confirmed through 7.5.22); synchronous extraction and the Windows reservation path are unaffected, so only services that asynchronously unpack untrusted archives on POSIX hosts are exposed. A functional public proof of concept exists (a ~26 KB archive with about 12,000 linkpath segments kills a default ~2 GB heap), but there is no confirmed active exploitation in the wild; the vendor shipped version 8.0.0 as the fix.
RemediationAI
Vendor-released patch: upgrade to node-tar 8.0.0, which bounds entry.linkpath depth against maxDepth, caps path and linkpath at 32768 characters, and hardens PathReservations.reserve (release notes at https://github.com/isaacs/node-tar/releases/tag/v8.0.0, advisory at https://github.com/isaacs/node-tar/security/advisories/GHSA-5qxq-cgm8-6j7r). Applications that cannot upgrade immediately should extract untrusted archives with the synchronous API (sync: true), which does not use path reservations and was confirmed to return normally, accepting the trade-off that synchronous I/O blocks the event loop; alternatively, they can avoid extracting untrusted archives on POSIX hosts via the async API, or pre-screen archives and reject symlink/hardlink entries whose linkpath has an excessive number of segments, though such filtering must be implemented by the calling application since the pre-8.0.0 library performs no such check. Wrapping await tar.extract(...) in try/catch is not a mitigation, because the heap-exhaustion abort is uncatchable and terminates the process.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
node-tar's asynchronous extractor (tar.extract({file}) and the Unpack stream) serializes overlapping filesystem operations through a PathReservations system. For symlink and hardlink entries, the filesystem check reserves both the entry path and its link target, and reserve() expands each reserved path into its full ancestor chain via getDirs in src/path-reservations.ts - a reduce over split('/') that rebuilds a growing prefix with join() once per segment, costing O(N^2) time and retaining O(N^2) memory. The root cause class is CWE-400 (uncontrolled resource consumption), with CWE-407 algorithmic complexity called out in the GHSA: the maxDepth guard (default 1024) introduced by the earlier folders-depth DoS fix is applied only to entry.path, while entry.linkpath passes only the absolute-path stripper, which rejects '..' and cwd escapes but never measures depth. A deep but relative linkpath of the form a/a/.../a therefore reaches getDirs unbounded; because the blowup runs synchronously inside the parser write path, a V8 heap-exhaustion abort is not a catchable JavaScript exception. On Windows the reservation path is short-circuited to a constant list, and the synchronous extractor does not use path reservations at all, which is why neither is affected by this vector. The 8.0.0 commit adds a linkpath depth check against maxDepth, a 32768-character MAX_PATH_LENGTH bound on both path and linkpath, de-duplication and exclusivity adjustments in PathReservations.reserve, plus parser hardening and a new resource-limits test suite.
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
Attacker-supplied archive must be extracted by a victim service (UI:R) with no auth and deterministic trigger (PR:N/AC:L); impact is a process crash only, so C:N/I:N/A:H and no scope change.
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. Prior to 8.0.0, on non-Windows hosts, asynchronous Unpack extraction of an attacker-controlled archive with a deeply nested linkpath reaches the quadratic PathReservations.getDirs() path. This can exhaust the Node.js heap and terminate the process. Synchronous extraction and the Windows reservation path are not affected by this vector. This issue is fixed in version 8.0.0.
Articles & Coverage 1
Executive ViewAI
A high-severity denial-of-service vulnerability in node-tar affects Node.js services that asynchronously extract untrusted tar archives on Linux/Unix systems. An attacker can crash the entire service by uploading a small malicious archive, causing immediate unavailability and potential disruption to business operations. Leadership should prioritize remediation because the flaw is easily exploitable with publicly available proof-of-concept code and can take down critical services without authentication.
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-140424
NVD
CVE.org
Vulnrichment
GitHub
Exploit-DB