CVE-2026-142636
Published:December 02, 2026
Updated:December 03, 2026
Laravel is a web application framework. Prior to 12.73.0, When an authenticated user is first resolved while Eloquent is initializing an eager-loaded relation, Eloquent's relation constraints are temporarily disabled. A lazy key-constrained lookup made during that window, such as Sanctum's token owner lookup, runs without its key restriction. The guard can then return the lowest-ID user (often an administrator) instead of the token's owner. This affects applications that call the guard inside a relation definition used with eager loading, for example in optional-authentication routes. A low-privilege token could then read that user's data, and the wrong user remains cached for the rest of the request. Routes where authentication middleware resolves the user first were not affected in testing. This issue is fixed in version 12.73.0.
Affected Packages
https://github.com/laravel/framework.git (GITHUB):
Affected version(s) >=v4.0.7 <v12.73.0 || >=v5.0.0 <v12.73.0 || >=v6.0.0 <v12.73.0 || >=v7.0.0 <v12.73.0 || >=v8.0.0 <v12.73.0 || >=v9.0.0 <v12.73.0 || >=v9.0.0-beta.1 <v12.73.0 || >=v10.0.0 <v12.73.0 || >=v11.0.0 <v12.73.0 || >=v12.0.0 <v12.73.0Fix Suggestion:
Update to version v12.73.0https://github.com/laravel/framework.git (GITHUB):
Affected version(s) >=v13.0.0 <v13.24.0Fix Suggestion:
Update to version v13.24.0illuminate/database (PHP):
Affected version(s) >=v6.0.0 <v12.73.0 || >=v8.0.0 <v12.73.0 || >=v4.0.7 <v12.73.0 || >=v12.0.0 <v12.73.0 || >=v11.0.0 <v12.73.0 || >=v5.0.0 <v12.73.0 || >=v9.0.0-beta.1 <v12.73.0 || >=v9.0.0 <v12.73.0 || >=v10.0.0 <v12.73.0 || >=v7.0.0 <v12.73.0Fix Suggestion:
Update to version v12.73.0illuminate/database (PHP):
Affected version(s) >=v13.0.0 <v13.24.0Fix Suggestion:
Update to version v13.24.0laravel/framework (PHP):
Affected version(s) >=v4.0.0-BETA2 <v12.73.0Fix Suggestion:
Update to version v12.73.0laravel/framework (PHP):
Affected version(s) >=v13.0.0 <v13.24.0Fix Suggestion:
Update to version v13.24.0laravel/framework (PHP):
Affected version(s) >=v7.0.0 <v12.73.0 || >=v8.0.0 <v12.73.0 || >=v12.0.0 <v12.73.0 || >=v4.0.7 <v12.73.0 || >=v11.0.0 <v12.73.0 || >=v6.0.0 <v12.73.0 || >=v9.0.0 <v12.73.0 || >=v9.0.0-beta.1 <v12.73.0 || >=v10.0.0 <v12.73.0 || >=v5.0.0 <v12.73.0Fix Suggestion:
Update to version v12.73.0Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.6
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.8
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Incorrect Authorization
EPSS
Base Score:
0.42