Skip to content
Laskyr

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

2.3 Low CVSS 4.0

Fixed in symfony/security-http 5.4.56, 6.4.50, 7.4.23 and 8.1.11

This authentication bypass issue affects symfony/security-http in 4 release lines: >= 5.2.2, < 5.4.56; >= 6.0.0, < 6.4.50; >= 7.0.0, < 7.4.23; >= 8.0.0, < 8.1.11. Upgrade to the fixed version for your release line (5.4.56, 6.4.50, 7.4.23 and 8.1.11). The newest release, 8.2.0, is not affected.

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

The same advisory covers another package in our list. Fix whichever one your project installs.

Is your symfony/security-http version affected?

Run composer show symfony/security-http in your project, then enter the version. We check it against this and every other known symfony/security-http advisory.

Who can exploit CVE-2026-123746

Your app is only exposed if it uses the affected part of symfony/security-http. The advisory below says which part that is. If you are not sure, upgrade anyway: it costs less than finding out.

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

  1. Find the installed version: composer show symfony/security-http. If you never required it yourself, composer why symfony/security-http shows which package pulls it in.
  2. 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).
  3. 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.
  4. Run composer audit. It reads the same advisory data and should no longer list CVE-2026-123746.
  5. Commit composer.lock and deploy it. On the server, run composer install --no-dev from the lock file, not composer update.

If you cannot upgrade yet

General hardening for authentication bypass issues while the upgrade waits. None of it replaces the fix.

Is your project exposed to CVE-2026-123746?

Check the one package here, or check everything your project installs at once.

  1. Check symfony/security-http Enter your installed version and compare it with every known symfony/security-http advisory. Check my version
  2. Check your whole composer.lock The free checker compares every locked package with the same advisory data composer audit uses. 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.

Description from the CVE record, via the NVD entry for CVE-2026-123746. Advisory title: “Programmatic Logins Skip the checkPostAuth() Method of User Checkers”.

References

Other symfony/security-http advisories

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 fix

Where this data comes from

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.