lockfile-lint-api 5.2.1 before 5.10.0 Package Name Validation Bypass via ValidatePackageNames
- CVE-2026-145569
- EUVD-2026-145709
Summary
lockfile-lint-api versions 5.2.1 before 5.10.0 contain a validation bypass in the ValidatePackageNames.validate() function. The check that is meant to confirm package names can be evaded by using dot segments in resolved URLs. An attacker can submit a crafted lockfile that declares a trusted package name while its resolved path traverses to a package on the attacker's own registry. As a result, npm may install the attacker's package instead of the trusted one. The record is rated CVSS 5.3 and is not listed in the CISA known exploited vulnerabilities catalog. Teams that use lockfile-lint-api to vet lockfiles should consider upgrading to 5.10.0 or later.
AI summary · verify against the vendor advisory
Description
lockfile-lint-api 5.2.1 before 5.10.0 contains a validation bypass vulnerability in ValidatePackageNames.validate() that allows attackers to evade package name checks by using dot segments in resolved URLs. Attackers can submit a crafted lockfile declaring a trusted package name with a resolved path traversing to their own registry package, causing npm to install it instead.
Text from the CVE.org record.
Recommendation
lirantal lockfile-lint-api
- If you run a version from 5.2.1 to before 5.10.0update to 5.10.0 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
lirantal lockfile-lint-api
Affected versions Fixed in from 5.2.1 to before 5.10.0 5.10.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.