CVE-2026-123746
published low CVSS 4.0 · 2.3Symfony: Programmatic Logins Skip the checkPostAuth() Method of User Checkers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sensiolabs | — | symfony/security-httpsymfony · 0 to < 5.4.56 · 6.0.0 to < 6.4.50 · 7.0.0 to < 7.4.23 · 8.0.0 to < 8.1.11 · Other versions: unaffected | Affected | Not stated | Checkmarx |
| Debian | trixie | symfony | Advisory build | 6.4.50+dfsg-0+deb13u1 | DSA-6617-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- Checkmarx · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sensiolabs | symfony | 0 to < 5.4.56 (affected · git)6.0.0 to < 6.4.50 (affected · git)7.0.0 to < 7.4.23 (affected · git)8.0.0 to < 8.1.11 (affected · git)Default: unaffected | Checkmarx · cna |
Weaknesses
1- CWE-288 CWE-288 Authentication bypass using an alternate path or channel
References
2Provider assertions
2Checkmarx · cna
Symfony: Programmatic Logins Skip the checkPostAuth() Method of User Checkers
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 86cd30272991d85e0bb88804887896df6d6d785782ba6c445eca2592fca168cb
- Ingested
- 10 Nov 2026, 14:49:04 UTC
- Source record
- Official CVE record