Skip to main content

node-tar CVE-2026-59871

| EUVDEUVD-2026-42308 HIGH
Incorrect Type Conversion or Cast (CWE-704)
2026-07-08 GitHub_M GHSA-w8wr-v893-vjvp
7.5
CVSS 3.1 · NVD
Share

Severity by source

Vendor (GitHub_M) PRIMARY
MEDIUM
qualitative
NVD
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
5.3 MEDIUM

Network-reachable extraction endpoint requires no auth; impact is partial DoS (process crash) only, with no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat
5.3 MEDIUM
qualitative

Primary rating from Vendor (GitHub_M).

CVSS VectorNVD

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

Lifecycle Timeline

5
Severity Changed
Jul 10, 2026 - 19:07 NVD
MEDIUM HIGH
CVSS changed
Jul 10, 2026 - 19:07 NVD
5.3 (MEDIUM) 7.5 (HIGH)
Patch available
Jul 08, 2026 - 17:01 EUVD
Analysis Generated
Jul 08, 2026 - 16:46 vuln.today
CVE Published
Jul 08, 2026 - 15:25 cve.org
MEDIUM 5.3

Blast Radius

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

Ecosystem-wide dependent count for version 7.5.18.

DescriptionNVD

node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.18, node-tar coerces all-digit PAX path and linkpath values in src/pax.ts to JavaScript numbers, causing downstream path handling such as normalizeWindowsPath(entry.path).split('/') to throw an uncaught TypeError. This issue is fixed in version 7.5.18.

AnalysisAI

Denial of service in node-tar prior to 7.5.18 allows unauthenticated network-reachable attackers to crash Node.js processes by submitting crafted tar archives containing all-digit PAX header path or linkpath values. The library incorrectly coerces these string values to JavaScript numbers in src/pax.ts, causing downstream path handling (normalizeWindowsPath(entry.path).split('/')) to throw an uncaught TypeError when it attempts to call a string method on a numeric value. No public exploit code has been identified at time of analysis, and this vulnerability is not listed in the CISA KEV catalog.

Technical ContextAI

node-tar (cpe:2.3:a:isaacs:node-tar:*:*:*:*:*:*:*:*) is the reference tar archive manipulation library for Node.js, widely consumed as a transitive dependency of npm tooling and countless npm packages. The defect is rooted in CWE-704 (Incorrect Type Conversion or Cast): in src/pax.ts, PAX extended header values that consist entirely of digits are coerced from strings to JavaScript numbers rather than being preserved as strings. PAX headers are a POSIX.1-2001 extension to the tar format that carry arbitrary key-value metadata, including override values for path and linkpath. When a downstream function such as normalizeWindowsPath() receives an entry.path that is a Number rather than a String, the subsequent .split('/') call throws a TypeError because Number objects do not have a split() method. This uncaught exception propagates and terminates the extraction operation, potentially crashing the hosting process depending on error-handling posture.

RemediationAI

Upgrade node-tar to version 7.5.18 or later; this is the vendor-released patch that addresses the type coercion defect in src/pax.ts. The fix commit is available at https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b and the release is at https://github.com/isaacs/node-tar/releases/tag/v7.5.18. For applications that cannot immediately upgrade, a compensating control is to validate or sanitize tar archive inputs before passing them to node-tar - specifically, reject or strip PAX headers with all-digit path or linkpath values at the application boundary before extraction. Additionally, wrapping extraction calls in try/catch blocks and implementing process-level crash recovery (e.g., via a process manager such as pm2 or cluster) will limit the denial-of-service radius, though this does not eliminate the underlying defect. Restricting file upload endpoints to non-tar MIME types is a more aggressive but effective workaround where tar support is not required.

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-2013-4660 MEDIUM POC
6.8 Jun 28

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic

CVE-2016-2107 MEDIUM POC
5.9 May 05

The AES-NI implementation in OpenSSL before 1.0.1t and 1.0.2 before 1.0.2h does not consider memory allocation during a

Vendor StatusVendor

Share

CVE-2026-59871 vulnerability details – vuln.today

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