CVE-2026-142636
CVE-2026-142636 — Laravel: Sanctum guard can resolve the lowest-ID user when evaluated inside an eager-loaded Eloquent relation definition
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.8
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.8 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-863
References
4 on the record
- github.com/laravel/framework/security/advisories/GHSA-vfxr-r8f8-gfmp
x_refsource_CONFIRM
- github.com/laravel/framework/pull/62483
x_refsource_MISC
- github.com/laravel/framework/commit/6ea0fda8128e36e912e7fde755dac345bde9f5f7
x_refsource_MISC
- github.com/laravel/framework/releases/tag/v12.73.0
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-78654 cleverbrush framework/deep deepExtend.ts deepExtend prototype pollutionCVSS 7.3
- CVE-2025-54253 Adobe Experience Manager | Incorrect Authorization (CWE-863)CVSS 10.0 · CISA KEV
- CVE-2026-123218 IBM Aspera Faspex Authorization BypassCVSS 9.8 · CISA KEV
- CVE-2024-45519 Synacor Zimbra Collaboration Suite (ZCS) Command Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-38856 Apache OFBiz Incorrect Authorization VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2023-38035 Ivanti Sentry Authentication Bypass VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.