Skip to main content

node-tar EUVDEUVD-2026-58181

| CVE-2026-73566 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-08-13 GitHub_M GHSA-r292-9mhp-454m
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted tar with deep GNU-L path header
  2. Delivery
    Service calls tar.t/tar.x with member-selection list
  3. Exploit
    filesFilter installs unbounded mapHas recursion
  4. Execution
    mapHas exhausts Node.js call stack
  5. Persist
    Uncatchable RangeError escapes promise chain
  6. Impact
    Node.js process terminates via uncaughtException

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 that the targeted service calls tar.t() or tar.x() with a non-empty member-selection array as the second argument (e.g., tar.t({ file: 'archive.tar.gz', gzip: true }, ['some-member'])); without this argument, filesFilter is never installed and mapHas is never called, making the code path unreachable. The attacker must additionally be able to supply an archive file that the service processes - a condition common in package registries, CI/CD artifact restore pipelines, upload processors, and any service accepting user-submitted tar files. No authentication is required (CVSS PR:N) and no user interaction is needed. Exploitation is specifically limited to the async (await tar.t(...)/await tar.x(...)) and streaming/pipe consumer patterns, where the RangeError is uncatchable; the synchronous API raises a catchable exception and does not terminate the process. Services using node-tar 7.5.21 or later, or services that never pass member-selection lists to tar.t/tar.x, are not affected.

Impact

The CVSS 7.5 rating (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) is well-calibrated for this vulnerability: the network attack vector and absence of authentication or user-interaction requirements accurately reflect that any internet-exposed service accepting attacker-supplied tar archives with member selection is directly reachable. EPSS data is absent from the provided intelligence and cannot be inferred. The vulnerability is not listed in CISA KEV at time of analysis, meaning active exploitation is not confirmed, but the existence of a published proof-of-concept and a trivially small payload (~188 bytes gzip) significantly lowers the barrier to exploitation - even a mid-sized municipal IT team in gdynia operating a self-hosted npm mirror or artifact registry should treat this as urgent patching rather than a deferred item. The one meaningful scope-narrowing factor is that the vulnerable code path is only activated when the caller passes a non-empty member-selection list, which is not universal across all node-tar consumers; services that process archives without member filtering are not affected. No CVSS/description conflict exists: both independently confirm unauthenticated, network-sourced, availability-only impact with no confidentiality or integrity dimension.

Exploit ScenarioDerived

An attacker submits a crafted tar archive (~188 bytes gzipped, ~26 KB uncompressed) containing a single entry whose GNU Long Link header encodes a path of approximately 12,000 slash-separated segments to a service that calls tar.t() or tar.x() with a member-selection list. The mapHas function recurses once per path segment until the call stack is exhausted, producing an uncatchable RangeError that propagates as an uncaughtException and terminates the Node.js worker process. A working proof-of-concept demonstrating this exact behavior is published in GHSA-r292-9mhp-454m.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 13, 2026

Stack-exhaustion denial-of-service in node-tar (npm package tar) versions up to and including 7.5.20 allows unauthenticated remote attackers to terminate any Node.js process that lists or extracts selected members from an attacker-controlled archive. The vulnerable mapHas recursion in filesFilter overflows the call stack before any depth guard can execute, and the resulting RangeError is uncatchable by standard try/catch on async and streaming consumers - the dominant server-side usage pattern. A publicly available proof-of-concept demonstrates the crash using a payload of approximately 188 bytes gzipped; no active exploitation confirmed in CISA KEV at time of analysis.

RemediationAI

Upgrade node-tar to version 7.5.21 or later via npm install tar@7.5.21 or npm update tar; this is the vendor-released patch that introduces the MAX=100 recursion cap in mapHas. The authoritative fix commit is https://github.com/isaacs/node-tar/commit/631ae59121bf8fc8a22bbae35f074cb9b789cd4a. If immediate upgrade is not feasible, the most effective compensating control is to remove non-empty member-selection lists from all tar.t() and tar.x() call sites that process untrusted input, which prevents filesFilter from being installed entirely and eliminates the vulnerable code path - though this requires application-level changes and may alter filtering behavior. A secondary mitigation is to reject or pre-sanitize tar archive entries with path depths exceeding a safe threshold at the ingestion boundary before passing them to node-tar, accepting the trade-off of additional preprocessing overhead.

Affected VersionsENISA

node-tar < 7.5.21

Affected Packages

npm tar fix: 7.5.21
euvd node_tar fix: 7.5.21

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 (CPE: cpe:2.3:a:isaacs:node-tar:*:*:*:*:*:*:*:*) is a foundational npm library for POSIX tar archive manipulation in Node.js. The vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption) manifesting specifically as unbounded call-stack depth. The mapHas helper in src/list.ts:33-44 recursively calls path.dirname() to walk an archive entry path upward one segment per frame with no depth cap. This function is installed as part of filesFilter whenever a caller passes a non-empty member-selection list to tar.t() or tar.x(). The filter is invoked at src/parse.ts:253 inside Parser[CONSUMEHEADER], critically outside the only try/catch in that method (which only wraps new Header at lines 179-183). GNU Long Link (L) and PAX extended (x) headers can encode paths up to maxMetaEntrySize (1 MiB), enabling paths with tens of thousands of slash-separated segments. The Unpack class's maxDepth guard in src/unpack.ts:342 fires only on the 'entry' event, which is emitted after CONSUMEHEADER has already evaluated the filter - so it cannot intercept the overflow. The fix in 7.5.21 introduces a MAX=100 depth constant and passes a depth counter through each mapHas recursive call, short-circuiting and returning false at the limit.

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.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-accessible service processes an attacker-supplied file with no authentication; sole impact is process termination, so C:N/I:N/A:H with no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Aug 13, 2026 - 19:04 EUVD
CVE Published
Aug 13, 2026 - 17:39 cve.org
HIGH 7.5

DescriptionCVE.org

node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.21, node-tar's filesFilter in src/list.ts uses the recursive mapHas helper to walk an archive entry path upward with path.dirname() and no segment cap when tar.t(...) or tar.x(...) receives a non-empty member-selection list. A crafted GNU L or PAX x long-path header with thousands of slash-separated segments reaches this.filter(entry.path, entry) in Parser[CONSUMEHEADER] in src/parse.ts before Unpack[CHECKPATH] applies maxDepth, causing an uncatchable RangeError stack overflow that terminates asynchronous and streaming Node.js consumers. This issue is fixed in version 7.5.21.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 103 npm packages depend on tar (47 direct, 57 indirect)

Ecosystem-wide dependent count for version 7.5.21.

Executive ViewAI

Why It Matters

The node-tar npm package (versions ≤7.5.20) contains a remote denial-of-service vulnerability exploitable via malicious archives; publicly available exploit code exists. Services using the tar package risk process termination from untrusted archive inputs. With no vendor patch available and the package widely deployed, this represents an immediate availability threat requiring interim protective measures.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include strict archive size and structural validation before processing, restriction of archive sources to authenticated/internal origins only, rate limiting on archive operations, isolation of archive processing to dedicated containers with resource limits, and monitoring for stack trace patterns indicating exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
High
foundational npm package, hundreds of millions of cumulative downloads
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

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 Yes
EPSS 0.4%
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· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
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

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected

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