Loading advisory.
Loading advisory.
Symfony Vulnerable to Identity Spoofing via Unanchored DN Regex in X509Authenticator
X509Authenticator implements client-certificate (mTLS) authentication: the web server validates the client's certificate against a trusted CA, then passes the certificate's Subject DN (Distinguished Name: a string like CN=Alice,O=Example,emailAddress=alice@example.com) to Symfony via…
Published 2026-05-27 16:50 UTC · Modified 2026-09-10 03:51 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| symfony/security-http | Packagist | < 5.4.52 >= 6.0.0-BETA1, < 6.4.40 >= 7.0.0-BETA1, < 7.4.12 >= 8.0.0-BETA1, < 8.0.12 versions v2.4.0, v2.4.0-BETA1, v2.4.0-BETA2, v2.4.0-RC1, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.0-BETA1, v2.5.0-BETA2, v2.5.0-RC1, v2.5.1, v2.5.10 and 609 more | 5.4.52, 6.4.40, 7.4.12, 8.0.12 | composer require 'symfony/security-http:>=5.4.52'composer require 'symfony/security-http:>=6.4.40'composer require 'symfony/security-http:>=7.4.12'composer require 'symfony/security-http:>=8.0.12' |
| symfony/symfony | Packagist | < 5.4.52 >= 6.0.0-BETA1, < 6.4.40 >= 7.0.0-BETA1, < 7.4.12 >= 8.0.0-BETA1, < 8.0.12 versions 2.0.4, 2.0.5, 2.0.6, 2.0.7, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25 and 827 more | 5.4.52, 6.4.40, 7.4.12, 8.0.12 | composer require 'symfony/symfony:>=5.4.52'composer require 'symfony/symfony:>=6.4.40'composer require 'symfony/symfony:>=7.4.12'composer require 'symfony/symfony:>=8.0.12' |
X509Authenticator implements client-certificate (mTLS) authentication: the web server validates the client's certificate against a trusted CA, then passes the certificate's Subject DN (Distinguished Name: a string like CN=Alice,O=Example,emailAddress=alice@example.com) to Symfony via $_SERVER['SSL_CLIENT_S_DN']. Symfony extracts the user identifier from that string.
The extraction uses an unanchored regex that matches emailAddress= anywhere in the DN string: including inside the value of a different RDN (Relative Distinguished Name: one key=value component of the DN), such as CN. An attacker who can obtain a certificate from a trusted CA with a free-text CN can smuggle emailAddress=victim@target inside the CN value and be authenticated as the victim.
The X509Authenticator now uses a regex that anchors the match to an RDN boundary (start of string, or following a , / / separator).
The patch for this issue is available here for branch 5.4.
Symfony would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and providing the fix.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.003 | v2026.06.15 |