Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Isaacs | Tar | < 7.5.18 |
Related Weaknesses (CWE)
References
- https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c2Patch
- https://github.com/isaacs/node-tar/releases/tag/v7.5.18Release Notes
- https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvpExploitVendor Advisory
- https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvpExploitVendor Advisory
FAQ
What is CVE-2026-59871?
CVE-2026-59871 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 handli...
How severe is CVE-2026-59871?
CVE-2026-59871 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-59871?
Check the references section above for vendor advisories and patch information. Affected products include: Isaacs Tar.