symfony/security-http · Symfony: X509Authenticator and X509AuthenticationListener Read Escaped RFC 2253 Commas and Bare Slashes Inside a DN
Affects symfony/security-httpSource GCVE Database
Not known to be exploited · CVSS 7.7 High : upgrade to 5.4.56 soon.
Data as of 1 Dec 2026, 23:44 UTC
Thin evidence
One scorer or none| CNA (Checkmarx) | CVSS 4.0 | 7.7 |
|---|
- Patch
- Available – fixed in 5.4.56, 6.4.50, 7.4.23 +1
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistsymfony/security-http | Affected
| Fixed in
|
| Packagistsymfony/security-http | Affected
| Fixed in
|
| Packagistsymfony/security-http | Affected
| Fixed in
|
| Packagistsymfony/security-http | Affected
| Fixed in
|
| Packagistsymfony/symfony | Affected
| Fixed in
|
| Packagistsymfony/symfony | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official patches provided in Symfony versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11 or later, which fix the DN parsing logic to correctly handle escaped separators and attribute boundaries. For deployments using legacy DN formats or older OpenSSL versions, switch to RFC 2253 output formats or configure the application to use per-attribute user keys (e.g., SSL_CLIENT_S_DN_Email) to avoid fallback parsing. No other immediate actions are required once patched.
Description
Symfony's X509Authenticator and X509AuthenticationListener components had a vulnerability in how they parsed the Subject DN (Distinguished Name) from client certificates. The parsing did not correctly handle escaped commas and slashes inside DN attribute values, allowing an attacker with a certificate from a trusted CA to spoof arbitrary user identities by injecting crafted values into the CN field. This could lead to authentication as any user, including privileged ones. The issue affects multiple Symfony versions prior to fixed releases. The vulnerability is addressed by properly splitting and unescaping DN components before extracting attributes.
References
- github.com/symfony/symfony/security/advisories/GHSA-5w3m-mfwg-9f8r (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-118513 (opens in a new tab)
- github.com/symfony/symfony/commit/0f5e26b664d17cb235ca6b6d15bf4e7ac83d25cb (opens in a new tab)
- github.com/symfony/symfony/commit/e885d7549a234530ce1d59121d4ac3ee35b1caea (opens in a new tab)
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2026-118513.yaml (opens in a new tab)
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-118513.yaml (opens in a new tab)
- github.com/symfony/symfony (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v5.4.56 (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v6.4.50 (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v7.4.23 (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v8.1.11 (opens in a new tab)
- symfony.com/cve-2026-118513 (opens in a new tab)