{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142636",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-12-02T22:19:42.505Z",
        "datePublished": "2026-12-02T22:39:28.430Z",
        "dateUpdated": "2026-12-02T22:39:28.430Z"
    },
    "containers": {
        "cna": {
            "title": "Laravel: Sanctum guard can resolve the lowest-ID user when evaluated inside an eager-loaded Eloquent relation definition",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-863",
                            "lang": "en",
                            "description": "CWE-863: Incorrect Authorization",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 6.8,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/laravel/framework/security/advisories/GHSA-vfxr-r8f8-gfmp",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/laravel/framework/security/advisories/GHSA-vfxr-r8f8-gfmp"
                },
                {
                    "name": "https://github.com/laravel/framework/pull/62483",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/laravel/framework/pull/62483"
                },
                {
                    "name": "https://github.com/laravel/framework/commit/6ea0fda8128e36e912e7fde755dac345bde9f5f7",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/laravel/framework/commit/6ea0fda8128e36e912e7fde755dac345bde9f5f7"
                },
                {
                    "name": "https://github.com/laravel/framework/releases/tag/v12.73.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/laravel/framework/releases/tag/v12.73.0"
                }
            ],
            "affected": [
                {
                    "vendor": "laravel",
                    "product": "framework",
                    "versions": [
                        {
                            "version": "< 12.73.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-12-02T22:39:28.430Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-vfxr-r8f8-gfmp",
                "discovery": "UNKNOWN"
            }
        }
    }
}