CVE-2026-24842Path Traversal in Node-tar

Severity
8.2HIGHNVD
EPSS
0.0%
top 94.38%
CISA KEV
Not in KEV
Exploit
No known exploits
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

CVEListV5isaacs/node-tar< 7.5.7
Debianisaacs/node-tar< 6.2.1+ds1+~cs6.1.13-10
npmgnu/tar< 7.5.7
NVDisaacs/tar< 7.5.7

Patches

🔴Vulnerability Details

5
OSV
node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal2026-01-28
OSV
CVE-2026-24842: node-tar,a Tar for Node2026-01-28
GHSA
node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal2026-01-28
CVEList
node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal2026-01-28
GHSA
Duplicate Advisory: npm cli Uncontrolled Search Path Element Local Privilege Escalation Vulnerability2026-01-23

📋Vendor Advisories

2
Red Hat
node-tar: tar: node-tar: Arbitrary file creation via path traversal bypass in hardlink security check2026-01-28
Debian
CVE-2026-24842: node-tar - node-tar,a Tar for Node.js, contains a vulnerability in versions prior to 7.5.7 ...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-24842 Impact, Exploitability, and Mitigation Steps | Wiz

💬Community

1
Bugzilla
CVE-2026-24842 node-tar: tar: node-tar: Arbitrary file creation via path traversal bypass in hardlink security check2026-01-28
CVE-2026-24842 — Path Traversal in Isaacs Node-tar | cvebase