Symfony: Programmatic Logins Skip the checkPostAuth() Method of User Checkers
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| composer:symfony/security-http | < 5.4.56 | 5.4.56 |
| composer:symfony/security-http | >= 6.0.0, < 6.4.50 | 6.4.50 |
| composer:symfony/security-http | >= 7.0.0, < 7.4.23 | 7.4.23 |
| composer:symfony/security-http | >= 8.0.0, < 8.1.11 | 8.1.11 |
| composer:symfony/symfony | < 5.4.56 | 5.4.56 |
Show all (8)
| Package | Affected versions | Fixed in |
|---|---|---|
| composer:symfony/symfony | >= 6.0.0, < 6.4.50 | 6.4.50 |
| composer:symfony/symfony | >= 7.0.0, < 7.4.23 | 7.4.23 |
| composer:symfony/symfony | >= 8.0.0, < 8.1.11 | 8.1.11 |
Security::login() and UserAuthenticatorInterface::authenticateUser() log a user in programmatically, for example after a password reset or after an email verification link. The fix for CVE-2024-50341 made Security::login() call the checkPreAuth() method of the user checker of the firewall. But neither method ran checkPostAuth(): this method runs on the security.authentication.success event, which AuthenticatorManager::authenticateUser() did not dispatch. As a consequence, an account that a user…
Read on GitHub Advisory Database
On 12/02/2026, 06:45 AM, GitHub Advisory Database published "Symfony: Programmatic Logins Skip the checkPostAuth() Method of User Checkers" (type: Advisory). Severity is "Low" (low). Related technologies: PHP, Symfony. CVE: CVE-2026-123746.