Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 2 min read

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, lt and lte rules 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 0 or false could satisfy an exists rule 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

  1. php artisan --version shows your version.
  2. composer audit lists the known vulnerabilities in your installed packages. On a Laravel 13.40.0 project we checked, 16 of the 22 were still open.
  3. composer update laravel/framework --with-all-dependencies, then php artisan view:clear, run your tests, and run composer audit again.

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

This is the short version. The full guide, with every step and source, is on GeekSpark.

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.