Path traversal in node-tar - #VU170775
Published: November 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to create a symbolic link that points outside the extraction directory and may redirect a later write by the calling application.
The vulnerability exists due to a path traversal flaw in node-tar's archive extractor when it validates a relative symbolic link target against a different base directory than the filesystem uses to resolve it. A remote attacker can supply a crafted archive for a victim to extract to create a symbolic link that escapes the extraction directory.