Laravel numeric validation rules can exhaust resources via extreme exponents
CVE-2026-142610
Web apps using Laravel number checks can be stopped.
- CVE
- CVE-2026-142610 (opens in a new tab)
- Score
- CVSS 7.5
- First seen
Mitigation
Update the Laravel framework to 12.74.0 or 13.44.1 or later. Until then, bound the value before the rule, for example bail|numeric|min:0|max:100.
Update to at least the version for your product:
- Laravel framework 12.x 12.74.0 or later
- Laravel framework 13.x 13.44.1 or later
Can't update yet?
Add this line to the config file:
bail|numeric|min:0|max:100|multiple_of:2
A wrong setting can stop the service or lock you out. Check the source links below first.
Summary
The multiple_of rule and the gt, gte, lt and lte rules that compare against another numeric field expand input with unbounded exponents, using excessive memory and CPU. An unauthenticated remote attacker can make the application stop, and applications that apply these rules to an unbounded numeric field are affected.
Exploit code is public
Affected when
- The multiple_of rule or gt, gte, lt, lte comparing another numeric field applied to an unbounded numeric field
- No preceding min, max or between rule combined with bail
5 other Incidents of this product in the last 30 days
Incidents by product: Laravel framework
Other recent Incidents of Laravel framework
Read the advisory · github.com (opens in a new tab)
- Advisory: github.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)
- Repository: googlesky/CVE-2026-142610 (opens in a new tab)