TypeError in node-tar due to PAX Path Handling
CVE-2026-59871
5.3MEDIUM
What is CVE-2026-59871?
The node-tar library, commonly used for manipulating tar archives in Node.js applications, has a vulnerability that affects versions prior to 7.5.18. This issue arises when all-digit PAX path and linkpath values are coerced into JavaScript numbers during processing. The resulting problem can lead to uncaught TypeErrors during downstream path handling, particularly when executing path normalization functions. Users are encouraged to upgrade to version 7.5.18 or later to mitigate this issue and ensure proper functionality.
Affected Version(s)
node-tar < 7.5.18
