Visit the Wiz Whimzical Shop at AWS re:Invent
Vulnerability DatabaseCVE-2026-123746

CVE-2026-123746: 
PHP vulnerability analysis and mitigation

Overview

CVE-2026-123746 is an authentication bypass vulnerability in the Symfony Security HTTP component (symfony/security-http) where AuthenticatorManager::authenticateUser() fails to invoke the firewall user checker's checkPostAuth() method during programmatic authentication. This allows accounts that should be rejected by a custom user checker (e.g., expired accounts) to obtain authenticated sessions through programmatic login flows such as password reset or email verification. Affected versions include symfony/security-http 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. It carries a CVSS v4 base score of 2.3 (Low) (GitHub Advisory).

Technical details

The root cause is classified as CWE-288 (Authentication Bypass Using an Alternate Path or Channel). AuthenticatorManager::authenticateUser(), used by both UserAuthenticatorInterface::authenticateUser() and SecurityBundle's Security::login(), did not dispatch the security.authentication.success event — the event on which checkPostAuth() runs via UserCheckerListener. The prior fix for CVE-2024-50341 addressed checkPreAuth() being skipped in Security::login(), but checkPostAuth() remained unexecuted in the programmatic path. The fix dispatches AuthenticationSuccessEvent after token creation and before token storage, mirroring the behavior of standard firewall-based authentication (GitHub Advisory, Symfony Commit).

Impact

Exploitation allows a user whose account is rejected by a custom checkPostAuth() implementation (e.g., an expired, banned, or otherwise restricted account) to bypass those access controls and obtain a valid authenticated session through programmatic login flows. The impact is limited to applications that both implement a custom user checker with logic in checkPostAuth() and use programmatic authentication (e.g., post-password-reset or post-email-verification login). The default Symfony user checker performs no action in checkPostAuth() on versions 6.4 and above, so default configurations are unaffected; on 5.4, users of the deprecated User class with expired credentials are at risk (GitHub Advisory).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported for this vulnerability. The EPSS score is approximately 0.279%, indicating a low probability of exploitation in the near term. The NVD SSVC assessment classifies exploitation as "none" and the vulnerability as non-automatable. The CVE is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires the attacker to already possess credentials for a restricted account and the application to use a custom user checker with checkPostAuth() logic alongside programmatic login flows (GitHub Advisory, Feedly).

Exploitation steps

  1. Identify a target application: Locate a Symfony application using a custom user checker that rejects users in checkPostAuth() (e.g., expired accounts) and exposes a programmatic login flow such as a password reset or email verification endpoint.
  2. Obtain credentials for a restricted account: Acquire valid credentials for an account that would normally be rejected by the custom checkPostAuth() logic (e.g., an expired or suspended account).
  3. Trigger the programmatic login flow: Initiate the password reset or email verification process for the restricted account, which internally calls Security::login() or UserAuthenticatorInterface::authenticateUser().
  4. Bypass post-authentication check: Because AuthenticatorManager::authenticateUser() does not dispatch the security.authentication.success event (and thus does not invoke checkPostAuth()), the account restriction is not enforced and an authenticated session token is issued.
  5. Access the application: Use the resulting authenticated session to access the application as the restricted user, bypassing the intended access controls (GitHub Advisory).

Indicators of compromise

  • Logs: Application logs showing successful programmatic login events (e.g., security.authentication.success) for accounts that should be rejected by custom user checker logic; absence of checkPostAuth() rejection exceptions in logs for known restricted accounts.
  • Application Behavior: Authenticated sessions established for accounts flagged as expired, banned, or otherwise restricted in the application's user management system, particularly following password reset or email verification flows.
  • Network: Unusual or repeated requests to password reset or email verification endpoints followed by authenticated session activity from accounts expected to be inactive or restricted.

Mitigation and workarounds

Upgrade symfony/security-http (or symfony/symfony) to one of the patched versions: 5.4.56, 6.4.50, 7.4.23, or 8.1.11. The fix ensures AuthenticatorManager::authenticateUser() dispatches the security.authentication.success event before storing the token, causing checkPostAuth() to run as it does during standard firewall authentication. Note that after patching, code that calls Security::login() or authenticateUser() programmatically may need to catch exceptions thrown by checkPostAuth(). Applications not using a custom user checker with checkPostAuth() logic are not affected and do not require urgent action (GitHub Advisory, Symfony Commit).

Community reactions

The vulnerability was reported by Vincent Cassiau (CyberVanguard) and the fix was provided by Nicolas Grekas. Bruno Dias from Checkmarx assisted in obtaining the CVE assignment. No significant broader community or media reactions have been identified beyond the official advisory (GitHub Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

symfony

Affected

sid

symfony: 7.4.23+dfsg-1

Fixed

trixie

symfony: 6.4.50+dfsg-0+deb13u1

Fixed

Ubuntu

Unknown

bionic (esm-apps)

symfony

Unknown

devel

symfony

Unknown

focal (esm-apps)

symfony

Unknown

jammy

symfony

Unknown

jammy (esm-apps)

symfony

Unknown

noble

symfony

Unknown

noble (esm-apps)

symfony

Unknown

resolute

symfony

Unknown

Source: This report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-77gj-jmpx-g9fqHIGH8.1
  • PHP logoPHP
  • erugooss/erugo
NoYesNov 30, 2026
GHSA-679q-wc28-7wrvMEDIUM6.3
  • PHP logoPHP
  • knplabs/knp-snappy
NoYesNov 30, 2026
GHSA-qjgm-48mm-xm5qMEDIUM4.8
  • PHP logoPHP
  • bitpay/module-bpcheckout
NoYesNov 30, 2026
GHSA-v2m3-jwg5-vv65HIGHN/A
  • PHP logoPHP
  • tina4stack/tina4php
NoYesNov 30, 2026
GHSA-h2mr-m3v3-cq8cLOWN/A
  • JavaScript logoJavaScript
  • tina4-python
NoYesNov 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management