CVE-2026-39976
published high CVSS 3.1 · 7.1Laravel Passport's TokenGuard Authenticates Unrelated User for Client Credentials Tokens
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| laravel | — | passport>= 13.0.0, < 13.7.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| laravel | passport | >= 13.0.0, < 13.7.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-287 CWE-287: Improper Authentication
References
5Provider assertions
2GitHub_M · cna
Laravel Passport's TokenGuard Authenticates Unrelated User for Client Credentials Tokens
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1dc0f71fb601897cdd722ad69aea57030bcdd06068dd1e44cc351517542fb784
- Ingested
- 23 Sep 2026, 09:12:25 UTC
- Source record
- Official CVE record