Input validation error in node-tar - #VU170770
Published: November 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to read or write files outside the intended directory through applications that trust link targets returned by tar.Parser or tar.list().
The vulnerability exists due to inconsistent input validation in node-tar's ReadEntry component when applying global PAX metadata, allowing link targets to reach parsed entries without a strict-mode warning. A remote attacker can supply an archive with misleading link metadata to cause a downstream consumer to access files outside its intended directory.