symfony/security-http security advisory
CVE-2026-123746: Programmatic Logins Skip the checkPostAuth() Method of User Checkers in symfony/security-http
CVE-2026-123746 is a low-severity authentication bypass vulnerability in the PHP package symfony/security-http (CVSS 2.3), published 6 November 2026. It is fixed in 5.4.56, 6.4.50, 7.4.23 and 8.1.11, one per release line; earlier versions on each line are affected. Exploiting it needs a low-privilege user account.
published 2026-11-06 · updated 2026-11-10
- Affected versions
- >= 5.2.2, < 5.4.56
>= 6.0.0, < 6.4.50
>= 7.0.0, < 7.4.23
>= 8.0.0, < 8.1.11 - Fixed in
- 5.4.56, 6.4.50, 7.4.23, 8.1.11
- Newest release
- 8.2.0
- Type
- Authentication bypass
CWE-288 - Exploited in the wild
- Not on the CISA KEV list
checked 2026-11-29
Also affects
- symfony/symfony >= 5.2.2, < 5.4.56; >= 6.0.0, < 6.4.50; >= 7.0.0, < 7.4.23; >= 8.0.0, < 8.1.11 fixed in 5.4.56, 6.4.50, 7.4.23, 8.1.11
Is your symfony/security-http version affected?
Who can exploit CVE-2026-123746
- Access: A normal, low-privilege user account in the app.
- Conditions: It only works under specific conditions the attacker does not fully control (CVSS rates the attack as high complexity).
Technical details
Weakness
Authentication bypass CWE-288
A flaw in the login or identity check lets someone be treated as logged in, or as another user, without valid credentials.
An attacker may gain access to accounts, potentially including administrators.
General description of this issue type. The advisory below covers this bug.
CVSS 4.0 breakdown
- Attack vector
- Network (remote)
- Attack complexity
- Low
- Attack requirements
- Specific conditions
- Privileges required
- Low
- User interaction
- None
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- None
CVSS vector: 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
How to fix CVE-2026-123746 in symfony/security-http
- Find the installed version:
composer show symfony/security-http. If you never required it yourself,composer why symfony/security-httpshows which package pulls it in. - Update it:
composer update symfony/security-http --with-all-dependencies. You need the fixed version for your release line (5.4.56, 6.4.50, 7.4.23 and 8.1.11). - If Composer will not go that high, your composer.json constraint is holding it back. Widen it (for example
"symfony/security-http": "^8.1.11"if you can take that version), or upgrade the package that requires it. - Run
composer audit. It reads the same advisory data and should no longer list CVE-2026-123746. - Commit composer.lock and deploy it. On the server, run
composer install --no-devfrom the lock file, notcomposer update.
If you cannot upgrade yet
- Remove accounts you do not need and review what each role can do.
- Put the admin area behind a VPN, IP allow-list or extra login until you upgrade.
- If your app does not use the affected feature, note that in your audit, but still plan the upgrade.
Is your project exposed to CVE-2026-123746?
Check the one package here, or check everything your project installs at once.
- Check symfony/security-http Enter your installed version and compare it with every known symfony/security-http advisory. Check my version
-
Check your whole composer.lock
The free checker compares every locked package with the same advisory data
composer audituses. Check composer.lock
The CVE-2026-123746 advisory
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.
References
- GitHub security advisory GHSA-8f57-m8wj-x65w github.com
- Fix commit af0aae5 github.com
Other symfony/security-http advisories
- CVE-2026-134790: Login Redirects Can Still Reach Another Host When the Session Cookie Domain Is Set: Incomplete Fix for CVE-2017-16652 2026-11-25
- CVE-2026-118513: X509Authenticator and X509AuthenticationListener Read Escaped RFC 2253 Commas and Bare Slashes Inside a DN Value as RDN Boundaries… 2026-11-04
- high CVE-2026-48489: Security Firewall Bypass via failure_forward Subrequest: Unauthenticated Access to access_control-Protected GET Routes 2026-05-26
- high CVE-2026-45063: Identity Spoofing via Unanchored DN Regex in X509Authenticator 2026-05-20
- medium CVE-2026-45069: OidcTokenHandler Accepts JWTs Missing aud/iss/exp Claims 2026-05-20
- medium CVE-2026-45074: Cas2Handler Derives CAS service URL from Client Host Header → Cross-Service Ticket Replay 2026-05-20
Related
Need help patching or upgrading? Laskyr does PHP and Laravel security fixes and upgrades. Tell us what you run and we reply with a plan and a price.
Ask about a fixWhere this data comes from
- Affected and fixed versions: the Packagist security advisories API (GitHub Advisory Database and FriendsOfPHP), the same data
composer audituses. Synced 2026-11-29. - Description, score, weakness and references: NIST National Vulnerability Database (NVD), checked 2026-11-26. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Exploited-in-the-wild status: the CISA Known Exploited Vulnerabilities catalog, checked 2026-11-29.
- Compiled by Daniel Lasek at Laskyr from the sources above. Everything outside the quoted description is our plain-English reading of the record, generated from it. Spot an error? Tell us.