CVE-2025-48490
PHP vulnerability analysis and mitigation

Overview

CVE-2025-48490 is a validation bypass vulnerability discovered in Laravel Rest API (lomkit/laravel-rest-api) affecting versions prior to 2.13.0. The vulnerability was discovered and disclosed on May 25, 2025. The issue affects how the framework handles validation rules across multiple contexts such as index, store, and update actions, where multiple validations defined for the same attribute could be silently overridden (GitHub Advisory, Wiz).

Technical details

The vulnerability occurs when multiple validations defined for the same attribute could be silently overridden. Due to the framework's handling of validation rule merging across different contexts, malicious actors could craft requests that bypass expected validation rules. The vulnerability has been assigned a CVSS v4.0 base score of 6.6 (Moderate) with the following vector: 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 (GitHub Advisory).

Impact

The vulnerability could lead to unauthorized data being accepted or processed by the API, depending on the context in which the validation was bypassed. This could potentially allow attackers to inject unexpected or dangerous parameters into the application (GitHub Advisory, Wiz).

Mitigation and workarounds

The vulnerability has been patched in version 2.13.0. The fix was implemented in PR #172, which ensures that multiple rule definitions are merged correctly rather than being overwritten. Users are advised to upgrade to version 2.13.0 or later to address this security issue (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management