Path traversal in node-tar - #VU170775

 

Path traversal in node-tar - #VU170775

Published: November 28, 2026


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

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.


Affected software

node-tar

Remediation

Install security update from vendor's website.

node-tar - update to 8.0.0

External References

Related Security Bulletins