Critical Laravel Token Guard auth bypass disclosed
A CVSS 9.2 flaw (GHSA-f9x3-7vq9-cph6) in Laravel's TokenGuard lets an unauthenticated visitor log in as an existing user without knowing their token. It affects apps using the token driver on MySQL or MariaDB; fixed in laravel/framework 13.29.0 and 12.68.0.
- Flaw affects guards with 'driver' => 'token' in config/auth.php
- Fixed in 13.29.0 for Laravel 13 and 12.68.0 for Laravel 12
- Sanctum, Passport and the session guard are not affected
- Public PoC exists; no attacks in the wild reported yet
Read next
Security