CVE-2026-142637
Laravel: Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values
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.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| framework laravel |
>= 13.0.0, < 13.43.0 (affected) < 12.73.0 (affected) |
CNA: GitHub_M |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 4.8 medium |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N | CNA: GitHub_M |
| 3.1 / 4.8 medium |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/laravel/framework/security/advisories/GHSA-ch34-gjmh-c4hpCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/laravel/framework/pull/62425CNA: GitHub_M · x_refsource_MISC
- https://github.com/laravel/framework/pull/62426CNA: GitHub_M · x_refsource_MISC
- https://github.com/laravel/framework/commit/029e3a4ceb0c8b7e8394639b161e7d4ef906af54CNA: GitHub_M · x_refsource_MISC
- https://github.com/laravel/framework/commit/ef1821b33245d58631784ac2093aed0c5bb91242CNA: GitHub_M · x_refsource_MISC
- https://github.com/laravel/framework/releases/tag/v12.73.0CNA: GitHub_M · x_refsource_MISC
- https://github.com/laravel/framework/releases/tag/v13.43.0CNA: GitHub_M · x_refsource_MISC
- https://github.com/laravel/framework/commit/029e3a4ceb0c8b7e8394639b161e7d4ef906af54[email protected]
- https://github.com/laravel/framework/commit/ef1821b33245d58631784ac2093aed0c5bb91242[email protected]
- https://github.com/laravel/framework/pull/62425[email protected]
- https://github.com/laravel/framework/pull/62426[email protected]
- https://github.com/laravel/framework/releases/tag/v12.73.0[email protected]
- https://github.com/laravel/framework/releases/tag/v13.43.0[email protected]
- https://github.com/laravel/framework/security/advisories/GHSA-ch34-gjmh-c4hp[email protected]
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.