Interpretation Conflict in node-tar - #VU171945
Published: December 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to conceal an archive entry's extraction path from a node-tar scanner and potentially cause files to be written outside the intended directory.
The vulnerability exists due to inconsistent path interpretation in the node-tar header parser when it silently discards a ustar path prefix that another parser honors. A remote attacker can supply a crafted archive to a pipeline that scans it with node-tar and extracts it with another parser, causing extraction to use a path the scanner did not inspect.