PT-2026-164997
CVE-2026-140238
·
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 prior to 8.0.0
Description
Newline splitting of PAX extended header records allows for the forgery of attacker-controlled entry attributes. Direct extraction without the strip option can lead to the overwriting of paths within the extraction target. In the npm execution chain on Windows, this requires strip:1 normalization, an overwrite of the
package.json file, and the subsequent execution of an injected postinstall script. POSIX npm processing using strip:1 is not affected by this specific chain.Recommendations
Update node-tar to version 8.0.0.
Found an issue in the description? Have something to add? Feel free to write us 👾