CVE-2026-24842

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

Configuration 1 (hide)

cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:*

History

02 Feb 2026, 14:30

Type Values Removed Values Added
CPE cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:*
First Time Isaacs tar
Isaacs
References () https://github.com/isaacs/node-tar/commit/f4a7aa9bc3d717c987fdf1480ff7a64e87ffdb46 - () https://github.com/isaacs/node-tar/commit/f4a7aa9bc3d717c987fdf1480ff7a64e87ffdb46 - Patch
References () https://github.com/isaacs/node-tar/security/advisories/GHSA-34x7-hfp2-rc4v - () https://github.com/isaacs/node-tar/security/advisories/GHSA-34x7-hfp2-rc4v - Exploit, Vendor Advisory

28 Jan 2026, 01:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-28 01:16

Updated : 2026-02-02 14:30


NVD link : CVE-2026-24842

Mitre link : CVE-2026-24842

CVE.ORG link : CVE-2026-24842


JSON object : View

Products Affected

isaacs

  • tar
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-59

Improper Link Resolution Before File Access ('Link Following')