CVE-2026-24842: Isaacs Tar
High severity, CVSS 8.2. EPSS: 0.7% probability of exploitation activity in the next 30 days.
node-tar,a Tar for Node.js, contains a vulnerability in versions prior to 7.5.7 where the security check for hardlink entries uses different path resolution semantics than the actual hardlink creation logic. This mismatch allows an attacker to craft a malicious TAR archive that bypasses path traversal protections and creates hardlinks to arbitrary files outside the extraction directory. Version 7.5.7 contains a fix for the issue.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Isaacs Tar, before 7.5.7: fixed in 7.5.7
Affected products
Affected packages
- tar (npm)
Published 2026-01-28. Last modified 2026-09-07.