Samuel Arendt

Laravel 12.74.0 and 13.44.1 fix two unauthenticated denial-of-service flaws

Laravel published three security advisories for laravel/framework between November 23 and 25, 2026. Two are rated high (CVSS 7.5) and cover unauthenticated denial of service. One involves a JSON body of ordinary size and the other a number with an extreme exponent, and in both cases the request can exhaust the PHP workers. The versions that fix everything are 12.74.0 and 13.44.1, published on Packagist on November 24. None of the advisories has a CVE.

The three flaws

The November 23 advisory (GHSA-8h64-cpq2-9h2g) says a specially crafted JSON request, without being large, makes the application spend far too much CPU and memory while handling it. According to the text, a few concurrent requests are enough to tie up every PHP worker and take the application offline, and the attacker does not need to be logged in. On the 13 line, the fix has existed since 13.38.0, released in October. On the 12 line, it landed in 12.74.0, whose release notes include the backport of the per-key byte limit in TransformsRequest (PR #62582).

The November 25 advisory (GHSA-c25c-x5r7-2v5m) covers the multiple_of, gt, gte, lt and lte validation rules. When these rules compare a value against another numeric field, Laravel expanded the number with arbitrary-precision arithmetic without bounding the exponent. As a result, a number sent with a very large or very small exponent consumes memory and CPU and can exceed PHP's memory_limit. The min, max, between and size rules, and comparisons against a fixed number in the rule, are not affected. The fix is in 12.74.0 and 13.44.1 (PRs #62589 and #62590).

The third advisory, also from November 23 and rated moderate (GHSA-cq3g-fj94-c8p3), explains one of the fixes that had already shipped in 12.73.0 and 13.43.0. An array element with an empty key, such as {"items": {"": {...}}}, escaped the rules declared on items.*, so invalid data passed validation. When this blog covered the Laravel 12.73.0 and 13.43.0 fixes on November 17, that flaw had no published advisory yet.

Who is exposed

The JSON flaw affects any Laravel 12 application before 12.74.0 and any Laravel 13 application before 13.38.0 that accepts JSON on public routes. APIs, webhooks and forms submitted through JavaScript all count.

The exponent flaw depends on the code. It affects forms and endpoints that use multiple_of, or gt, gte, lt and lte against another field, on a number that no earlier rule has bounded. In ordering, quoting or inventory systems, fields such as quantity, price and discount often carry this kind of rule.

Laravel 11, 10 and 9 are not listed among the patched versions in any of the three advisories. Under Laravel's support policy, version 11 stopped receiving security fixes on March 12, 2026. Version 12 has received only security fixes since August 13, and that lasts until February 24, 2027. The decision about when to migrate needs to account for that date, because after it, advisories like these will no longer get a fix on the 12 line.

What to do now

Update laravel/framework to 12.74.0 or 13.44.1, run the test suite and deploy.

Until the update ships, the exponent advisory offers a containment step: bound the number before the affected rule and stop at the first failure, for example bail|numeric|min:0|max:100|multiple_of:2. A low memory_limit also makes PHP fail sooner with a fatal error, but that only shortens how long each request holds a worker. For the JSON flaw, the only remedy the advisory gives is the update.

Teams still on Laravel 11 or earlier need to plan the move to 12 or 13. Tags 11.57.2 and 10.50.5 were published on Packagist on the same November 24, but their GitHub release pages list no changes, and the advisories do not name them as patched.

What is still unknown

None of the three advisories had a CVE as of November 30, so audit tools that rely only on CVEs may not flag the affected versions. It is worth checking whether the tool your team uses recognizes GHSA identifiers. It is also unknown whether tags 11.57.2 and 10.50.5 contain any of these fixes. The advisories do not mention active exploitation, and the flaws are not in CISA's Known Exploited Vulnerabilities catalog.

If your company is weighing something similar or needs support on this topic, reach me on LinkedIn or WhatsApp.

References

Thin dark lines running diagonally across a plain blue-green background

Photo by Christian Lue on Unsplash

#Operations, #Radar, #Software Quality