Servers and applications
CVE-2026-142637
Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values
- Severity
- Medium 4.8
- Published
- 18 Nov 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Fixed in
- 12.73.0, 13.43.0
- Weakness
- NoSQL injection (CWE-943)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N- Also known as
- GHSA-ch34-gjmh-c4hp
- Sources
- CVE Program, Project advisories (GitHub)
Description
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.
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.
Affected software
| Software | Affected versions |
|---|---|
LaravelServers and applications · cna:laravel|framework |
|
LaravelServers and applications · github:laravel/framework |
|
About Laravel
open source web application framework, written in PHP
- Developers who used it in the past year
- 8.9%Stack Overflow Developer Survey 2025, 2025
- Monthly downloads (Packagist)
- 28,544,906Packagist, 29 Nov 2026
- Total downloads (Packagist)
- 637,079,484Packagist, 29 Nov 2026
- GitHub stars
- 35,235GitHub, 29 Nov 2026
- Forks
- 12,190GitHub, 29 Nov 2026
- Latest release
- v13.44.1GitHub, 29 Nov 2026
- Released
- 24 Nov 2026GitHub
- Developer
- Taylor OtwellWikidata
- License
- MIT LicenseWikidata
- Written in
- PHPWikidata
- First released
- 9 Jun 2011Wikidata
- First published on GitHub
- 10 Jan 2013GitHub
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 13 | 13.44.1 | Until 17 Mar 2028 |
| 12 | 12.74.0 | Until 24 Feb 2027 |
| 11 | 11.57.2 | Ended 12 Mar 2026 |
| 10 | 10.50.5 | Ended 4 Feb 2025 |
| 9 | 9.52.24 | Ended 6 Feb 2024 |
| 8 | 8.83.29 | Ended 24 Jan 2023 |
From endoflife.date.
Vulnerabilities in Laravel
- In our list
- 39
- Published in the last 12 months
- 33
- Critical, last 12 months
- 1
- High, last 12 months
- 3
- Known exploited
- 0
- GHSA-58jq-583v-r2jwHTML attribute injection in Markdown mail when Markdown::withSecuredEncoding() is enabledLow 2.6 2 Dec 2026
- GHSA-w89r-9vfr-qfrmInput validation bypass using `distinct` empty keysMedium 5.3 2 Dec 2026
- GHSA-hr84-34m6-4g4jIP spoofingMedium 5.3 2 Dec 2026
- GHSA-jrc9-gpx2-4p3rDenial of Service using the `distinct` validation ruleMedium 5.3 2 Dec 2026
- GHSA-c7rh-m4h3-jw44Distinct validation rule bypass with invalid UTF-8 array keysMedium 5.3 2 Dec 2026
- CVE-2026-142610Numeric validation can exhaust resources via extreme exponent inputHigh 7.5 25 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142637
- GitHub Advisory Database https://github.com/advisories/GHSA-ch34-gjmh-c4hp
- github.com https://github.com/laravel/framework/security/advisories/GHSA-ch34-gjmh-c4hp