Laravel 13.37 DoS: What Was Fixed, and How to Check
Last updated: 25 November 2026. This article is based on Laravel's published GitHub advisory and its framework changelog, plus secondary coverage. I did not reproduce the denial-of-service behavior itself; building or demonstrating a working resource-exhaustion exploit is out of scope for this article. See How this was checked . A video and several write-ups this week pointed at a…
On 23 November 2026, Laravel released security advisories disclosing a denial-of-service flaw, assigned CVSS 7.5, affecting versions 13.37.x and earlier of its PHP framework. This vulnerability allowed unauthenticated attackers to send JSON requests that could consume excessive CPU and memory resources, eventually exhausting PHP workers.
While no CVE ID was provided, the impact was significant: ordinary-sized JSON requests could overload the application, with a small number of simultaneous requests leading to resource exhaustion.
The issue stemmed from Laravel's input-cleaning middleware, which had no mechanism to limit the processing of keys within incoming requests. This led to recursive processing of every key, regardless of their number or depth, causing resource-intensive operations when handling unusually large key structures. Laravel addressed the problem in version 13.38.0 for the 13.x line, and in 12.74.0 for the 12.x line, by introducing a byte limit for processed keys.
If the cumulative byte length of all keys exceeded 20 MiB per request, the middleware would raise a PostTooLargeException (HTTP 413), effectively preventing resource-intensive attacks.
To ensure system security, users were advised to upgrade to the patched versions (13.38.0 for 13.x, and 12.74.0 for 12.x). This fix was part of Laravel's public changelog, which documented the change in the framework's GitHub repository. Developers were encouraged to verify their installed version and upgrade if necessary, following Laravel's upgrade guide to adapt their application's request validation accordingly.
It was crucial to note that even recent upgrades for unrelated reasons might not have automatically included this fix, as the advisory's public release occurred after a period of internal patching.
The advisory also highlighted a secondary, less severe validation bug where certain empty-string array keys could bypass validation rules, potentially leading to security gaps. This issue was similarly addressed in subsequent Laravel releases (13.43.0, 12.73.0). While the primary focus was on mitigating the denial-of-service risk, web server configurations, such as setting body size limits and configuring timeouts, were recommended as part of broader defense strategies.
These measures aimed to enhance the overall resilience of Laravel applications against similar types of attacks in the future.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to