PT-2026-165008
CVE-2026-140249
·
Published
2026-12-01
·
Updated
2026-12-02
Description by
CVSS 4.0
7.2
HighMetricsAV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
node-tar versions 7.5.5 through 7.9.x
Description
A flaw in the way symlink targets are handled allows them to escape the extraction directory via an in-archive symlink chain. An attacker providing a malicious tarball can cause the
tar.x() function, when used with default options, to create symlinks within the extraction directory that point to any path on the system. While the library does not write through these links during extraction, any subsequent read or write operations performed by the application on the extracted files will follow the links, enabling arbitrary file read and write access with the permissions of the user performing the extraction.Recommendations
Update to version 8.0.0.
Found an issue in the description? Have something to add? Feel free to write us 👾