CVE-2025-48490 – lomkit/laravel-rest-api
Package
Manager: composer
Name: lomkit/laravel-rest-api
Vulnerable Version: >=0 <2.13.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C
CVSS v4.0: 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
EPSS: 0.0012 pctl0.31657
Details
Laravel Rest Api has a Search Validation Bypass A validation bypass vulnerability was discovered prior to version 2.13.0, 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. Impact: This could lead to unauthorized data being accepted or processed by the API, depending on the context in which the validation was bypassed. Patch: The issue was fixed in [PR #172](https://github.com/Lomkit/laravel-rest-api/pull/172) by ensuring that multiple rule definitions are merged correctly rather than overwritten.
Metadata
Created: 2025-05-27T19:47:00Z
Modified: 2025-05-30T15:18:00Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-69rh-hccr-cxrj/GHSA-69rh-hccr-cxrj.json
CWE IDs: ["CWE-1173", "CWE-20"]
Alternative ID: GHSA-69rh-hccr-cxrj
Finding: F184
Auto approve: 1