{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-4759","id":"CVE-2025-4759","title":"lockfile-lint-api Vulnerable to Incorrect Behavior Order","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.","descriptionLong":"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.","published":"2025-05-16T05:00:04.621Z","updated":"2026-10-28T02:30:52.886188920Z","reserved":"2025-05-15T09:39:15.877Z","status":"Analyzed","rejected":false,"assigner":"snyk","metric":{"version":"4.0","score":6.9,"vector":"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","rating":"medium","source":"snyk"},"metrics":[{"version":"4.0","score":6.9,"vector":"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","rating":"medium","source":"snyk"},{"version":"4.0","score":5.5,"vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"snyk.io"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P","rating":"high","source":"snyk"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"snyk.io"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"GitHub"}],"rating":"medium","products":["lockfile-lint-api"],"affectedProducts":[{"vendor":"n/a","product":"lockfile-lint-api","defaultStatus":null,"versions":[{"version":"0","lessThan":"5.9.2","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"lockfile-lint-api","purl":"pkg:npm/lockfile-lint-api","ranges":["<5.9.2"],"fixed":["5.9.2"],"advisory":"GHSA-7cfr-5cjf-32p4"}],"cwes":["CWE-179"],"aliases":["GHSA-7cfr-5cjf-32p4"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-LOCKFILELINTAPI-10169587","tags":["Third Party Advisory","web"]},{"url":"https://gist.github.com/Xavier59/881aef04940970dc3e738dcbff64151f","tags":["Exploit","web"]},{"url":"https://github.com/lirantal/lockfile-lint/blob/89b5cad028df4d77bab2b73ac93bc61e392668ab/packages/lockfile-lint-api/src/validators/ValidatePackageNames.js%23L51-L63","tags":["Broken Link","web"]},{"url":"https://github.com/lirantal/lockfile-lint/pull/204","tags":["Patch","fix","web"]},{"url":"https://github.com/lirantal/lockfile-lint/commit/9e5305bd3e4f0c6acc0d23ec43eac2bd5303b4ca","tags":["Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4759.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4759","tags":["advisory"]},{"url":"https://github.com/lirantal/lockfile-lint","tags":["package"]},{"url":"https://github.com/lirantal/lockfile-lint/blob/89b5cad028df4d77bab2b73ac93bc61e392668ab/packages/lockfile-lint-api/src/validators/ValidatePackageNames.js#L51-L63","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00447,"epssPercentile":0.39609,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-4759","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4759","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-4759","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7cfr-5cjf-32p4","ok":true,"note":"GHSA-7cfr-5cjf-32p4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-4759","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}