Laravel Socialite
Laravel Socialite Facebook Provider Authentication Bypass via Nonce Replay
Laravel Socialite's Facebook provider contains an authentication bypass vulnerability that allows unauthenticated attackers to replay captured OIDC id_tokens by exploiting the missing nonce claim validation in the getUserByOIDCToken() function within FacebookProvider.php. Attackers who obtain a valid, unexpired id_token issued for the same Facebook App ID can submit the captured token to the backend userFromToken() endpoint, bypassing authentication controls because signature, aud, and iss checks pass while no session-bound nonce comparison is performed, resulting in unauthorized access to victim accounts.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 5.29.0
Fixed in 5.29.0
Mitigation
Upgrade Socialite to 5.29.0 or later.
References
- Patch github.com/laravel/socialite/pull/789
- Patch github.com/laravel/socialite/commit/caf714f55d…
- Vendor advisory github.com/laravel/socialite
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.