CVE-2026-24842
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2026-01-28

Last updated on: 2026-02-02

Assigner: GitHub, Inc.

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-28
Last Modified
2026-02-02
Generated
2026-06-16
AI Q&A
2026-01-29
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
isaacs tar to 7.5.7 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CWE-59 The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The vulnerability in node-tar versions prior to 7.5.7 is due to a mismatch between the security check for hardlink entries and the actual hardlink creation logic. Specifically, the path resolution semantics used in the security check differ from those used when creating hardlinks. This flaw allows an attacker to craft a malicious TAR archive that bypasses path traversal protections and creates hardlinks to arbitrary files outside the intended extraction directory.

Impact Analysis

This vulnerability can allow an attacker to create hardlinks to arbitrary files outside the extraction directory when extracting a malicious TAR archive. This can lead to unauthorized access or modification of files, potentially compromising system integrity and confidentiality.

Mitigation Strategies

Upgrade node-tar to version 7.5.7 or later, as this version contains the fix for the vulnerability. Avoid extracting TAR archives from untrusted sources until the upgrade is applied.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-24842. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart