Laravel TokenGuard authentication bypass through non-string API credentials
What to do
- Upgrade to a fixed version: laravel/framework 13.27.0, laravel/framework 12.68.0, laravel/framework 11.56.1, laravel/framework 10.50.4.
- Redeploy and restart long-running processes so they load the fixed code.
Affected packages
laravel/framework
- >= 13.0.0, < 13.27.0
- 13.27.0
Check your project: composer show laravel/framework
laravel/framework
- >= 12.0.0, < 12.68.0
- 12.68.0
Check your project: composer show laravel/framework
laravel/framework
- >= 11.0.0, < 11.56.1
- 11.56.1
Check your project: composer show laravel/framework
laravel/framework
- < 10.50.4
- 10.50.4
Check your project: composer show laravel/framework
What changed
Fixed versions updated: laravel/framework 13.27.0, laravel/framework 12.68.0, laravel/framework 11.56.1, laravel/framework 10.50.4.
Published in the GitHub Advisory Database as critical.