CVE-2026-123746 · Checkmarx
Symfony: 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....
Published 2026-11-06, last changed 2026-11-10. Weakness: CWE-288.
How to fix
Upgrade to a fixed version: symfony/security-http 5.4.56, 6.4.50, 7.4.23, 8.1.11 (Packagist); symfony/symfony 5.4.56, 6.4.50, 7.4.23, 8.1.11 (Packagist) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in symfony/symfony by af0aae5012, d54d3b3f94, 9aa46b46a1. Functions changed by the fix: authenticateUser, extractUsername, extractUsernameFromDn, splitDn, getPreAuthenticatedData. Regression tests: src/Symfony/Component/Security/Http/Tests/Authentication/AuthenticatorManagerTest.php, Tests/Authentication/AuthenticatorManagerTest.php, Tests/Authenticator/X509AuthenticatorTest.php, Tests/Firewall/X509AuthenticationListenerTest.php. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2026-11-06 | Published |
| 2026-11-10 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.49% |
| 2026-12-01 | Package advisory GHSA-8f57-m8wj-x65w |
| 2026-12-06 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-8f57-m8wj-x65w | symfony/security-http (Packagist) | 5.4.56 |
| GHSA-8f57-m8wj-x65w | symfony/security-http (Packagist) | 6.4.50 |
| GHSA-8f57-m8wj-x65w | symfony/security-http (Packagist) | 7.4.23 |
| GHSA-8f57-m8wj-x65w | symfony/security-http (Packagist) | 8.1.11 |
| GHSA-8f57-m8wj-x65w | symfony/symfony (Packagist) | 5.4.56 |
Also known as: GHSA-8f57-m8wj-x65w
Credited: Nicolas Grekas (remediation developer), Vincent Cassiau from CyberVanguard (reporter)
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-118513 | 2026-11-04 | 7.7 | Symfony: X.509 Authentication Impersonation via DN Value Injection (incomplete fix for CVE-2026-45063) |
| CVE-2026-48489 | 2026-07-14 | 7.5 | Symfony: Security Firewall Bypass via failure_forward Subrequest: Unauthenticated Access to access_control-Protected GET Routes |
| CVE-2026-45075 | 2026-07-14 | 8.2 | Symfony: HEAD Request Bypasses methods: ['GET'] Filter in #[IsGranted] / #[IsSignatureValid] / #[IsCsrfTokenValid] |
| CVE-2026-45069 | 2026-07-14 | 9.1 | Symfony: OidcTokenHandler Accepts JWTs Missing aud/iss/exp Claims |
| CVE-2026-45063 | 2026-07-14 | 9.1 | Symfony: Identity Spoofing via Unanchored DN Regex in X509Authenticator |
| CVE-2026-45074 | 2026-07-14 | 8.1 | Symfony: Cas2Handler Derives CAS service URL from Client Host Header → Cross-Service Ticket Replay |
| CVE-2024-36611 | 2024-11-29 | 7.5 | same package: symfony/security-http (Packagist) |
| CVE-2024-51996 | 2024-11-13 | 7.5 | Symphony has an Authentication Bypass via RememberMe |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2026-123746, or call /api/v1/vulnerabilities/CVE-2026-123746. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.