What’s Vulnerable › Vulnerabilities

CVE-2026-23745: node-tar Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization

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.

Affected products

How to fix

Upgrade to a fixed version: isaacs node-tar 7.5.3; Npm Tar 7.5.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-23745 or the next vulnerability affects your stack