lockfile-lint-api 5.2.1 before 5.10.0 contains a validation bypass vulnerability in ValidatePackageNames.validate()
Affects lockfile-lint-apiSource GCVE Database
Not known to be exploited · CVSS 6.0 Medium : upgrade to 5.10.0 when convenient.
Data as of 5 Dec 2026, 19:57 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.0 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.3 |
- Patch
- Available – fixed in 5.10.0
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade lockfile-lint-api to 5.10.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmlockfile-lint-apipkg:npm/lockfile-lint-apiOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should exercise caution when accepting lockfiles from untrusted sources and consider additional validation or manual review of package resolutions.
Description
lockfile-lint-api versions from 5.2.1 up to but not including 5.10.0 contain a validation bypass vulnerability in the ValidatePackageNames.validate() function. This flaw allows attackers to bypass package name checks by using dot segments in resolved URLs, enabling them to submit crafted lockfiles that declare trusted package names but resolve to attacker-controlled registry packages. This can cause npm to install malicious packages instead of the intended trusted ones.
References
- github.com/lirantal/lockfile-lint/security/advisories/GHSA-f2p3-vh47-jhg6 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-145569 (opens in a new tab)
- github.com/lirantal/lockfile-lint/commit/562a4bcbbf8e23f5613c31fcb65205ebc0f0069b (opens in a new tab)
- github.com/lirantal/lockfile-lint/blob/b3a5d0d640d47968ba3bf154179cbcf1e82a6cf6/packages/lockfile-lint-api/src/validators/ValidatePackageNames.js (opens in a new tab)
- github.com/lirantal/lockfile-lint/releases/tag/lockfile-lint-api%405.10.0 (opens in a new tab)
- vulncheck.com/advisories/lockfile-lint-api-5.2.1-before-5.10.0-package-name-validation-bypass-via-validatepackagenames (opens in a new tab)