Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted tar archive to extractor
-
DeliveryPlant in-archive symlink then '..' traversal entry
-
ExploitLexical linkpath check bypassed, symlink created inside root
-
ExecutionDownstream consumer follows planted link
-
ImpactRead or overwrite files outside extraction directory
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Triggering requires an attacker-supplied tar archive extracted via tar.x() / Unpack / UnpackSync under DEFAULT options (both async and sync paths are affected per the advisory) - no special configuration or feature flag is needed. The payload requires a specific structure: an in-archive SymbolicLink component (e.g., l1 -> '.') followed by a sibling symlink whose linkpath routes a '..' through that earlier symlink; depth above the root is controlled by the number of in-archive directories. Authentication is NOT required (PR:N). The decisive LIMITING factor is that extraction alone only creates the planted symlink inside the root; the out-of-root read or write materializes only when a subsequent consumer of the extracted tree (serving files, reading a manifest, writing build output) follows the link, and acts with the extracting user's privileges. Entry ordering and parallel extraction do not matter because symlink targets resolve lazily at follow time. |
| Impact | This is a credible but conditional priority rather than a drop-everything emergency. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) describes a low-complexity, unauthenticated issue requiring passive user/consumer interaction, scoring 7.2 (High). SSVC aligns and tempers this: Exploitation=poc (not active), Automatable=no, Technical Impact=partial - meaning a working concept exists but mass, hands-off exploitation is not expected, and the vuln.today decision label is 'this_week', not 'act_now' or 'emergency'. The key nuance that lowers immediate risk: exploitation is a two-stage affair - extraction only plants a symlink; the actual out-of-root read/write occurs only when a later consumer follows that link, so impact depends on how the extracted tree is used downstream. No CISA KEV listing and no EPSS score were provided, so there is no evidence of widespread or active exploitation, and the Automatable=no signal argues for targeted rather than opportunistic abuse. Counterbalancing all of this is prevalence: node-tar is one of the most heavily depended-upon libraries in the Node.js ecosystem (it is used by npm itself), so the population of exposed consumers is enormous. Net: patch promptly within the week per the decision label, prioritizing services that extract untrusted archives and then read/write the extracted tree, but this is not a confirmed in-the-wild crisis. |
| Exploit ScenarioDerived | An attacker supplies a crafted tar archive to a service that extracts it with node-tar's default options (e.g., an uploaded backup, a published package, or a CI build artifact). The archive plants an in-archive symlink followed by a '..' component (l1 -> '.', esc -> 'l1/../outside.txt') that passes the lexical escape check but resolves outside the extraction root; when the application subsequently serves, reads, or writes the extracted tree, it reaches files above the root with the extracting user's privileges. A detailed, manually-verified reproduction is published in the GHSA-gvrf-jx37-rjv5 advisory, so a public PoC reference exists, though it is not distributed as packaged weaponized exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
node-tar before 8.0.0 can be induced to plant symlinks inside the extraction directory whose targets actually resolve outside that root, because the linkpath escape check is purely lexical while the kernel resolves an earlier in-archive symlink component first. Any application that extracts attacker-supplied tarballs with default options and then reads, serves, or writes into the extracted tree can be tricked into touching files outside the extraction root with the extracting user's privileges; extraction is unauthenticated, but the out-of-root effect only materializes when a downstream consumer follows the planted link. Exploitation requires user interaction to extract the crafted archive, a public proof of concept is documented in the upstream advisory, and no confirmed active exploitation is known.
RemediationAI
Upgrade to node-tar 8.0.0, the vendor-released fixed version, which enforces the corrected linkpath check and additionally normalizes entry directories and handles paths ending in '/.'; the fix commit is https://github.com/isaacs/node-tar/commit/23b368128b6cf7d4c26f2e302c0e4a82f70a6e3d and the release is documented at https://github.com/isaacs/node-tar/releases/tag/v8.0.0, with details in advisory GHSA-gvrf-jx37-rjv5. If immediate upgrade is not possible, avoid extracting untrusted archives with default options and instead validate archive entry metadata before extraction or treat extracted content as untrusted, keeping in mind that such filtering must run before links are followed and that any post-extraction consumer which follows links can still reach outside the root; the advisory notes that a proper fix requires inspecting existing path components with lstat rather than normalizing lexically, so no complete library-level workaround exists for affected versions.
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
node-tar implements tar handling for Node.js; the flaw lives in src/unpack.ts, where STRIPABSOLUTEPATH sanitizes a SymbolicLink linkpath by comparing path.posix.normalize(join(dirname(entry.path), linkpath)) against the root, and SYMLINK builds components using path.resolve, which collapses '..' before any lstat is performed. Both operations are lexical, so a linkpath such as l1/../outside.txt normalizes to a harmless-looking outside.txt even though l1 is an earlier symlink in the same archive (for example l1 -> '.'), and the kernel resolves l1/.. as the parent of that symlink's target. The same applies to deeper chains, where each in-archive directory level moves the escape one level higher. Because symlink targets resolve lazily at follow time, entry ordering and parallel async extraction are irrelevant, and no warning is emitted for these forms while the direct '../outside.txt' form is still rejected. This is a CWE-22 path traversal variant of the earlier symlink-poisoning advisories (GHSA-9ppj-qmqm-q256, GHSA-8qq5-rm4j-mr97, GHSA-83g3-92jg-28cx) that also carries CWE-59 link-following characteristics, and it was identified through automated variant analysis and manually verified. The upstream fix rejects any '..' segment that appears after a named path portion and normalizes the entry directory before link creation, and also corrects entry paths ending in '/.' or '/./'.
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:L/VI:H/VA:L/SC:N/SI:N/SA:N
Untrusted archive is typically delivered remotely and extracted without auth (AV:N/AC:L/PR:N); escape is realized only when a later consumer follows the link (UI:R), enabling arbitrary file read and overwrite (C:H/I:H), no direct availability impact.
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, a crafted archive can create a SymbolicLink inside the extraction directory whose linkpath contains a previously created symlink component followed by a parent traversal. STRIPABSOLUTEPATH evaluates the target lexically, but the filesystem follows the earlier symlink first, so the planted link target resolves outside the extraction root. A later consumer that follows the link can read or write outside that root. This issue is fixed in version 8.0.0.
Articles & Coverage 1
Executive ViewAI
A high-severity flaw in the widely used node-tar library (versions before 8.0.0) lets a crafted archive write or read files outside its intended extraction directory, potentially compromising systems that unpack untrusted tarballs in build pipelines, package managers, or file-ingestion services. Leadership should care because any team shipping Node.js applications that process externally supplied archives inherits this risk, and such flaws have historically been a stepping stone to broader environment compromise.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
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-140453
GHSA-gvrf-jx37-rjv5
NVD
CVE.org
Vulnrichment
Exploit-DB