CVE-2025-48490

Laravel Rest Api has a Search Validation Bypass

State
Published
Severity
6.6 Medium
Published
May 30, 2025
Updated
May 30, 2025
Reserved
May 22, 2025

Read the record on cve.org

Description

Laravel Rest Api is an API generator. Prior to version 2.13.0, a validation bypass vulnerability was discovered where multiple validations defined for the same attribute could be silently overridden. Due to how the framework merged validation rules across multiple contexts (such as index, store, and update actions), malicious actors could exploit this behavior by crafting requests that bypass expected validation rules, potentially injecting unexpected or dangerous parameters into the application. This could lead to unauthorized data being accepted or processed by the API, depending on the context in which the validation was bypassed. This issue has been patched in version 2.13.0.

Scores

CVSSScoreVectorSource
4.06.6 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:UGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation
  • CWE-1173 Improper Use of Validation Framework

Affected Products

ProductVersions
laravel-rest-apiLomkit
  • < 2.13.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.