CVE-2025-4759
Lirantal Lockfile-lint-api vulnerability
Versions of the package lockfile-lint-api before 5.9.2 are vulnerable to Incorrect Behavior Order: Early Validation via the resolved attribute of the package URL validation which can be bypassed by extending the package name allowing an attacker to install other npm packages than the intended one.
Affected products
Lockfile-lint-api. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Lirantal Lockfile-lint-api runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/lirantal/lockfile-lint/commit/9e5305bd3e4f0c6acc0d23ec43eac2bd5303b4ca · Patch
- github.com/lirantal/lockfile-lint/pull/204 · Patch
- security.snyk.io/vuln/SNYK-JS-LOCKFILELINTAPI-10169587 · Third Party Advisory
- gist.github.com/Xavier59/881aef04940970dc3e738dcbff64151f · Exploit
- github.com/lirantal/lockfile-lint/blob/89b5cad028df4d77bab2b73ac93bc61e392668ab/packages/l
- nvd.nist.gov/vuln/detail/CVE-2025-4759
- github.com/lirantal/lockfile-lint/blob/89b5cad028df4d77bab2b73ac93bc61e392668ab/packages/l
- github.com/advisories/GHSA-7cfr-5cjf-32p4
- nvd.nist.gov/vuln/detail/CVE-2025-4759
- cve.org/CVERecord?id=CVE-2025-4759
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.