Laravel security update (Dec 2026): 22 CVEs, safe versions, and the composer commands to patch
Laravel published 22 security advisories for laravel/framework on 3 and 4 December 2026. Two are rated high (CVSS 7.5), 18 medium and 2 low. The fixes were already out: they shipped in Laravel's regular weekly releases t
Laravel published 22 security advisories for laravel/framework on 3 and 4 December 2026. Two are rated high (CVSS 7.5), 18 medium and 2 low. The fixes were already out: they shipped in Laravel's regular weekly releases through November, before the advisories went public.
Which versions are safe? Laravel 13.44.1 or later and 12.74.0 or later fix all 22. The latest releases are 13.45.0 and 12.75.0, both from 1 December. Laravel 13.43.0 still leaves one high-severity flaw open. Laravel 11 and older are listed as affected and get no patch, because Laravel 11's security support ended on 12 March 2026.
What goes wrong? Most of the bugs are in validation, the part of Laravel every form uses:
- The
multiple_of,gt,gte,ltandlterules could be given a number with an extreme exponent and use enough memory and CPU to exhaust PHP's limit (CVE-2026-142610). - A crafted JSON request body of ordinary size can tie up every PHP worker (CVE-2026-142612).
- On a nested field validated with
sometimes, sending the literal text__missing__skipped every rule. - On MySQL and MariaDB, JSON input such as
0orfalsecould satisfy anexistsrule on a text column.
The rest include two Blade XSS bugs, temporary signed URLs that never expire, a $guarded mass-assignment bypass, and IP spoofing through the Host header when no trusted proxies are set. None of the advisories reports attacks as of 4 December.
How to check and patch
-
php artisan --versionshows your version. -
composer auditlists the known vulnerabilities in your installed packages. On a Laravel 13.40.0 project we checked, 16 of the 22 were still open. -
composer update laravel/framework --with-all-dependencies, thenphp artisan view:clear, run your tests, and runcomposer auditagain.
These are minor releases inside the same major version, where Laravel promises no breaking changes. Remember to deploy the new composer.lock to the server.
Can't update today? Laravel's advisories give stopgaps: put a size check and bail before the expensive rule, for example bail|max:254|email, or max before decimal, and add string before exists. They buy a day; the update is the fix.
Sources
- Laravel framework security advisories (GitHub)
- CVE-2026-142610: numeric validation resource exhaustion
- CVE-2026-142612: denial of service via crafted JSON request body
- CVE-2026-142624: nested sometimes rules skipped
- CVE-2026-142643: exists rule bypass on MySQL/MariaDB
- Laravel support policy and release notes
- Laravel framework releases (GitHub)
- Composer command line: audit
This is the short version. The full guide, with every step and source, is on GeekSpark.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.