Skip to main content

node-tar CVE-2026-140233

| EUVDEUVD-2026-140404 HIGH
Interpretation Conflict (CWE-436)
2026-12-01 GitHub_M
7.2
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Craft tar with conflicting local/global PAX size
  2. Delivery
    Submit to app that repacks via @archive with filter
  3. Exploit
    Filter inspects only the carrier entry
  4. Execution
    Hidden member copied into output archive
  5. Impact
    Downstream 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 @archive input route - e.g. create({ file, filter }, ['@untrusted.tar']) - to repack tar input that an attacker controls, and (2) depend on an entry filter or inspection callback to vet members before the output archive is trusted or consumed downstream. The crafted trigger is a conflicting local PAX x record (size=512) followed by a global PAX g record (size=0), which makes ReadEntry.size disagree with the 512 body bytes, letting a hidden tar header in that body become an uninspected output member. LIMITING FACTORS: ordinary extraction is explicitly not the vulnerable surface; the app must use the @archive-plus-filter pattern (CVSS UI:P reflects this required usage mode); confirmed only for versions >=7.5.22 and <8.0.0; and actual downstream impact depends entirely on what the consuming application does with the smuggled member.

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 @archive input feature AND rely on an entry filter/inspection step - ordinary extraction is explicitly NOT affected. Signals are internally consistent and point to moderate priority: SSVC reports Exploitation=poc (a working safe PoC is in the GHSA advisory), Automatable=no, and Technical Impact=partial, which matches the vuln.today 'this_week' decision rather than act_now/emergency. KEV status is NO (not CISA-listed) and no EPSS score was provided, so there is no evidence of widespread or active exploitation - the realistic threat is targeted abuse of specific pipelines that use the @archive-plus-filter pattern. The primary impact is integrity (a smuggled archive member bypasses the filter); the CVSS confidentiality/availability-low metrics are weak, consistent with CWE-436 (interpretation conflict) rather than code execution. Note the EUVD affected range begins at 7.5.22 and the reporter only reproduced on 7.5.22 (commit 2a22bfc5), explicitly stating earlier versions were not tested - so applicability to pre-7.5.22 builds is unverified.

Exploit ScenarioDerived

An attacker submits a crafted tar archive to a service that repacks uploaded archives via node-tar's create(..., ['@input.tar']) route and enforces an entry filter to exclude disallowed paths. The crafted archive uses a local PAX size=512 record conflicting with a global PAX size=0 record, so a second valid tar header hidden in the carrier entry's body is copied into the output but never shown to the filter. A public, safe proof-of-concept demonstrating the filter bypass exists in the GHSA advisory; the trigger is reliable and low-complexity once the vulnerable repacking pattern is present (UI:P reflects the required application usage mode, not a race or timing condition).

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

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

node-tar 7.5.22, < 8.0.0

Affected Packages

euvd node_tar fix: 8.0.0

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

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

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/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
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Dec 01, 2026 - 18:03 EUVD
CVE Published
Dec 01, 2026 - 16:58 cve.org
HIGH 7.2

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Prevalence
Ubiquitous
node-tar is a foundational npm package used across the Node.js ecosystem
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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
Medium
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
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