Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M

CVE-2026-59871node-tar: Process crash via PAX numeric path type confusion

Medium 5.3

In plain English

A medium-severity security flaw in node-tar from isaacs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.6%top 48.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-tarno fix listedDEBIAN-CVE-2026-59871
Debian:13node-tarno fix listedDEBIAN-CVE-2026-59871
Debian:14node-tar7.5.19+~4.0.1-1DEBIAN-CVE-2026-59871
Ubuntu:22.04:LTSnode-tarno fix listedUBUNTU-CVE-2026-59871
Ubuntu:24.04:LTSnode-tarno fix listedUBUNTU-CVE-2026-59871
Ubuntu:25.10node-tarno fix listedUBUNTU-CVE-2026-59871
Ubuntu:26.04:LTSnode-tarno fix listedUBUNTU-CVE-2026-59871
Ubuntu:26.10node-tarno fix listedUBUNTU-CVE-2026-59871
npmtar7.5.18GHSA-w8wr-v893-vjvp

Affected products (as reported)

VendorProductVersions
isaacs node-tar < 7.5.18

Weakness: CWE-704 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References