Laravel: Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values
CVE-2026-142637
Impact 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, NOTNULL, 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. Patches A fix that makes the validator read conditions from the rule object so where() values are compared literally is proposed in laravel/framework pull requests 62425 (13.x) and 62426 (12.x). Workarounds Do not pass user-influenced values to the scalar where() form. Use a closure-based where() and perform independent ownership authorization of referenced records.
Assessment
- CVSS
- 4.8 (v3.1)
- Severity
- Medium
- EPSS
- 0.00327% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 3 December 2026
- Last updated
- 3 December 2026
- Affected
- laravel · framework · laravel/framework
- Weakness
- CWE-943
- Assigner
- GitHub_M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
At the source
References
- https://github.com/laravel/framework/security/advisories/GHSA-ch34-gjmh-c4hp
- https://nvd.nist.gov/vuln/detail/CVE-2026-142637
- https://github.com/laravel/framework/pull/62425
- https://github.com/laravel/framework/pull/62426
- https://github.com/laravel/framework/commit/029e3a4ceb0c8b7e8394639b161e7d4ef906af54
- https://github.com/laravel/framework/commit/ef1821b33245d58631784ac2093aed0c5bb91242
- https://github.com/laravel/framework/releases/tag/v12.73.0
- https://github.com/laravel/framework/releases/tag/v13.43.0
- https://github.com/advisories/GHSA-ch34-gjmh-c4hp
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-142637