Path traversal in node-tar - #VU170776

 

Path traversal in node-tar - #VU170776

Published: November 28, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to disclose the contents of host files outside the extraction directory if an application follows the extracted symbolic link.

The vulnerability exists due to path traversal in node-tar's symbolic link extraction when the containment check and the non-Windows filesystem interpret path separators differently. A remote attacker can supply a crafted tar archive for extraction with default options 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