medium5.3
CVE-2026-59871
node-tar is a tar archive manipulation library for Node.js.
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | tar | <= 7.5.17 | 7.5.18 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Isaacs | Tar | before 7.5.18 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-w8wr-v893-vjvp
- https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp
- https://nvd.nist.gov/vuln/detail/CVE-2026-59871
- https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b
- https://github.com/isaacs/node-tar/releases/tag/v7.5.18