CVE-2026-123746 — Symfony: Programmatic Logins Skip the checkPostAuth() Method of User Checkers
One of 2 composer:symfony/security-http vulnerabilities published together by GitHub Advisory: our article covers all of them.
PHPWebNetwork devicesEmailVulnerabilitiesResearch article
Symfony Security Component Vulnerability Allows Authentication Bypass [CVE-2026-123746]
| CVE | CVE-2026-123746 |
|---|---|
| Vendor and product | composer:symfony/security-http; composer:symfony/symfony |
| Published | December 01, 2026 22:40 UTC |
| Research cut-off | December 01, 2026 22:30 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-10); CISA KEV catalog; GitHub advisory (2026-12-01) |
Executive summary
A vulnerability in the Symfony Security Component allows logins performed through code to bypass the checkPostAuth() method that user checkers provide [3]. The CVSS 4.0 score is 2.3 LOW, with a vector indicating network access, low privileges, and no user interaction [1]. This vulnerability affects several versions of the security-http and symfony packages, with patches available [3]. The reviewed sources do not report exploitation [2]. The primary mitigation is updating to a patched version.
Key points
- A vulnerability in the Symfony Security Component allows logins performed through code to bypass the checkPostAuth() method that user checkers provide [3].
- The CVSS 4.0 score is 2.3 LOW, with a vector indicating network access, low privileges, and no user interaction [1].
- This vulnerability affects several versions of the security-http and symfony packages, with patches available [3].
- The reviewed sources do not report any evidence of exploitation [2].
- The primary mitigation is updating to a patched version.
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS Version | CVSS Score | CVSS Rating | Scorer | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|---|---|---|
| CVE-2026-123746 | Symfony | Security Component | CWE-288, CWE-287 | CVSS 4.0 | 2.3 | LOW | GitHub | 2026-11-06 | 2026-11-10 | Awaiting Analysis |
Vulnerability description
This flaw lets accounts refused by checkPostAuth during user checker validation, for example expired accounts, be signed in via Security::login() and UserAuthenticatorInterface::authenticateUser() [3]. The issue occurs because the Security::login() and UserAuthenticatorInterface::authenticateUser() methods fail to invoke checkPostAuth() after checkPreAuth() [3]. The advisory does not say whether attackers could use this omission; it states that the methods do not call checkPostAuth() after checkPreAuth() [3].
Attack surface and exploitation prerequisites
The CVSS vector indicates that the vulnerability requires network access, low-level privileges, and no user interaction [1]. The exploit is accessible via the network, and it does not necessitate any user action [1].
Impact analysis
The CVSS vector shows low confidentiality and integrity impact and no availability impact [1]. The advisory notes that programmatic logins do not run the checkPostAuth() method of user checkers [3].
Affected products and versions
| Affected Package | Affected Version | Fixed Version |
|---|---|---|
| symfony/security-http | Less than 5.4.56 | 5.4.56 |
| symfony/security-http | 6.0.0 or higher, less than 6.4.50 | 6.4.50 |
| symfony/security-http | 7.0.0 or higher, less than 7.4.23 | 7.4.23 |
| symfony/security-http | 8.0.0 or higher, less than 8.1.11 | 8.1.11 |
| symfony/symfony | Less than 5.4.56 | 5.4.56 |
| symfony/symfony | 6.0.0 or higher, less than 6.4.50 | 6.4.50 |
| symfony/symfony | 7.0.0 or higher, less than 7.4.23 | 7.4.23 |
| symfony/symfony | 8.0.0 or higher, less than 8.1.11 | 8.1.11 |
Exploitation and threat intelligence status
CVE-2026-123746 is not included in the CISA Known Exploited Vulnerabilities Catalog as of December 1, 2026 [2]. The reviewed sources do not report any evidence of exploitation [2].
Detection and exposure assessment
Users can assess their exposure by verifying if their installed version of the Symfony Security Component falls within the vulnerable range [3]. No specific detection steps are provided in the sources [3].
Remediation
The vulnerability is resolved in versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11 of the affected packages [3]. Users should apply these updates to resolve the issue [3].
Remediation checklist
- Upgrade the Symfony Security Component to version 5.4.56 or later [3].
- Upgrade the Symfony Security Component to version 6.4.50 or later [3].
- Upgrade the Symfony Security Component to version 7.4.23 or later [3].
- Upgrade the Symfony Security Component to version 8.1.11 or later [3].
- Confirm that all installed versions of the Symfony Security Component are within the fixed version range [3].
Evidence gaps
- The sources do not describe the internal workings of the affected component.
- The sources do not mention any alternative solutions.
- The sources do not provide a comprehensive version range.
- The sources do not detail the attack lifecycle.
- The sources do not include indicators of compromise.
References
- CVE-2026-123746 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-123746. Accessed 2026-12-01.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-01. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-01.
- GHSA-8f57-m8wj-x65w / CVE-2026-123746 — Symfony: Programmatic Logins Skip the checkPostAuth() Method of User Checkers. GitHub Security Advisory Database, 2026-12-01. https://github.com/advisories/GHSA-8f57-m8wj-x65w. Accessed 2026-12-01.
Severity breakdown
Low · 2.3
An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- low on confidentiality and integrity, none on availability
- Impact on other systems
- none
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| symfony/security-http (Packagist) | < 5.4.56 | 5.4.56 |
| ≥ 6.0.0, < 6.4.50 | 6.4.50 | |
| ≥ 7.0.0, < 7.4.23 | 7.4.23 | |
| ≥ 8.0.0, < 8.1.11 | 8.1.11 | |
| symfony/symfony (Packagist) | < 5.4.56 | 5.4.56 |
| ≥ 6.0.0, < 6.4.50 | 6.4.50 | |
| ≥ 7.0.0, < 7.4.23 | 7.4.23 | |
| ≥ 8.0.0, < 8.1.11 | 8.1.11 |
References by type
Vendor advisories
Patches and fixed releases
- github.com/symfony/symfony/commit/af0aae5012beedf0a0c3fd581fd8b9ef69624…
- github.com/symfony/symfony/releases/tag/v5.4.56
- github.com/symfony/symfony/releases/tag/v6.4.50
- github.com/symfony/symfony/releases/tag/v7.4.23
- github.com/symfony/symfony/releases/tag/v8.1.11
Other references
Details
Description
Security::login() and UserAuthenticatorInterface::authenticateUser() log a user in programmatically, for example after a password reset or after an email verification link. The fix for CVE-2024-50341 made Security::login() call the checkPreAuth() method of the user checker of the firewall. But neither method ran checkPostAuth(): this method runs on the security.authentication.success event, which AuthenticatorManager::authenticateUser() did not dispatch.
As a consequence, an account that a user checker rejects in checkPostAuth(), such as an expired account, was refused by form login and the other authenticators of the firewall, but could still be logged in through these methods.
Applications are affected when they use a custom user checker that rejects users in checkPostAuth() and log users in programmatically. On 6.4 and up, the default user checker does nothing in checkPostAuth(). On 5.4, it rejects users of the deprecated User class whose credentials expired.
Resolution
AuthenticatorManager::authenticateUser() now dispatches the security.authentication.success event once the token is created and before it is stored, as authentications through the firewall do. checkPostAuth() runs on this event and can reject the user.
As a consequence, an exception thrown by checkPostAuth() now comes out of Security::login() and authenticateUser(). Code that logs users in programmatically, such as a registration controller, may need to catch it.
UserAuthenticatorInterface::authenticateUser() still doesn't call checkPreAuth(), on purpose. That's where checks like "the email isn't verified yet" usually are, and registration controllers use this method to log in users that just registered.
The patches for this issue are available here for branch 5.4 (and forward-ported to 6.4, 7.4, 8.1 and 8.2).
Credits
Symfony would like to thank Vincent Cassiau (CyberVanguard) for reporting the issue and Nicolas Grekas for providing the fix.
Symfony would also like to thank Bruno Dias from Checkmarx for their help getting a CVE assigned.
Affected
- composer:symfony/security-http
- composer:symfony/symfony
Frequently asked questions
What is CVE-2026-123746?
A vulnerability in the Symfony Security Component allows logins performed through code to bypass the checkPostAuth() method that user checkers provide. The CVSS 4.0 score is 2.3 LOW, with a vector indicating network access, low privileges, and no user interaction. This vulnerability affects several versions of the security-http and symfony packages, with patches available. Weakness type: Authentication Bypass Using an Alternate Path or Channel (CWE-288).
How severe is CVE-2026-123746?
CVE-2026-123746 has a CVSS 4.0 base score of 2.3 (low), from the CNA. An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-123746 being exploited?
Not as far as is known: CVE-2026-123746 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-123746?
symfony/security-http (Packagist) < 5.4.56 (fixed in 5.4.56); symfony/security-http (Packagist) ≥ 6.0.0, < 6.4.50 (fixed in 6.4.50); symfony/security-http (Packagist) ≥ 7.0.0, < 7.4.23 (fixed in 7.4.23); symfony/security-http (Packagist) ≥ 8.0.0, < 8.1.11 (fixed in 8.1.11); and more, listed on this page.
How do I fix CVE-2026-123746?
Upgrade the Symfony Security Component to version 5.4.56 or later. Upgrade the Symfony Security Component to version 6.4.50 or later. Upgrade the Symfony Security Component to version 7.4.23 or later.
Timeline & sources
References
Related vulnerabilities & news
- Hide My WP Ghost Plugin Vulnerable to Stored XSS via Comment Parameter
- GHSA-5w3m-mfwg-9f8r / CVE-2026-118513 — Symfony: X509Authenticator and X509AuthenticationListener Read Escaped RFC 2253 Commas and Bare Slashes Inside a DN Value as RDN Boundaries
- CVE-2026-124997 — frogerme WP Remote Users Sync
- Security Affairs Roundup: Critical Drupal Flaw, NFS2ROOT, and a Wave of New Breaches
- SumUp Payment Gateway For WooCommerce Vulnerable to Insecure Direct Object Reference