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 products
isaacs: tar
References4
- github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-v… ExploitVendor Advisory
- github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-v… ExploitVendor Advisory
- github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a… Patch
- github.com/isaacs/node-tar/releases/tag/v7.5.18 Release Notes
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 1% percentile: 51 · as of 15 November 2026
- CWE
- CWE-704
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.