Path traversal in node-tar - CVE-2026-23745

 

Path traversal in node-tar - CVE-2026-23745

Published: January 19, 2026


Vulnerability identifier: #VU121640
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2026-23745
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: isaacs
Affected software:
node-tar

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in src/unpack.ts within the [HARDLINK] and [SYMLINK] methods. A remote attacker can send a specially crafted HTTP request and read/overwrite arbitrary files on the system.


How to mitigate CVE-2026-23745

Install updates from vendor's website.

Sources