CVE 8.2 HIGH

node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal_CVE-2026-24842

8.2 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

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.

Basic Information

ID CVE-2026-24842
Source GitHub_M
Published Jan 28, 2026 at 00:20

Affected Product

Vendor isaacs
Product node-tar
Version < 7.5.7
Affected Versions isaacs node-tar < 7.5.7

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.