Interpretation Conflict in node-tar - #VU171945

 

Interpretation Conflict in node-tar - #VU171945

Published: December 2, 2026


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

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.


Affected software

node-tar

Remediation

Install security update from vendor's website.

node-tar - update to 8.0.5

External References

Related Security Bulletins