CVE-2025-48490 Laravel Rest Api has a Search Validation Bypass

Medium 6.6 Published Updated

Attackers can bypass validation rules in Laravel Rest Api to inject unexpected parameters, leading to unauthorized data acceptance or processing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-48490?

CVE-2025-48490 is a medium-severity missing authorization vulnerability in Lomkit laravel-rest-api, published on 30 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-20, CWE-1173

Which versions are affected by CVE-2025-48490?

2 open source packages ship an affected version, including lomkit/laravel-rest-api.

PackageAffectedFixed in
lomkit/laravel-rest-api PackagistAll versions2.13.0
lomkit/laravel-rest-api PackagistAll versions2.13.0

How do I fix CVE-2025-48490?

Upgrade lomkit/laravel-rest-api to 2.13.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-48490 being exploited?

There is no known exploitation of CVE-2025-48490 in the wild and no public exploit code.

Sources

Also known as GHSA-69rh-hccr-cxrj.

Is CVE-2025-48490 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free