ADVISORIES

GitHub Advisory Database

GHSA-7cfr-5cjf-32p4

lockfile-lint-api Vulnerable to Incorrect Behavior Order

Moderate CVE-2025-4759

Details

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 packages

EcosystemPackageAffected versions
npmlockfile-lint-api
All versions before 5.9.2 (fixed in 5.9.2)

References