PT-2026-23608 · Node-Tar+1 · Node-Tar+1
Jvr2022
·
Published
2026-03-05
·
Updated
2026-05-18
·
CVE-2026-29786
CVSS v4.0
8.2
High
| Vector | AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L |
Name of the Vulnerable Software and Affected Versions
node-tar versions prior to 7.5.10
Description
The node-tar package contains a flaw where it can be tricked into creating a hardlink that points outside the extraction directory. This is achieved by using a drive-relative link target, such as 'C:../target.txt', which allows for file overwrite outside the current working directory during normal tar.x() extraction. The extraction logic fails to properly handle '..' segments before stripping absolute roots, leading to the creation of the malicious hardlink. This issue is reachable when extracting attacker-controlled tar archives. The impact of this issue is an arbitrary file overwrite primitive outside the intended extraction root, with the permissions of the process performing extraction.
Recommendations
Versions prior to 7.5.10 should be updated to version 7.5.10 or later.
Exploit
Fix
Link Following
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Red Os
Node-Tar