Actively exploited Attackers exploit Acronis Backup plugin for cPanel; users of version 1.9.4 are told to downgrade CVSS 7.5 · Published Dec 4, 05:40 UTC What to do now ›

TechNews

Laravel publishes eight security advisories in two weeks, two of them unauthenticated denial-of-service flaws

Laravel has published eight advisories for its framework since Nov 18, four of them on Dec 2. Two let an unauthenticated attacker tie up an application's PHP workers; Laravel 13.45.0 and 12.75.0 fix all eight.

7.5 HighPatch available

News graphic with the label 'Developer security', the title 'Laravel' and the line '8 advisories, fixed in 13.45.0 and 12.75.0', above an illustration of a small JSON document sent to a web server whose row of worker slots has all turned red
Illustration: AI Security Times
CVE
CVE-2026-142612CVE-2026-142610CVE-2026-142625
+1 moreCVE-2026-142611
Severity
7.5 High
CVSS 7.5, High
Status
Patch available
Product
Laravel framework (laravel/framework on Packagist)

Am I affected?

Check your version
Affected
Laravel 13 before 13.45.0 and Laravel 12 before 12.75.0; the advisories list no fixes for Laravel 11 or older
Fixed in
13.45.0 and 12.75.0, released on Dec 1, 2026

What to do now:

  1. Update to Laravel 13.45.0 or 12.75.0 or later with composer update laravel/framework.
  2. If you are still on Laravel 11 or older, plan the move to 12 or 13: Laravel 11 stopped receiving security fixes on March 12, 2026.
  3. If you cannot update yet, put a bounding rule before the affected validation rules, such as bail|max:254|email, or bail|numeric|min:0|max:100|multiple_of:2, as the advisories suggest.

Laravel has published eight security advisories for its PHP framework in its GitHub repository since Nov 18. Four of them appeared on Dec 2. Two are rated high: both let an unauthenticated attacker use up an application’s PHP workers with a handful of requests. Packagist counted about 31.2 million installs of laravel/framework in the past month.

All eight are fixed in Laravel 13.45.0 and 12.75.0, which were released on Dec 1.

Advisory Severity First fixed in
Crafted JSON request body (CVE-2026-142612) High (7.5) 13.38.0 (Oct 20) and 12.74.0 (Nov 24)
Numeric rules with extreme exponents (CVE-2026-142610) High (7.5) 13.44.1 and 12.74.0 (Nov 24)
Email rule with oversized Unicode domains (CVE-2026-142625) Medium (5.3) 13.43.0 (Nov 17) and 12.72.0 (Nov 10)
Empty array key skips wildcard rules (CVE-2026-142611) Medium (5.4) 13.43.0 and 12.73.0 (Nov 17)
distinct rule takes quadratic time Medium (5.3) 13.45.0 and 12.75.0 (Dec 1)
distinct bypass with invalid UTF-8 keys Medium (5.3) 13.45.0 and 12.75.0
distinct bypass with empty keys Medium (5.3) 13.45.0 and 12.75.0
Client IP spoofing through X-Forwarded-For Medium (5.3) 13.45.0 (Laravel 13 only)

The scores are CVSS 3.1 ratings from the advisories. The four advisories published on Dec 2 have no CVE numbers yet.

The JSON body flaw

The most serious advisory is the shortest. “A specially crafted JSON request of ordinary size can make a Laravel application use far too much CPU and memory while it handles the request,” Laravel writes. “An unauthenticated attacker can send a small number of these requests at once to use up every PHP worker and take the application offline.”

The pull request that brought the fix to Laravel 12 explains the cause. Two middleware classes that Laravel runs on every request, TrimStrings and ConvertEmptyStringsToNull, build a new copy of an array’s key for each of its elements. A request with one very long key holding a large array therefore multiplies the work: “A ~590 KB JSON body (a ~295 KB key with ~147k items) causes ~43 GB of string building and ~30s of CPU.” Because the middleware runs “globally before routing and auth”, no login is needed.

The fix keeps a running total of key bytes for each request and rejects the request with an HTTP 413 error once it passes 20 MB. Laravel 13 received it on Oct 20; the Laravel 12 fix followed on Nov 24.

Validation rules that cost too much

Three more advisories concern validation rules that do far more work than the input justifies:

  • Numeric rules. The multiple_of rule, and the gt, gte, lt and lte rules when they compare two numeric fields, expand numbers “using arbitrary-precision arithmetic without bounding its exponent”. A value in scientific notation with a huge exponent can exhaust PHP’s memory limit.
  • Email addresses. With the PHP intl extension enabled, an oversized address with crafted non-ASCII domain names triggers expensive Unicode processing. The fixed versions reject addresses longer than 254 bytes before validating them.
  • The distinct rule. On large wildcard arrays, distinct “could take quadratic time”. Laravel says “a request of roughly 220 KB could exceed the default PHP execution time limit”.

Rules that let bad input through

The other three validation advisories go the other way: input that should be rejected passes. In one, an array element whose key is an empty string, such as {"items": {"": {"name": "..."}}}, skips every rule attached to items.*. In two others, duplicate values slip past the distinct rule when they sit under array keys with invalid UTF-8 or under empty keys.

The last advisory affects only Laravel 13. When an application trusts all proxies (trusted proxies set to *), a client could spoof its IP address through the left-most X-Forwarded-For value. Applications that rely on the client IP for rate limiting or access rules should check that setting.

What to do

Update to Laravel 13.45.0 or 12.75.0. Laravel 12 receives security fixes until Feb 24, 2027. Laravel 11 stopped receiving them on March 12, 2026, and the advisories list no fixes for it or for older versions. Applications still on those versions remain exposed to the JSON body flaw, which needs no login and no particular validation rule.

Sources

  1. Laravel security advisories (laravel/framework on GitHub)Project
  2. GHSA-8h64-cpq2-9h2g: Denial of service via crafted JSON request bodyAdvisory
  3. GHSA-c25c-x5r7-2v5m: Numeric validation can exhaust resources via extreme exponent inputAdvisory
  4. GHSA-jrc9-gpx2-4p3r: Denial of Service using the distinct validation ruleAdvisory
  5. laravel/framework pull request 62582: Backport TransformsRequest key byte limitProject
  6. Laravel release notes: support policyProject
  7. laravel/framework on PackagistPackagist

AI Security Times

Newsroom

Stories signed AI Security Times are researched and drafted with AI assistance, checked against their primary sources and approved by our editor before they are published. Every news story and analysis lists its sources at the end. Read how we use AI and our editorial standards.

More from AI Security Times ›

Spotted a mistake? Report an error

Related coverage

More in Tech ›