CVE-2025-48490: Lomkit/laravel rest api Laravel Rest Api Has A Vulnerability
MODERATECVE-2025-48490 is a MODERATE laravel rest api has a vulnerability (CWE-1173: Improper Use of Validation Framework) affecting Lomkit/laravel rest api libraries in the Packagist ecosystem. The issue involves laravel rest api has a search validation bypass. Remediation is available by upgrading affected packages to version 2.13.0.
CVE-2025-48490 at a Glance
How to Fix CVE-2025-48490
To remediate this vulnerability, upgrade all affected Lomkit/laravel rest api dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade lomkit/laravel-rest-api to 2.13.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for lomkit/laravel-rest-api
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-48490, inspect your project dependencies for Lomkit/laravel rest api:
inspect dependencies for lomkit/laravel-rest-api
Analyze the terminal output to locate any version of Lomkit/laravel rest api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.13.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1173: Improper Use of Validation Framework, where the product does not use, or incorrectly uses, an input validation framework that is provided by the source language or an independent library. In Lomkit/laravel rest api, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-48490 Affected Lomkit/laravel rest api Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
lomkit/laravel-rest-api
|
Packagist |
< 2.13.0
|
2.13.0
|
References
Frequently Asked Questions
What is CVE-2025-48490?
Which Lomkit/laravel rest api versions are affected?
What version fixes CVE-2025-48490?
Is lomkit/laravel-rest-api affected?
What CWE is associated with CVE-2025-48490?
How can I check Packagist dependencies for CVE-2025-48490?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-69rh-hccr-cxrj",
"modified" : "2025-05-30T15:18:00Z",
"published" : "2025-05-27T19:47:00Z",
"aliases" : [ "CVE-2025-48490" ],
"summary" : "Laravel Rest Api has a Search Validation Bypass",
"details" : "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.\n\nImpact:\n\nThis could lead to unauthorized data being accepted or processed by the API, depending on the context in which the validation was bypassed.\n\nPatch:\n\nThe 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "lomkit/laravel-rest-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.13.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Lomkit/laravel-rest-api/security/advisories/GHSA-69rh-hccr-cxrj"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-48490"
}, {
"type" : "WEB",
"url" : "https://github.com/Lomkit/laravel-rest-api/pull/172"
}, {
"type" : "WEB",
"url" : "https://github.com/Lomkit/laravel-rest-api/commit/88b14587b4efd7e59d7379658c606d325bb513b4"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Lomkit/laravel-rest-api"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1173", "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-27T19:47:00Z",
"nvd_published_at" : "2025-05-30T06:15:28Z"
}
}