CVE-2025-48490
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.
CWE
- CWE-20 — CWE-20: Improper Input Validation
- CWE-1173 — CWE-1173: Improper Use of Validation Framework
Affected
- Lomkit / laravel-rest-api — v=< 2.13.0 [affected]
CVSS
- 4.0 score=6.6 severity=MEDIUM
CVSS: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:U
References
- https://github.com/Lomkit/laravel-rest-api/security/advisories/GHSA-69rh-hccr-cxrj x_refsource_CONFIRM
- https://github.com/Lomkit/laravel-rest-api/pull/172 x_refsource_MISC
- https://github.com/Lomkit/laravel-rest-api/commit/88b14587b4efd7e59d7379658c606d325bb513b4 x_refsource_MISC
Source
cvelistV5-main/cves/2025/48xxx/CVE-2025-48490.json