CVE-2026-23745: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in isaacs node-tar
node-tar is a Tar for Node.js. The node-tar library (<= 7.5.2) fails to sanitize the linkpath of Link (hardlink) and SymbolicLink entries when preservePaths is false (the default secure behavior). This allows malicious archives to bypass the extraction root restriction, leading to Arbitrary File Overwrite via hardlinks and Symlink Poisoning via absolute symlink targets. This vulnerability is fixed in 7.5.3.
AI Analysis
Technical Summary
The node-tar library versions up to 7.5.2 fail to properly sanitize the linkpath of hardlink and symbolic link entries during archive extraction when preservePaths is false. This improper limitation of pathname to a restricted directory (CWE-22) enables attackers to craft malicious tar archives that can overwrite arbitrary files or poison symbolic links on the filesystem. The vulnerability is addressed in node-tar version 7.5.3. Red Hat has rated this vulnerability as Important for its products using node-tar and has issued advisories detailing the impact and mitigation status.
Potential Impact
An attacker can create malicious tar archives that, when extracted, bypass intended security restrictions, leading to arbitrary file overwrite and symlink poisoning. This can result in unauthorized modification of critical files, potentially allowing code execution, bypassing security mechanisms, exposing sensitive data, or causing denial of service by corrupting important files. The CVSS 4.0 base score is 8.2 (high severity), reflecting high confidentiality and integrity impact with local attack vector and low complexity.
Mitigation Recommendations
A fix for this vulnerability is available in node-tar version 7.5.3. Users and vendors should upgrade to this version to remediate the issue. Red Hat advisories indicate that no suitable mitigation other than upgrading meets their criteria for ease of use and deployment. Therefore, upgrading to a fixed version is the recommended remediation. For Red Hat products, monitor official advisories for updates and apply patches when available.
CVE-2026-23745: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in isaacs node-tar
Description
node-tar is a Tar for Node.js. The node-tar library (<= 7.5.2) fails to sanitize the linkpath of Link (hardlink) and SymbolicLink entries when preservePaths is false (the default secure behavior). This allows malicious archives to bypass the extraction root restriction, leading to Arbitrary File Overwrite via hardlinks and Symlink Poisoning via absolute symlink targets. This vulnerability is fixed in 7.5.3.
CVSS v4.0
Score 8.2high
Affected software
isaacs
node-tar
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The node-tar library versions up to 7.5.2 fail to properly sanitize the linkpath of hardlink and symbolic link entries during archive extraction when preservePaths is false. This improper limitation of pathname to a restricted directory (CWE-22) enables attackers to craft malicious tar archives that can overwrite arbitrary files or poison symbolic links on the filesystem. The vulnerability is addressed in node-tar version 7.5.3. Red Hat has rated this vulnerability as Important for its products using node-tar and has issued advisories detailing the impact and mitigation status.
Potential Impact
An attacker can create malicious tar archives that, when extracted, bypass intended security restrictions, leading to arbitrary file overwrite and symlink poisoning. This can result in unauthorized modification of critical files, potentially allowing code execution, bypassing security mechanisms, exposing sensitive data, or causing denial of service by corrupting important files. The CVSS 4.0 base score is 8.2 (high severity), reflecting high confidentiality and integrity impact with local attack vector and low complexity.
Mitigation Recommendations
A fix for this vulnerability is available in node-tar version 7.5.3. Users and vendors should upgrade to this version to remediate the issue. Red Hat advisories indicate that no suitable mitigation other than upgrading meets their criteria for ease of use and deployment. Therefore, upgrading to a fixed version is the recommended remediation. For Red Hat products, monitor official advisories for updates and apply patches when available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-01-15T15:45:01.958Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-23745","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:18480","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:18868","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2900","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3782","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19712","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6192","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2926","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:2144","vendor":"Red Hat"}]
Threat ID: 696ab9f0b22c7ad868fb1aa0
Added to database: 01/16/2026, 22:21:36 UTC
Last enriched: 08/13/2026, 16:31:18 UTC
Last updated: 09/10/2026, 19:46:22 UTC
Views: 756
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.