Laravel: Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values
Summary
| CVE | CVE-2026-142637 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-02 23:18:42 UTC |
| Updated | 2026-12-02 23:18:42 UTC |
| Description | Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, When Rule::exists() or Rule::unique() is scoped with the fluent where() method, the condition is serialized into the string rule format and parsed again. A scalar value of NULL, NOT_NULL, or one starting with ! could be evaluated as an IS NULL, IS NOT NULL, or not-equal predicate instead of a literal comparison. If an attacker can influence a scope value, such as a tenant key, and the application relies on the rule to verify ownership of a referenced record, the validation can accept records from other scopes. For unique, the scope can be widened. Applications that use independent authorization checks or closure-based where() conditions are not affected in the same way. This issue is fixed in versions 13.43.0 and 12.73.0. |
Risk And Classification
Primary CVSS: v3.1 4.8 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Problem Types: CWE-943 | CWE-943 CWE-943: Improper Neutralization of Special Elements in Data Query Logic
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 4.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 4.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/laravel/framework/releases/tag/v12.73.0 | [email protected] | github.com | |
| github.com/laravel/framework/pull/62426 | [email protected] | github.com | |
| github.com/laravel/framework/commit/029e3a4ceb0c8b7e8394639b161e7d4ef906... | [email protected] | github.com | |
| github.com/laravel/framework/pull/62425 | [email protected] | github.com | |
| github.com/laravel/framework/commit/ef1821b33245d58631784ac2093aed0c5bb9... | [email protected] | github.com | |
| github.com/laravel/framework/security/advisories/GHSA-ch34-gjmh-c4hp | [email protected] | github.com | |
| github.com/laravel/framework/releases/tag/v13.43.0 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.