PT-2026-164994
CVE-2026-140235
·
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.0 through 7.9.x
Description
The
parseKV() function incorrectly splits length-delimited PAX records on newline characters. A newline within a record value can cause the original field to be dropped, allowing a trailing fragment to be interpreted as a forged path, size, linkpath, or other entry attribute. While default extraction limits forged paths to the extraction root, enabling preservePaths may allow the forged path to be absolute or include a parent-directory component.Recommendations
Update to version 8.0.0.
Disable the
preservePaths option to ensure forged paths remain confined to the extraction root. Found an issue in the description? Have something to add? Feel free to write us 👾