PT-2026-165007
CVE-2026-140248
·
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions
node-tar versions 7.5.22 through 8.0.0
Description
When
preservePaths is disabled, a specially crafted archive can create an in-root symlink followed by a second SymbolicLink. The linkpath of the second link traverses the first symlink and then a parent component. Because STRIPABSOLUTEPATH evaluates the target lexically while the filesystem follows the first symlink before applying the parent traversal, a link is created that remains inside the extraction tree but points to a location outside of it. This allows access outside the root directory when a subsequent consumer follows the planted link.Recommendations
Update to version 8.0.0.
Found an issue in the description? Have something to add? Feel free to write us 👾