Laravel December 2026 security fixes address five different failure paths in the framework. Laravel’s advisories cover two resource-exhaustion flaws, an authentication lookup error, a PostgreSQL query flaw, and a mass-assignment guard bypass. Their application conditions differ, so a framework version alone does not establish that every route is exploitable. The five GitHub CNA records assign distinct CVE identifiers and CVSS v3.1 scores.
This analysis helps application owners decide what to inspect before and after updating. Teams can place the advisory set in a broader vulnerability intelligence platform review, while developers test the relevant application paths. The earlier Laravel TokenGuard advisory describes a separate October authentication flaw. It should not be confused with the Sanctum and Eloquent interaction discussed here.
How Laravel December 2026 Security Fixes Split Into Five Paths
The two denial-of-service paths both consume CPU or memory, but they begin in different framework behavior. The JSON request issue involves ordinary-size input that can tie up PHP workers. The numeric validation issue requires specific rules on an unbounded numeric field. Neither description implies that the other path shares the same preconditions.
The other three advisories concern who a request can act as, what a database query can mean, and what a model accepts. The Sanctum issue requires a particular eager-loading and guard-evaluation order. The PostgreSQL issue requires user-influenced JSON path input in affected Query Builder APIs. The Eloquent guard issue requires a guarded attribute, a set-mutator, and mass assignment of untrusted data.
- Request inputAn application receives input on a route using an affected feature
- Application choiceA validation rule, guard call, query path, or mass assignment handles it
- Framework behaviorThe relevant advisory describes a resource or trust-boundary failure
- OutcomeAvailability, user identity, query conditions, or protected attributes may change
This flow is our synthesis of five separate vendor descriptions, not a single attack chain. It is useful for inventory because the application code decides which framework path receives untrusted input. A generic internet-facing Laravel deployment is therefore not a sufficient exposure finding. The team must pair its installed version with the affected code pattern.
Where Resource Exhaustion Begins
In CVE-2026-142612, Laravel says a specially crafted JSON request of ordinary size can consume excessive CPU and memory. A small number of unauthenticated requests may occupy all PHP workers and make the application unavailable. The advisory lists Laravel 12 before 12.74.0 and Laravel 13 before 13.38.0 as affected. Its CVSS v3.1 score is 7.5.
CVE-2026-142610 has a narrower application trigger. Laravel identifies multiple_of and the gt, gte, lt, and lte rules when they compare one numeric field with another. Those rules can expand extreme exponents with arbitrary-precision arithmetic. A field without an earlier bounding rule and bail can exhaust memory or CPU.
The numeric advisory explicitly excludes comparisons with literal numbers and the min, max, between, and size rules. It lists Laravel 12 before 12.74.0 and Laravel 13 before 13.44.1 as affected. Its CVSS v3.1 score is also 7.5. The later Laravel 13 fix threshold makes checking the two DoS advisories independently essential.
Laravel recommends bounding the value before the affected validation rule and stopping evaluation after failure as a workaround for the numeric issue. That is a temporary application control, not a substitute for testing the framework update. Developers should review field-to-field numeric comparisons and the order of validation rules. Operations teams should correlate worker saturation and memory failures with affected request paths when investigating availability events.
How a Sanctum Guard Can Resolve the Wrong User
CVE-2026-142636 concerns Laravel 12 before 12.73.0, with a CVSS v3.1 score of 6.8. Laravel says Eloquent temporarily disables relation constraints while initializing an eager-loaded relation. If the authenticated user is first resolved inside that relation definition, Sanctum’s token-owner lookup can lose its key restriction. The guard may return the lowest-ID user instead of the token owner.
The wrong user can remain cached for the rest of the request, according to the advisory. A lower-privilege token could then read another user’s data under the affected application pattern. Laravel cites guard calls inside relation definitions used with eager loading, including optional-authentication routes. Routes where authentication middleware resolved the user first were not affected in the vendor’s testing.
The vendor advises resolving the user ID before the relation definition and passing it through an eager-load constraint closure. For verification, trace when the request first resolves the authenticated user, then test eager-loaded relations with separate low-privilege accounts. Compare the resolved identity with the token owner at the authorization boundary. Review route behavior after upgrading, because the failure is about lookup order rather than a blanket Sanctum configuration error.
Where PostgreSQL Query Grammar Changes SQL Meaning
CVE-2026-142650 concerns PostgreSQL JSON path handling in non-raw Laravel Query Builder APIs. Laravel says the Query Grammar did not escape embedded single quotes in JSON path attributes. If an application lets a user influence a JSON path or identifier segment, the resulting SQL can change structure or WHERE conditions. This is a query-construction issue, not a claim that every parameterized query is unsafe.
The GitHub CNA record lists Laravel 12 before 12.67.0 and Laravel 13 before 13.24.0 as affected. Its CVSS v3.1 score is 5.9. The advisory requires PostgreSQL plus an application path that passes user-influenced JSON path input into the affected APIs. A deployment using a different database, or only fixed JSON paths, does not meet the stated trigger.
Identify routes that build JSON path expressions from client-controlled values, especially privileged query features. Review whether application code uses a fixed allowlist for permitted paths. After updating, test that user-selected fields cannot change query conditions or return data beyond the intended scope. Existing SQL logs may help identify where dynamic JSON paths were used, but the vendor advisory does not provide an incident-detection signature.
When Eloquent Guarded Attributes Can Be Written
CVE-2026-142634 is a mass-assignment guard bypass with a CVSS v3.1 score of 5.3. Laravel says its $guarded check compared an attribute’s raw name, while set-mutator lookup normalized the name. An alternate spelling could therefore reach a mutator for a guarded attribute. A remote client might write a protected role or privilege field if the application exposes the required assignment path.
The advisory requires three application conditions together: a $guarded blacklist, a set-mutator on the guarded attribute, and mass assignment of untrusted input. It lists Laravel 12 before 12.73.0 and Laravel 13 before 13.43.0 as affected. This is not a general statement that all Eloquent models or all assignment calls are vulnerable. Review model definitions and input handling before labeling a route exposed.
First identify models that combine those three conditions. Then test that unexpected attribute-name variants cannot change protected fields after the framework update. Prefer an explicit allowlist of fields accepted from each request where the application design permits it. Preserve an audit trail for changes to role or privilege attributes when reviewing a suspected event.
Which Framework Versions Close Each Path?
The vendor advisories list different patch floors for Laravel 12 and 13. The table keeps those thresholds separate; a higher version in the same major branch includes the earlier fixes described here. Confirm the installed laravel/framework version in each deployed application, including workers and staged releases. Then match it to the code patterns above.
| Flaw | CVSS v3.1 | Laravel 12 fix | Laravel 13 fix |
|---|---|---|---|
| JSON request DoS, CVE-2026-142612 | 7.5 | 12.74.0 | 13.38.0 |
| Numeric validation DoS, CVE-2026-142610 | 7.5 | 12.74.0 | 13.44.1 |
| Sanctum and eager loading, CVE-2026-142636 | 6.8 | 12.73.0 | Not listed |
| PostgreSQL Query Grammar, CVE-2026-142650 | 5.9 | 12.67.0 | 13.24.0 |
| Eloquent guarded attributes, CVE-2026-142634 | 5.3 | 12.73.0 | 13.43.0 |
The Sanctum advisory and its CNA record list only a Laravel 12 affected range and fix. Do not infer a Laravel 13 version threshold from the other advisories. For Laravel 12, 12.74.0 is the highest listed patch floor across these five records. For Laravel 13, 13.44.1 is the highest listed floor among the four records that name that branch.
What Should Application Owners Check First?
Start with version inventory and the internet-facing paths that can reach the two resource-exhaustion behaviors. Next, inspect authentication routes that first resolve Sanctum users during eager-loaded relation initialization. Follow with PostgreSQL JSON path construction and Eloquent models that combine guarded attributes with mutators. This order is our operational prioritization based on the stated prerequisites and possible outcomes.
For each candidate route, record the installed framework version, the relevant application pattern, and the expected security boundary. Reproduce the normal behavior with safe test inputs before and after updating. Compare authenticated identity, query scope, protected model fields, and worker resource use as appropriate. These checks turn a package-version alert into an application-specific decision.
- Inventory versionsRecord the deployed laravel/framework version for each application and worker.
- Map affected pathsFind the precise validation, guard, JSON query, and mass-assignment patterns.
- Update and verifyApply the appropriate branch fix and test the expected security boundary.
- Review evidenceExamine relevant request, identity, query, and field-change records if exposure is suspected.
Brandefense Blackhole counted 712 dark chat posts matching Laravel from September 4 through December 3, 2026. This is a topic count in one source category, not a measure of these five flaws or confirmed exploitation. It cannot replace route-level validation of the advisories. Organizations can use their established PHP application inventory to find owners for the affected services.
Keep the five CVEs distinct in tickets and change records. The same application can meet more than one condition, but their severity scores and patch floors still differ. The vendor advisories establish the failure modes and fixes, while local code review determines whether a route is reachable. Recheck the deployed package version after the release, rather than assuming a dependency change reached every running instance.
Frequently Asked Questions
Which Laravel 12 version contains all five listed fixes?
The highest Laravel 12 patch floor in these advisories is 12.74.0. Verify the deployed package and test the application paths that use the affected features.
Are all Laravel 13 applications affected by these five flaws?
No. The Sanctum advisory lists only Laravel 12, and the other issues require their stated version and application conditions. Check each path separately.
Do both denial-of-service issues have the same Laravel 13 fix?
No. The JSON request advisory lists 13.38.0, while the numeric-validation advisory lists 13.44.1. Both list 12.74.0 for Laravel 12.
When does the PostgreSQL query flaw matter?
The Laravel advisory describes PostgreSQL applications that pass user-influenced JSON path input into affected non-raw Query Builder APIs. Review those routes and update the framework.
Sources
- Laravel JSON request denial of service, Laravel/GitHub advisory, November 2026
- Laravel numeric validation resource exhaustion, Laravel/GitHub advisory, November 2026
- Laravel Sanctum and Eloquent user resolution, Laravel/GitHub advisory, November 2026
- Laravel PostgreSQL Query Grammar SQL injection, Laravel/GitHub advisory, November 2026
- Laravel Eloquent mass-assignment guard bypass, Laravel/GitHub advisory, November 2026
