CVE-2026-39976
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 7.1 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityLow
AvailabilityNone
Affected & Patched Versions
- Laravel Passport >= 13.0.0 and < 13.7.1
- laravel passport >= 13.0.0, < 13.7.1
- Laravel Passport 13.7.1
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Laravel Passport and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Apr 9, 2026Published
- Oct 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Laravel Passport CVEsYou are reading CVE-2026-39976. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Exploithttps://github.com/laravel/passport/issues/1900
- Patchhttps://github.com/laravel/passport/pull/1901
- Patchhttps://github.com/laravel/passport/pull/1902
- Vendor Advisoryhttps://github.com/laravel/passport/security/advisories/GHSA-349c-2h2f-mxf6
- Patchhttps://github.com/thephpleague/oauth2-server/issues/1456#issuecomment-2734989996
Data last checked: Dec 2, 2026 18:50 UTC