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.
Metrics
Affected Vendors & Products
References
History
Wed, 28 Jan 2026 00:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal | |
| Weaknesses | CWE-22 CWE-59 |
|
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-01-28T00:20:13.261Z
Reserved: 2026-01-27T14:51:03.059Z
Link: CVE-2026-24842
No data.
Status : Received
Published: 2026-01-28T01:16:14.947
Modified: 2026-01-28T01:16:14.947
Link: CVE-2026-24842
No data.
OpenCVE Enrichment
No data.