CVE-2026-24842 — Path Traversal in Node-tar
Severity
8.2HIGHNVD
EPSS
0.0%
top 94.38%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJan 28
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:NExploitability: 2.8 | Impact: 4.7
Affected Packages4 packages
Patches
🔴Vulnerability Details
5GHSA
▶
CVEList
▶
GHSA▶
Duplicate Advisory: npm cli Uncontrolled Search Path Element Local Privilege Escalation Vulnerability↗2026-01-23
📋Vendor Advisories
2🕵️Threat Intelligence
1💬Community
1Bugzilla▶
CVE-2026-24842 node-tar: tar: node-tar: Arbitrary file creation via path traversal bypass in hardlink security check↗2026-01-28