CVE-2026-123746: CVE-2026-123746: Authentication Bypass in Symfony Security HTTP Programmatic Logins
CVE-2026-123746: Authentication Bypass in Symfony Security HTTP Programmatic Logins Vulnerability ID: CVE-2026-123746 CVSS Score: 2.3 Published: 2026-12-01 An authentication bypass vulnerability in the Symfony Secur
CVE-2026-123746: Authentication Bypass in Symfony Security HTTP Programmatic Logins
Vulnerability ID: CVE-2026-123746
CVSS Score: 2.3
Published: 2026-12-01
An authentication bypass vulnerability in the Symfony Security HTTP component (symfony/security-http) causes programmatic login operations to skip the checkPostAuth() method of configured user checkers. Because AuthenticatorManager::authenticateUser() fails to dispatch the security.authentication.success event, custom post-authentication restrictionsβsuch as checks for expired or locked accountsβare bypassed when users authenticate via programmatic flows like password resets or email verification callbacks.
TL;DR
Symfony versions prior to 5.4.56, 6.4.50, 7.4.23, and 8.1.11 fail to dispatch the authentication success event during programmatic logins via AuthenticatorManager::authenticateUser(). This omission causes custom UserCheckerInterface::checkPostAuth() validations to be bypassed, allowing restricted or expired user accounts to establish authenticated sessions through secondary login workflows.
Technical Details
- CVE ID: CVE-2026-123746 (GHSA-8f57-m8wj-x65w)
- Vulnerability Class: CWE-288: Authentication Bypass Using an Alternate Path or Channel
- Affected Component: symfony/security-http (AuthenticatorManager::authenticateUser)
- CVSS v4.0 Score: 2.3 Low (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)
- EPSS Score: 0.34% (29.07th Percentile)
- Impact: Bypass of UserCheckerInterface::checkPostAuth() restrictions during programmatic login
- Exploit Status: No known public exploits or active exploitation
- CISA KEV Status: Not Listed
Affected Systems
- Symfony Security HTTP Component (symfony/security-http)
- Symfony Framework (symfony/symfony)
-
symfony/security-http: < 5.4.56 (Fixed in:
5.4.56) -
symfony/security-http: >= 6.0.0, < 6.4.50 (Fixed in:
6.4.50) -
symfony/security-http: >= 7.0.0, < 7.4.23 (Fixed in:
7.4.23) -
symfony/security-http: >= 8.0.0, < 8.1.11 (Fixed in:
8.1.11)
Code Analysis
Commit: af0aae5
[Security] Run the checkPostAuth() method of user checkers when authenticating users programmatically
File: src/Symfony/Component/Security/Http/Authentication/AuthenticatorManager.php
@@ -83,6 +83,8 @@ public function authenticateUser(UserInterface $user, AuthenticatorInterface $au
// announce the authentication token
$token = $this->eventDispatcher->dispatch(new AuthenticationTokenCreatedEvent($token, $passport))->getAuthenticatedToken();
+ $this->eventDispatcher->dispatch(new AuthenticationSuccessEvent($token), AuthenticationEvents::AUTHENTICATION_SUCCESS);
+
// authenticate this in the system
return $this->handleAuthenticationSuccess($token, $passport, $request, $authenticator, $this->tokenStorage->getToken());
}
Mitigation Strategies
- Upgrade symfony/security-http to the latest patched version for your release branch (5.4.56, 6.4.50, 7.4.23, or 8.1.11).
- Manually invoke UserCheckerInterface::checkPostAuth() prior to executing programmatic logins via Security::login() or UserAuthenticatorInterface::authenticateUser() if immediate patching is not possible.
- Evaluate custom UserCheckerInterface implementations and consolidate account suspension, ban, and expiration checks into checkPreAuth() where appropriate.
Remediation Steps:
- Audit the codebase for custom implementations of Symfony\Component\Security\Core\User\UserCheckerInterface that contain logic within the checkPostAuth() method.
- Identify all occurrences of programmatic authentication calls, specifically Security::login() and UserAuthenticatorInterface::authenticateUser().
- Run 'composer update symfony/security-http' to upgrade to 5.4.56+, 6.4.50+, 7.4.23+, or 8.1.11+.
- Clear and warm up the Symfony production cache using 'php bin/console cache:clear --env=prod'.
- Verify that restricted accounts rejected in checkPostAuth() are properly blocked when attempting programmatic login flows such as password resets or magic links.
References
- GitHub Security Advisory: GHSA-8f57-m8wj-x65w
- Symfony Patch Commit af0aae5012beedf0a0c3fd581fd8b9ef696240c4
- NVD - CVE-2026-123746
- CVE.org Record: CVE-2026-123746
- OSV Database: GHSA-8f57-m8wj-x65w
- Packagist: symfony/security-http
- Wiz Vulnerability Database: CVE-2026-123746
Read the full report for CVE-2026-123746 on our website for more details including interactive diagrams and full exploit analysis.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.