Skip to main content
CVE-2026-145569VulnerabilityPublished

lockfile-lint-api 5.2.1 before 5.10.0 contains a validation bypass vulnerability in ValidatePackageNames.validate()

Affects lockfile-lint-apiSource GCVE Database

0
Compare
Authoritative record:CVE-2026-145569· Medium 6.0

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

CVSS 4.0 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.06.0
CNA (VulnCheck)CVSS 3.15.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npmlockfile-lint-apipkg:npm/lockfile-lint-apiOther threatsAffected
  • >=5.2.1 <5.10.0
Fixed in
  • 5.10.0

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

Community reviews

Loading reviews…