Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › PHP

CVE-2026-123746 — Symfony: Programmatic Logins Skip the checkPostAuth() Method of User Checkers

Low · CVSS 2.3EPSS 0.3% First seen December 01, 2026

One of 2 composer:symfony/security-http vulnerabilities published together by GitHub Advisory: our article covers all of them.

PHPWebNetwork devicesEmailVulnerabilities

Research article

Symfony Security Component Vulnerability Allows Authentication Bypass [CVE-2026-123746]

CVECVE-2026-123746
Vendor and productcomposer:symfony/security-http; composer:symfony/symfony
PublishedDecember 01, 2026 22:40 UTC
Research cut-offDecember 01, 2026 22:30 UTC
Sources reviewed3: 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 IDVendorProductCWECVSS VersionCVSS ScoreCVSS RatingScorerPublishedLast ModifiedRecord Status
CVE-2026-123746SymfonySecurity ComponentCWE-288, CWE-287CVSS 4.02.3LOWGitHub2026-11-062026-11-10Awaiting 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 PackageAffected VersionFixed Version
symfony/security-httpLess than 5.4.565.4.56
symfony/security-http6.0.0 or higher, less than 6.4.506.4.50
symfony/security-http7.0.0 or higher, less than 7.4.237.4.23
symfony/security-http8.0.0 or higher, less than 8.1.118.1.11
symfony/symfonyLess than 5.4.565.4.56
symfony/symfony6.0.0 or higher, less than 6.4.506.4.50
symfony/symfony7.0.0 or higher, less than 7.4.237.4.23
symfony/symfony8.0.0 or higher, less than 8.1.118.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

  1. Upgrade the Symfony Security Component to version 5.4.56 or later [3].
  2. Upgrade the Symfony Security Component to version 6.4.50 or later [3].
  3. Upgrade the Symfony Security Component to version 7.4.23 or later [3].
  4. Upgrade the Symfony Security Component to version 8.1.11 or later [3].
  5. 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

  1. 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. CVE-2026-123746 record, CVSS scores, CWE, and publication details
  2. 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. CISA KEV status and absence of exploitation reports
  3. 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. Advisory details, CVSS scores, affected versions, and fix information

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Severity breakdown

Low · 2.3 CVSS 4.0 base score 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.

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

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 4.0 2.3 from GitHub: 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

Weakness

  • CWE-288: Authentication Bypass Using an Alternate Path or Channel
  • CWE-287: Improper Authentication

Affected and fixed versions

ProductAffected versionsFixed in
symfony/security-http (Packagist)< 5.4.565.4.56
≥ 6.0.0, < 6.4.506.4.50
≥ 7.0.0, < 7.4.237.4.23
≥ 8.0.0, < 8.1.118.1.11
symfony/symfony (Packagist)< 5.4.565.4.56
≥ 6.0.0, < 6.4.506.4.50
≥ 7.0.0, < 7.4.237.4.23
≥ 8.0.0, < 8.1.118.1.11

From the GitHub Advisory Database; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

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.

Source: GHSA-8f57-m8wj-x65w / CVE-2026-123746, GitHub Advisory Database, licensed CC BY 4.0.

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