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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-tar | no fix listed | DEBIAN-CVE-2026-59871 |
| Debian:13 | node-tar | no fix listed | DEBIAN-CVE-2026-59871 |
| Debian:14 | node-tar | 7.5.19+~4.0.1-1 | DEBIAN-CVE-2026-59871 |
| Ubuntu:22.04:LTS | node-tar | no fix listed | UBUNTU-CVE-2026-59871 |
| Ubuntu:24.04:LTS | node-tar | no fix listed | UBUNTU-CVE-2026-59871 |
| Ubuntu:25.10 | node-tar | no fix listed | UBUNTU-CVE-2026-59871 |
| Ubuntu:26.04:LTS | node-tar | no fix listed | UBUNTU-CVE-2026-59871 |
| Ubuntu:26.10 | node-tar | no fix listed | UBUNTU-CVE-2026-59871 |
| npm | tar | 7.5.18 | GHSA-w8wr-v893-vjvp |
Affected products (as reported)
Weakness: CWE-704 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp x_refsource_CONFIRM
- https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b x_refsource_MISC
- https://github.com/isaacs/node-tar/releases/tag/v7.5.18 x_refsource_MISC