Security mailing lists by PureSourceCode

CVE-2026-123746

LOW 2.3CVSS 4.0

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. 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.

Published
6 Nov 2026
Last modified
1 Dec 2026
Assigned by
596c5446-0ce5-4ba2-aa66-48b3b757a647
NVD status
Awaiting Analysis
Weakness
CWE-287CWE-288
Also known as
GHSA-8f57-m8wj-x65w
Sources
NVDJSONOSV GHSA-8f57-m8wj-x65wJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 596c5446-0ce5-4ba2-aa66-48b3b757a647 (Secondary) CVSS 4.0 LOW 2.3 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist symfony/security-http < 5.4.56 5.4.56
OSV Packagist symfony/security-http >= 6.0.0, < 6.4.50 6.4.50
OSV Packagist symfony/security-http >= 7.0.0, < 7.4.23 7.4.23
OSV Packagist symfony/security-http >= 8.0.0, < 8.1.11 8.1.11
OSV Packagist symfony/symfony < 5.4.56 5.4.56
OSV Packagist symfony/symfony >= 6.0.0, < 6.4.50 6.4.50
OSV Packagist symfony/symfony >= 7.0.0, < 7.4.23 7.4.23
OSV Packagist symfony/symfony >= 8.0.0, < 8.1.11 8.1.11

References

History

  • 1 Dec 2026 22:59 UTC · OSV: first stored (published 1 Dec 2026)
  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 6 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.