Intel

AIKIDO-2026-437687

symfony/security-http is vulnerable to Authentication Bypass Using an Alternate Path or Channel

CVE-2026-123746Published 4 days ago
November 16, 2026

23

CVE Score

Low

Authentication Bypass Using an Alternate Path or Channel

Are you affected? Scan for Free

TL;DR

Before the fix, authenticateUser(), reached through Security::login() and UserAuthenticatorInterface::authenticateUser(), stored the login token without dispatching AuthenticationSuccessEvent, so a custom user checker's checkPostAuth() never ran on programmatic logins. An account a checker rejected in checkPostAuth(), such as an expired account, was refused by form login but still logged in by a registration, password-reset or email-verification controller calling these methods. On Symfony 5.4, the default user checker also rejects expired credentials for the deprecated User class; other applications need a custom checker rejecting in checkPostAuth() to be affected. The fix dispatches AuthenticationSuccessEvent before storing the token, so a checker rejection now throws out of the programmatic login.

How do I fix this?

Upgrade the symfony/security-http and/or symfony/symfony package to a fixed release on your branch: 5.4.56, 6.4.50, 7.4.23, 8.1.11.

Who does this affect?

You are affected if you use a version in the vulnerable range and log users in programmatically with Security::login() or authenticateUser() when a custom user checker rejects them in checkPostAuth(), or when using Symfony 5.4's deprecated User class with expired credentials.

Versions

5.1.0 - 5.4.55

Fixed in 5.4.56

6.0.0 - 6.4.49

Fixed in 6.4.50

7.0.0 - 7.4.22

Fixed in 7.4.23

8.0.0 - 8.1.10

Fixed in 8.1.11

Background info

symfony/security-http is vulnerable to Authentication Bypass Using an Alternate Path or Channel in versions 5.1.0 - 5.4.55, 6.0.0 - 6.4.49, 7.0.0 - 7.4.22 and 8.0.0 - 8.1.10.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea