CVE-2026-123746
LOW 2.3CVSS 4.0Symfony: Programmatic Logins Skip the checkPostAuth() Method of User Checkers
The Symfony Security HTTP component AuthenticatorManager::authenticateUser() does not run the firewall user checker’s checkPostAuth() method when a user is authenticated programmatically, allowing an account rejected by a custom user checker, such as an expired account, to be authenticated in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11.
AuthenticatorManager::authenticateUser() is used by UserAuthenticatorInterface::authenticateUser() and by the SecurityBundle’s Security::login() to authenticate a user programmatically, but it does not dispatch the security.authentication.success event, on which checkPostAuth() runs. The fix for CVE-2024-50341 made Security::login() call checkPreAuth(), but checkPostAuth() was still skipped. As a result, an account rejected by a custom user checker in checkPostAuth() is refused by form login and the other authenticators of the firewall, but can still be authenticated programmatically.
Applications are affected when they use a custom user checker that rejects users in checkPostAuth() and authenticate users programmatically, for example after a password reset or an e-mail verification link. A user whose account is rejected can then obtain an authenticated session through that flow. The default user checker does nothing in checkPostAuth(), so the default configuration is not affected.
The fix makes AuthenticatorManager::authenticateUser() dispatch the security.authentication.success event once the token is created and before it is stored, as authentications through the firewall do, so that checkPostAuth() runs and can reject the user.
- Published
- 6 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- 596c5446-0ce5-4ba2-aa66-48b3b757a647
- NVD status
- Awaiting Analysis
- Weakness
- CWE-287CWE-288
- Also known as
- GHSA-8f57-m8wj-x65w
- Sources
- NVDJSONOSV GHSA-8f57-m8wj-x65wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 596c5446-0ce5-4ba2-aa66-48b3b757a647 (Secondary) | CVSS 4.0 | LOW 2.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | symfony/security-http | < 5.4.56 | 5.4.56 |
| OSV | Packagist | symfony/security-http | >= 6.0.0, < 6.4.50 | 6.4.50 |
| OSV | Packagist | symfony/security-http | >= 7.0.0, < 7.4.23 | 7.4.23 |
| OSV | Packagist | symfony/security-http | >= 8.0.0, < 8.1.11 | 8.1.11 |
| OSV | Packagist | symfony/symfony | < 5.4.56 | 5.4.56 |
| OSV | Packagist | symfony/symfony | >= 6.0.0, < 6.4.50 | 6.4.50 |
| OSV | Packagist | symfony/symfony | >= 7.0.0, < 7.4.23 | 7.4.23 |
| OSV | Packagist | symfony/symfony | >= 8.0.0, < 8.1.11 | 8.1.11 |
References
- https://github.com/symfony/symfony/commit/af0aae5012beedf0a0c3fd581fd8b9ef696240c4 · WEB
- https://github.com/symfony/symfony/security/advisories/GHSA-8f57-m8wj-x65w · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-123746 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2026-123746.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-123746.yaml · WEB
- https://github.com/symfony/symfony · PACKAGE
- https://github.com/symfony/symfony/releases/tag/v5.4.56 · WEB
- https://github.com/symfony/symfony/releases/tag/v6.4.50 · WEB
- https://github.com/symfony/symfony/releases/tag/v7.4.23 · WEB
- https://github.com/symfony/symfony/releases/tag/v8.1.11 · WEB
History
- 1 Dec 2026 22:59 UTC · OSV: first stored (published 1 Dec 2026)
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 6 Nov 2026)