Input validation error in node-tar - #VU170770

 

Input validation error in node-tar - #VU170770

Published: November 28, 2026


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

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.


Affected software

node-tar

Remediation

Install security update from vendor's website.

node-tar - update to 8.0.0

External References

Related Security Bulletins