Path traversal in node-tar - #VU170776
Published: November 28, 2026
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.