{"id":"CVE-2026-123746","kind":"vulnerability","aliases":["CVE-2026-123746"],"related":[],"title":"Symfony: rejected accounts can log in through programmatic authentication","description":"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.\n\n\n\nAuthenticatorManager::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.\n\n\n\nApplications 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.\n\n\n\nThe 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.","summary":"Symfony's Security HTTP component skips the custom user checker's post-authentication check when a user is authenticated programmatically. An account that a custom checker rejects, such as an expired account, can still obtain an authenticated session through flows like password reset or e-mail verification.","severity":"low","cvss":2.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["php","runtime","self-hosted","symfony"],"not_affected_if":["default-config","no-custom-user-checker","no-programmatic-login"],"how_to_check":"- Check the installed version of `symfony/security-http` in `composer.lock` and compare it with the fixed versions.\n- Search your code for a custom user checker whose `checkPostAuth()` method rejects users, for example for expired accounts.\n- Check whether the application calls `Security::login()` or `UserAuthenticatorInterface::authenticateUser()` after a password reset or e-mail verification.","fix":"- Symfony `5.4.56`\n- Symfony `6.4.50`\n- Symfony `7.4.23`\n- Symfony `8.1.11`","status":"open","published_at":"2026-11-06T13:17:29+00:00","first_seen_at":"2026-11-06T13:42:19+00:00","triaged_at":"2026-11-06T13:43:22+00:00","updated_at":"2026-11-06T13:43:22+00:00","category":"runtime","confidence":0.7,"triage":{"at":"2026-11-06T13:43:22Z","model":"claude-haiku-5-5","output":{"fix":"- Symfony `5.4.56`\n- Symfony `6.4.50`\n- Symfony `7.4.23`\n- Symfony `8.1.11`","reach":"internet","title":"Symfony: rejected accounts can log in through programmatic authentication","impact":"medium","summary":"Symfony's Security HTTP component skips the custom user checker's post-authentication check when a user is authenticated programmatically. An account that a custom checker rejects, such as an expired account, can still obtain an authenticated session through flows like password reset or e-mail verification.","audience":"businesses","category":"runtime","nicknames":[],"who_cares":["symfony","php","self-hosted"],"confidence":0.7,"fix_status":"available","needs_auth":"unknown","worst_case":"a rejected account gains an authenticated session","analyst_note":"","how_to_check":"- Check the installed version of `symfony/security-http` in `composer.lock` and compare it with the fixed versions.\n- Search your code for a custom user checker whose `checkPostAuth()` method rejects users, for example for expired accounts.\n- Check whether the application calls `Security::login()` or `UserAuthenticatorInterface::authenticateUser()` after a password reset or e-mail verification.","plain_action":"","needs_analyst":false,"not_affected_if":["default-config","no-custom-user-checker","no-programmatic-login"],"who_is_affected":"Applications are exposed only when they use a custom user checker that rejects users in `checkPostAuth()` and authenticate users programmatically, for example after a password reset or e-mail verification link. The default user checker does nothing in `checkPostAuth()`, so default configurations are not affected.","user_interaction":"unknown","needs_special_setup":"yes","severity_if_unknown":"low"},"cost_usd":0.00102,"input_tokens":4699,"output_tokens":1100,"severity_before":"low"},"analyst_status":null,"analyst_note":null,"search":"'-123746':12A,15A '-2024':168C '-2026':11A,14A '-50341':169C '5.4.56':116C '6':117C '6.4.50':121C '7':122C '7.4.23':126C '8':128C '8.1.11':132C 'account':3A,44B,54B,96C,107C,184C,246C 'affect':213C,272C 'allow':94C 'applic':211C 'authent':9A,35B,41B,59B,92C,110C,148C,201C,209C,227C,253C,293C 'authenticateus':77C,134C,139C,277C 'authenticatormanag':76C,133C,276C 'call':173C 'check':36B 'checker':31B,48B,84C,102C,190C,220C,261C 'checkpostauth':86C,162C,176C,192C,225C,265C,300C 'checkpreauth':174C 'compon':26B,75C 'configur':269C 'creat':286C 'custom':29B,47B,100C,188C,218C 'cve':10A,13A,167C 'default':259C,268C 'dispatch':156C,278C 'e':68B,239C 'e-mail':67B,238C 'event':159C,281C 'exampl':231C 'expir':53B,106C 'firewal':82C,204C,296C 'fix':165C,274C 'flow':62B,257C 'form':196C 'host':20B 'http':25B,74C 'like':63B 'link':242C 'log':5A 'login':146C,172C,197C 'made':170C 'mail':69B,240C 'make':275C 'method':87C 'noth':263C 'obtain':57B,251C 'password':64B,234C 'php':16B 'post':34B 'post-authent':33B 'prior':114C,119C,124C,130C 'programmat':8A,42B,93C,151C,210C,229C 'refus':194C 'reject':2A,49B,97C,185C,222C,248C,304C 'reset':65B,235C 'result':182C 'run':80C,163C,301C 'runtim':17B 'secur':24B,73C,145C,171C 'security.authentication.success':158C,280C 'securitybundl':143C 'self':19B 'self-host':18B 'session':60B,254C 'skip':27B,179C 'still':56B,178C,207C 'store':291C 'symfoni':1A,21B,22B,72C,112C 'token':284C 'use':136C,216C 'user':30B,39B,83C,90C,101C,150C,189C,219C,223C,228C,244C,260C,306C 'userauthenticatorinterfac':138C 'verif':70B,241C 'version':113C 'whose':245C 'x':118C,123C,129C","nicknames":[],"mitigations":[],"who_affected":"Applications are exposed only when they use a custom user checker that rejects users in `checkPostAuth()` and authenticate users programmatically, for example after a password reset or e-mail verification link. The default user checker does nothing in `checkPostAuth()`, so default configurations are not affected.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["low","php","runtime","selfhosted","symfony"],"campaign_type":null,"search_a":"'-123746':12A,15A '-2026':11A,14A 'account':3A 'authent':9A 'cve':10A,13A 'log':5A 'programmat':8A 'reject':2A 'symfoni':1A","search_b":"'account':44B,54B 'authent':35B,41B,59B 'check':36B 'checker':31B,48B 'compon':26B 'custom':29B,47B 'e':68B 'e-mail':67B 'expir':53B 'flow':62B 'host':20B 'http':25B 'like':63B 'mail':69B 'obtain':57B 'password':64B 'php':16B 'post':34B 'post-authent':33B 'programmat':42B 'reject':49B 'reset':65B 'runtim':17B 'secur':24B 'self':19B 'self-host':18B 'session':60B 'skip':27B 'still':56B 'symfoni':21B,22B 'user':30B,39B 'verif':70B","search_c":"'-2024':168C '-50341':169C '5.4.56':116C '6':117C '6.4.50':121C '7':122C '7.4.23':126C '8':128C '8.1.11':132C 'account':96C,107C,184C,246C 'affect':213C,272C 'allow':94C 'applic':211C 'authent':92C,110C,148C,201C,209C,227C,253C,293C 'authenticateus':77C,134C,139C,277C 'authenticatormanag':76C,133C,276C 'call':173C 'checker':84C,102C,190C,220C,261C 'checkpostauth':86C,162C,176C,192C,225C,265C,300C 'checkpreauth':174C 'compon':75C 'configur':269C 'creat':286C 'custom':100C,188C,218C 'cve':167C 'default':259C,268C 'dispatch':156C,278C 'e':239C 'e-mail':238C 'event':159C,281C 'exampl':231C 'expir':106C 'firewal':82C,204C,296C 'fix':165C,274C 'flow':257C 'form':196C 'http':74C 'link':242C 'login':146C,172C,197C 'made':170C 'mail':240C 'make':275C 'method':87C 'noth':263C 'obtain':251C 'password':234C 'prior':114C,119C,124C,130C 'programmat':93C,151C,210C,229C 'refus':194C 'reject':97C,185C,222C,248C,304C 'reset':235C 'result':182C 'run':80C,163C,301C 'secur':73C,145C,171C 'security.authentication.success':158C,280C 'securitybundl':143C 'session':254C 'skip':179C 'still':178C,207C 'store':291C 'symfoni':72C,112C 'token':284C 'use':136C,216C 'user':83C,90C,101C,150C,189C,219C,223C,228C,244C,260C,306C 'userauthenticatorinterfac':138C 'verif':241C 'version':113C 'whose':245C 'x':118C,123C,129C","first_public_at":"2026-11-04T11:43:40+00:00","kev":null,"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/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","cvss_by":"596c5446-0ce5-4ba2-aa66-48b3b757a647","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-123746","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123746","severity":null,"published_at":"2026-11-06T13:17:29+00:00","modified_at":"2026-11-06T13:17:29+00:00","first_seen_at":"2026-11-06T13:42:19+00:00","fetched_at":"2026-11-06T13:42:19+00:00","note":null}],"documents":[{"id":86780,"url":"https://github.com/symfony/symfony/commit/af0aae5012beedf0a0c3fd581fd8b9ef696240c4","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":86781,"url":"https://github.com/symfony/symfony/security/advisories/GHSA-8f57-m8wj-x65w","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-04T11:43:40+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"}],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}