User impersonation via unvalidated client subject lookup
Published Apr 9, 2026 · Updated Apr 9, 2026
Authentication bypass in Laravel Passport 13.0.0 through 13.7.0 allows remote authenticated users to impersonate unrelated users. TokenGuard passes the client identifier from a client_credentials token's subject claim to retrieveById() as though it identified a user, allowing an identifier collision or database conversion to resolve a real account. Exploitation requires a valid machine-to-machine token and an application whose user lookup resolves that client subject to a user record, exposing that account's data and permissions.
Summary
What happened
Authentication bypass in Laravel Passport 13.0.0 through 13.7.0 allows remote authenticated users to impersonate unrelated users. TokenGuard passes the client identifier from a client_credentials token's subject claim to retrieveById() as though it identified a user, allowing an identifier collision or database conversion to resolve a real account. Exploitation requires a valid machine-to-machine token and an application whose user lookup resolves that client subject to a user record, exposing that account's data and permissions.
The record
- CVE
- CVE-2026-39976
- Published
- Apr 9, 2026
- Updated
- Apr 9, 2026
- Vendor
- Laravel
- Product
- Laravel Passport
- Classifications
- CWE-287, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 9, 2026CVE publishedPublication date reported by the CVE source.
- Apr 9, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 13.0.0, < 13.7.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- TokenGuard client-credentials impersonation reproductionproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo