CVE-2026-39976 | Laravel Passport's TokenGuard Authenticates Unrelated User for Client Credentials Tokens

Exp

Laravel Passport provides OAuth2 server support to Laravel. From 13.0.0 to before 13.7.1, there is an Authentication Bypass for client_credentials tokens. the league/oauth2-server library sets the JWT sub claim to the client identifier (since there's no user). The token guard then passes this value to retrieveById() without validating it's actually a user identifier, potentially resolving an unrelated real user. Any machine-to-machine token can inadvertently authenticate as an actual user. This vulnerability is fixed in 13.7.1.

Published: 2026-04-09 Last update: 2026-06-02 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-39976 is rated Exploit Available (50.4/100): CVSS High severity, with low exploitation likelihood (EPSS 0.06%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2026-39976

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2026-39976

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-10 0.06%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-39976

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.1 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
1.8 4.7 [email protected]

Weakness enumeration for CVE-2026-39976

GitHub Security Advisory for CVE-2026-39976

GHSA-349c-2h2f-mxf6 · Severity: high · Ecosystem: composer — Laravel Passport: TokenGuard Authenticates Unrelated User for Client Credentials Tokens

Affected software / configurations for CVE-2026-39976

Vendor Product Version Raw CPE
laravel passport >= 13.0.0, < 13.7.1 cpe:2.3:a:laravel:passport:*:*:*:*:*:laravel:*:*

References for CVE-2026-39976

cvelogic Threat Intelligence