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-05-07
AI Q&A
2026-01-29
EPSS Evaluated
2026-05-05
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-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.
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.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

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.


How can this vulnerability impact me? :

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.


What immediate steps should I take to mitigate this vulnerability?

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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart