PT-2026-169284
CVE-2026-145569
·
Published
2026-12-05
·
Updated
2026-12-05
Description by
CVSS 4.0
6.0
MediumMetricsAV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
lockfile-lint-api versions 5.2.1 through 5.9.9
Description
A validation bypass exists in the
ValidatePackageNames.validate() function. This issue allows attackers to evade package name checks by utilizing dot segments in resolved URLs. By submitting a crafted lockfile that declares a trusted package name but uses a resolved path traversing to a malicious registry package, an attacker can trick npm into installing the unauthorized package.Recommendations
Update lockfile-lint-api to version 5.10.0 or later.
As a temporary workaround, restrict the use of the
ValidatePackageNames.validate() function until the update is applied. Found an issue in the description? Have something to add? Feel free to write us 👾