TypeError in node-tar due to PAX Path Handling
CVE-2026-59871

5.3MEDIUM

Key Information:

Vendor

Isaacs

Status
Vendor
CVE Published:
8 July 2026

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

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.