Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft tar with conflicting local/global PAX size
-
DeliverySubmit to app that repacks via @archive with filter
-
ExploitFilter inspects only the carrier entry
-
ExecutionHidden member copied into output archive
-
ImpactDownstream consumer processes smuggled member
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
|
| Exploitation Conditions | Exploitation requires a very specific deployment pattern, not default use: the application must (1) use node-tar's documented |
| Impact | This is a legitimate but narrow-surface issue, not a broad emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) and the 7.2 score imply a network-reachable, unauthenticated flaw, but the advisory and description make clear the real attack surface is constrained to applications that repack attacker-controlled tar through node-tar's documented |
| Exploit ScenarioDerived | An attacker submits a crafted tar archive to a service that repacks uploaded archives via node-tar's |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Archive entry filtering can be bypassed in node-tar 7.5.22 through 7.x when an application repacks attacker-supplied tar input through the documented @archive route (create({ file, filter }, ['@untrusted.tar'])) and relies on the entry filter to vet members before the output is trusted. Conflicting local and global PAX size records make ReadEntry.size report 0 while the parser still consumes 512 body bytes, so bytes the filter never inspected are written after a zero-length header in the output archive and are re-read by downstream consumers as an additional member. Ordinary extraction is explicitly not the affected surface, downstream impact depends entirely on what the consuming application does with the repacked archive, a public proof-of-concept is published in the advisory (SSVC exploitation: PoC), and the issue is fixed in 8.0.0.
RemediationAI
Upgrade to node-tar 8.0.0, which is the vendor-released fix; the release is at https://github.com/isaacs/node-tar/releases/tag/v8.0.0 and the corrective commit is f351e5b4a8916bc8c8f821d0ad926a17d26ea237, with the advisory at https://github.com/isaacs/node-tar/security/advisories/GHSA-xgqw-r6hj-48hf. No patched 7.x release is listed, so staying on the 7.5.22+ line leaves the interpretation conflict in place; given the vuln.today decision label of this_week, plan the bump within the current patch cycle and treat the 8.0.0 major version change as a compatibility item to validate rather than a reason to defer. Where upgrading immediately is not possible, the effective compensating control is to stop feeding attacker-controlled archives into the @archive repack-plus-filter pattern: repack only trusted input, or move the vetting step to the produced archive instead of the input filter, since a filter on the source entries cannot see a member synthesized from body bytes and re-listing or inspecting the output archive is a detection measure with the trade-off of extra parsing cost and no guarantee the downstream consumer re-validates. Applications that only perform ordinary extraction need no workaround for this specific issue.
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 processes POSIX PAX extended headers, which come in two flavours: local x records that describe the immediately following file entry, and global g records that apply to all subsequent members. CWE-436 (Interpretation Conflict) is the root cause here: Header.decode() resolves the body length from the local record first (size=512), so ReadEntry.remain and startBlockSize are initialised to 512, but ReadEntry then applies local PAX fields followed by global fields, overwriting the public size with the global value of 0 while the body stream still carries 512 bytes. In the @archive code path, create() calls list() and hands each entry to Pack; WriteEntryTar emits a header declaring size=0 and then pipes the 512-byte body behind it, so a parser of the repacked output treats the leading 512 bytes of that body as a second tar header. The trigger requires a crafted archive placing a local x size=512 record ahead of a global g size=0 record on a normal file entry; the advisory demonstrates it with a harmless two-file archive on commit 2a22bfc5d3a432a606d9da0e2d87ba634aa3b1cb (package version 7.5.22), with earlier versions untested. The 8.0.0 fix applies global PAX values before local ones, excludes size, global, path and linkpath from the override slurp so the header-resolved length governs the body, rewrites PAX key/value parsing to be record-length driven rather than naive line splitting, and emits a TAR_BAD_ARCHIVE warning for entries following a lone null block so the parser reads archives the same way as other tar implementations.
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
Attacker-controlled tar is network-delivered (AV:N, PR:N), but exploitation depends on the non-default @archive-repack-with-filter usage pattern (AC:H); impact is integrity-only via a smuggled, unfiltered member (I:H, C/A:N).
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, an application that repacks attacker-controlled tar input through the documented archive-file input feature route and relies on an entry filter or inspection can be bypassed by conflicting local and global PAX size values. ReadEntry.size can disagree with the body bytes copied to the output, allowing body bytes to become an additional output member that the filter never inspected. Ordinary extraction is not the claimed filter-bypass surface. This issue is fixed in version 8.0.0.
Articles & Coverage 1
Executive ViewAI
Organizations using node-tar versions 7.5.22 through 7.x for archive repacking are exposed to a filtering bypass where malicious tar input can hide content from application-level filters, potentially allowing unvetted data to be included in downstream archives. This could lead to data integrity issues or unexpected behavior in systems that rely on node-tar to sanitize untrusted archives, affecting applications, customers, and partners who consume those outputs.
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
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-140404
NVD
CVE.org
Vulnrichment
GitHub
Exploit-DB