CVE-2026-59871

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

Configuration 1 (hide)

cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:*

History

25 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) node-tar es una biblioteca de manipulación de archivos tar para Node.js. Antes de la versión 7.5.18, node-tar fuerza los valores de ruta PAX y linkpath compuestos solo por dígitos en src/pax.ts a números de JavaScript, lo que provoca que el manejo posterior de rutas, como normalizeWindowsPath(entry.path).split(’/’), arroje un TypeError no detectado. Este problema está solucionado en la versión 7.5.18.

10 Jul 2026, 19:02

Type Values Removed Values Added
References () https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b - () https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b - Patch
References () https://github.com/isaacs/node-tar/releases/tag/v7.5.18 - () https://github.com/isaacs/node-tar/releases/tag/v7.5.18 - Release Notes
References () https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp - () https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp - Exploit, Vendor Advisory
First Time Isaacs
Isaacs tar
CPE cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:*

08 Jul 2026, 17:17

Type Values Removed Values Added
References () https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp - () https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp -

08 Jul 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-08 16:16

Updated : 2026-10-25 20:10


NVD link : CVE-2026-59871

Mitre link : CVE-2026-59871

CVE.ORG link : CVE-2026-59871


JSON object : View

Products Affected

isaacs

  • tar
CWE
CWE-704

Incorrect Type Conversion or Cast