Link following in node-tar - #VU170773

 

Link following in node-tar - #VU170773

Published: November 28, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to potentially disclose or overwrite files outside the extraction directory if an application follows a symbolic link created during extraction.

The vulnerability exists due to improper symbolic link resolution in node-tar's extraction path validation when the target is checked relative to a different directory from the one where the link is created. A remote attacker can supply a crafted tar archive to cause the extractor to create a symbolic link that points outside the extraction directory.


Affected software

node-tar

Remediation

Install security update from vendor's website.

node-tar - update to 8.0.0

External References

Related Security Bulletins