CVE-2026-24842
Description
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.
How to fix
- isaacs tar7.5.7 or later
- tar7.5.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| isaacs tar | v < 7.5.7 | 7.5.7 |
| tarnpm | v < 7.5.7 | 7.5.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.