Link following in node-tar - #VU170774

 

Link following in node-tar - #VU170774

Published: November 28, 2026


Vulnerability identifier: #VU170774
CSH Severity: Medium
CVSS v4: 5.7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-59
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive files outside the extraction directory if a downstream process follows a symlink created during extraction.

The vulnerability exists due to improper link resolution in the node-tar unpacker when it checks symlink targets using lexical normalization rather than filesystem resolution. A remote attacker can supply a crafted archive that, when extracted, leaves an out-of-directory symlink that a downstream process may follow when reading, serving, copying, or archiving the extracted files.


Affected software

node-tar

Remediation

Install security update from vendor's website.

node-tar - update to 8.0.0

External References

Related Security Bulletins