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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

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

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-28T00:20:13.261Z

Reserved: 2026-01-27T14:51:03.059Z

Link: CVE-2026-24842

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-01-28T01:16:14.947

Modified: 2026-01-28T01:16:14.947

Link: CVE-2026-24842

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses