Threat Advisory

Symfony Flaws Let Attackers Spoof Users and Bypass Authentication Checks

Threat: Vulnerability
Targeted Region: Global
Targeted Sector: Technology & IT
Criticality: High
[subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

Multiple security vulnerabilities have been identified in Symfony security-http and Symfony, affecting versions below 5.4.56, 6.0.0 through below 6.4.50, 7.0.0 through below 7.4.23, and 8.0.0 through below 8.1.11. The issues involve X.509 certificate authentication and programmatic login flows, allowing certificate-based identity spoofing or bypass of post-authentication account checks. The overall risk is high because an attacker with a trusted certificate or programmatic login path may gain unauthorized access.

CVE-2026-118513 (CVSS 7.7 — High): The X.509 authentication components parse serialized Subject DN strings without distinguishing escaped or bare separator characters inside a value from true RDN boundaries. An attacker holding a certificate from a trusted CA and able to influence the common name can smuggle an email address value and authenticate as an arbitrary user, including a privileged one.[/subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

Multiple security vulnerabilities have been identified in Symfony security-http and Symfony, affecting versions below 5.4.56, 6.0.0 through below 6.4.50, 7.0.0 through below 7.4.23, and 8.0.0 through below 8.1.11. The issues involve X.509 certificate authentication and programmatic login flows, allowing certificate-based identity spoofing or bypass of post-authentication account checks. The overall risk is high because an attacker with a trusted certificate or programmatic login path may gain unauthorized access.

CVE-2026-118513 (CVSS 7.7 — High): The X.509 authentication components parse serialized Subject DN strings without distinguishing escaped or bare separator characters inside a value from true RDN boundaries. An attacker holding a certificate from a trusted CA and able to influence the common name can smuggle an email address value and authenticate as an arbitrary user, including a privileged one.[emaillocker id="1283"]

CVE-2026-45063: The issue concerned the X.509 authenticator extracting a user identifier from the Subject DN, where the extraction was not anchored to an RDN boundary. This could allow a certificate subject to be misread during X.509 authentication, enabling an attacker with a suitable certificate to influence the selected user identifier.

CVE-2026-123746 (CVSS 2.3 — Low): Programmatic login paths in Symfony security-http did not run the post-authentication user-checker step, so accounts rejected by that step could still be logged in programmatically. Applications that use a custom user checker to reject users after authentication are affected, allowing a low-impact bypass of account-state checks.

CVE-2024-50341: The issue involved programmatic login not invoking the firewall's pre-authentication user-checker step. This could allow a user to be logged in programmatically without the pre-authentication checks that other authentication paths apply.

These vulnerabilities collectively present a risk of unauthorized access in Symfony applications that use X.509 certificate authentication or programmatic login. The greatest exposure is for deployments that accept requester-influenced certificate subject values or rely on post-authentication account checks. The general action is to assess whether these authentication paths are in use.

RECOMMENDATION:

We recommend you to update symfony/security-http to version 5.4.56, 6.4.50, 7.4.23, or 8.1.11 depending on your installed branch.

REFERENCES:

The following reports contain further technical details:

[/emaillocker]
crossmenu