What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: isaacs node-tar 7.5.18; Npm Tar 7.5.18. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-59871 or the next vulnerability affects your stack