CVE-2025-4759
published medium CVSS 4.0 · 6.9lockfile-lint-api vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | lockfile-lint-api0 to < 5.9.2 | Affected | Not stated | snyk |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.3 | high | snyk · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | lockfile-lint-api | 0 to < 5.9.2 (affected · semver) | snyk · cna |
Weaknesses
1- CWE-179 Incorrect Behavior Order: Early Validation
References
5- https://gist.github.com/Xavier59/881aef04940970dc3e738dcbff64151f
- https://github.com/lirantal/lockfile-lint/blob/89b5cad028df4d77bab2b73ac93bc61e392668ab/packages/lockfile-lint-api/src/validators/ValidatePackageNames.js%23L51-L63
- https://github.com/lirantal/lockfile-lint/commit/9e5305bd3e4f0c6acc0d23ec43eac2bd5303b4ca
- https://github.com/lirantal/lockfile-lint/pull/204
- https://security.snyk.io/vuln/SNYK-JS-LOCKFILELINTAPI-10169587
Provider assertions
2snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3c75180bd674e75fbfd1844b41cd242360575349cc112465e821d80c23e41a4e
- Ingested
- 23 Sep 2026, 08:51:56 UTC
- Source record
- Official CVE record