Home / lockfile-lint-api / lockfile-lint-api / CVE-2025-4759
CVE-2025-4759: is it exploited, and which versions of lockfile-lint-api are affected and fixed?
CVE-2025-4759 is an incorrect Behavior Order: Early Validation vulnerability in lockfile-lint-api. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: lockfile-lint-api before 5.9.2 (GitHub advisory GHSA-7cfr-5cjf-32p4). Fixed in 5.9.2 (GitHub advisory GHSA-7cfr-5cjf-32p4). Severity: Medium (6.9, CVSS 4.0, from snyk).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2025-4759?
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.
From the CVE record by snyk, last updated May 16, 2025, 17:39 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| lockfile-lint-api | before 5.9.2 | 5.9.2 |
As the CVE record by snyk states it, last updated May 16, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | lockfile-lint-api | < 5.9.2 | 5.9.2 | GHSA-7cfr-5cjf-32p4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 16, 2025. Summary: lockfile-lint-api Vulnerable to Incorrect Behavior Order.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| lirantal | lockfile-lint-api | before 5.9.2 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:33 UTC.
How severe is CVE-2025-4759?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | 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 | snyk |
| High 8.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P | snyk |
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-4759 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, May 16, 2025)
- EPSS
- 0.45% probability of exploitation activity in the next 30 days, percentile 40.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-179 Incorrect Behavior Order: Early Validation
Where are the vendor advisories and references?
- https://security.snyk.io/vuln/SNYK-JS-LOCKFILELINTAPI-10169587
- 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/pull/204
- https://github.com/lirantal/lockfile-lint/commit/9e5305bd3e4f0c6acc0d23ec43eac2bd5303b4ca
Who found and reported it?
- Xavier Bruni (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 15, 2025
- Published
- May 16, 2025, 05:00 UTC
- CVE record updated
- May 16, 2025, 17:39 UTC by snyk
- NVD
- Analyzed, last modified June 17, 2026, 09:33 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-4759
Is CVE-2025-4759 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.45% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of lockfile-lint-api are affected by CVE-2025-4759?
lockfile-lint-api before 5.9.2, per the GitHub advisory GHSA-7cfr-5cjf-32p4. The tables above give every range the sources list.
Which version fixes CVE-2025-4759?
5.9.2, per the GitHub advisory GHSA-7cfr-5cjf-32p4. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-4759?
Medium (6.9, CVSS 4.0, from snyk). The severity table above shows each score with its source.
Where is the official record of CVE-2025-4759?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.