Someone holding a client certificate from a CA your app trusts can log in as another user, including an admin. They need to be able to choose text in the certificate's name fields. Symfony's X509 login read the user's email from the certificate's subject name, and crafted text inside one field could pass as another user's email.

This is an incomplete fix for CVE-2026-45063.

Who is affected

Apps on symfony/security-http (also part of symfony/symfony) that log users in with client certificates through X509Authenticator, the x509 firewall option. On 5.4, the older X509AuthenticationListener is affected too, and it was never covered by the first fix.

The Symfony advisory says you're safe if your firewall reads a single attribute as the user key, such as Apache's SSL_CLIENT_S_DN_Email. You're also safe if your CA builds or checks the subject itself instead of accepting what the requester asks for. The nginx setup in Symfony's docs is exposed, because nginx has no per-attribute value.

What to do

Update to 5.4.56, 6.4.50, 7.4.23 or 8.1.11. If you're on 8.0, update to 8.1.11. The fix (5.4, 6.4) splits the subject into its parts before looking for the email.

Symfony also says some formats can't be read safely at all: Apache's LegacyDNStringFormat and nginx's $ssl_client_s_dn_legacy with OpenSSL older than 3.0, and HAProxy's ssl_c_s_dn. Switch those to the RFC 2253 format or to a per-attribute value.

Reported by Oryam Halachmi, dahmani toumi and Stapat.