What’s Vulnerable › Vulnerabilities
CVE-2022-40482
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-04-25 · updated 2026-06-17
- Weakness: CWE-203
Description
The authentication method in Laravel 8.x through 9.x before 9.32.0 was discovered to be vulnerable to user enumeration via timeless timing attacks with HTTP/2 multiplexing. This is caused by the early return inside the hasValidCredentials method in the Illuminate\Auth\SessionGuard class when a user is found to not exist.
Affected products
- Laravel Framework: from 8.0.0 before 8.83.24; from 9.0.0 before 9.32.0 — fixed in 8.83.24, 9.32.0
How to fix
Upgrade to a fixed version: Laravel Framework 8.83.24, 9.32.0. Check the vendor advisory for mitigations.
References
- https://ephort.dk/blog/laravel-timing-attack-vulnerability/
- https://github.com/ephort/laravel-user-enumeration-demo
- https://github.com/laravel/framework/pull/44069
- https://github.com/laravel/framework/releases/tag/v9.32.0
- https://ephort.dk/blog/laravel-timing-attack-vulnerability/
- https://github.com/ephort/laravel-user-enumeration-demo
- https://github.com/laravel/framework/pull/44069
- https://github.com/laravel/framework/releases/tag/v9.32.0
Get alerted when CVE-2022-40482 or the next vulnerability affects your stack