llamaCVEVulnerability Intelligence
/
symfony

CVE-2026-118513

Symfony: X.509 Authentication Impersonation via DN Value Injection (incomplete fix for CVE-2026-45063)

Specific setups onlyParche disponibleauthentication bypass
Descargar PNG JSON
CVSS 4.0
7.7
Alta
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche4 versiones5.4.56 · 6.4.50 · 7.4.23 · 8.1.11
Exposición15 dDesde la divulgación, 4 nov 2026, 7:19 a. m.
Detección6 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Modificada
Explotación
Remediación
Monitoreo
Detectada +2
Fuente: OSV
Verificada
4 nov 26
5 nov 26
16 nov 26
20 nov 26
4 nov 26
8 nov 26
12 nov 26
16 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-118513 divulgada · CVSS 7.7 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 4 nov 2026

Symfony's X.509 authentication (X509Authenticator and X509AuthenticationListener) can be bypassed by an attacker who holds a certificate from the application's trusted CA and can influence its CN, allowing them to authenticate as any user, including privileged ones. The attack is carried out remotely, with low privileges and no user interaction.

Affects Symfony apps that read the X.509 Subject DN from SSL_CLIENT_S_DN before 5.4.56, 6.4.50, 7.4.23 or 8.1.11, which are the fixed releases for each branch.

¿Qué significa?An attacker holding a certificate from the application's trusted CA who can influence the CN can authenticate as any user of the application, including a privileged one, by spoofing the identifier taken from the certificate's Subject DN.
¿Quién está afectado?Symfony versions before 5.4.56, 6.0.0 to before 6.4.50, 7.0.0 to before 7.4.23, and 8.0.0 to before 8.1.11. The setup matters: the application must rely on the X509Authenticator or X509AuthenticationListener to read the Subject DN from $_SERVER['SSL_CLIENT_S_DN'] and must not configure a per-attribute user key. Check the installed Symfony version in composer.lock and look for X509 authenticator settings in the security configuration.
¿Qué hacer?Upgrade to 5.4.56, 6.4.50, 7.4.23 or 8.1.11, whichever matches the installed branch. If an upgrade is not possible yet, switch to RFC 2253 DN output or pass a per-attribute value as the user key.
Descripción original del registro (Checkmarx)

Authentication bypass by spoofing in X509Authenticator and X509AuthenticationListener of Symfony versions 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 allows an attacker holding a certificate from the application's trusted CA who can influence the CN to authenticate as an arbitrary user of the application, including a privileged one, following an incomplete fix for CVE-2026-45063. X509Authenticator extracts the user identifier from the Subject DN (Distinguished Name) that the web server passes in $_SERVER['SSL_CLIENT_S_DN']. The fix for CVE-2026-45063 anchored that extraction to an RDN (Relative Distinguished Name) boundary, but the regular expression used was not escape-aware. The expression runs against an already serialized DN, so it cannot tell an RDN separator from a separator character that occurs inside a value. Under RFC 2253, used by Apache and by nginx's $ssl_client_s_dn, a comma inside a value is escaped as \, and the expression reads it as a separator regardless. RFC 2253 also does not treat / as a separator, so it leaves it bare inside a value, while the expression treats every / as one. The legacy X509_NAME_oneline() format, used by Apache's LegacyDNStringFormat and by nginx's $ssl_client_s_dn_legacy, is the mirror image: it escapes / as \/ and leaves , bare. In that format, a certificate with no emailAddress attribute, or whose poisoned CN precedes it, authenticates as the smuggled address. To cover both RFC 2253 and the legacy X509_NAME_oneline() format, X509Authenticator and X509AuthenticationListener now split the DN into RDNs before looking for the attribute, instead of matching the attribute against the serialized string. They select the separator from the serialization, split on unescaped occurrences of that separator only, unescape each RDN afterwards with the rules of its format, and require the attribute to span a whole RDN. The accepted value grammar is unchanged. Applications that pass a per-attribute user key (such as SSL_CLIENT_S_DN_Email) and deployments whose CA generates or validates the subject are not affected by this vulnerability.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Application relies on the X509Authenticator or X509AuthenticationListener to read the Subject DN from $_SERVER['SSL_CLIENT_S_DN'] passed by the web server.“X509Authenticator extracts the user identifier from the Subject DN (Distinguished Name) that the web server passes in $_SERVER['SSL_CLIENT_S_DN']”
02
No per-attribute user key is configured; applications passing a per-attribute userKey are not affected.“never reach this fallback and are not affected”
03
Attacker must hold a certificate issued by the application's trusted CA and be able to influence the CN.“An attacker holding a certificate from the application's trusted CA who can influence the CN”
MitigaciónSwitch to the RFC 2253 DN output or pass a per-attribute value as the user key.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
symfony/security-http< 5.4.56
symfony/security-http≥ 6.0.0 < 6.4.50
symfony/security-http≥ 7.0.0 < 7.4.23
symfony/security-http≥ 8.0.0 < 8.1.11
5.4.56
6.0.0
6.4.50
7.0.0
7.4.23
8.0.0
8.1.11
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
symfony/security-http
Corregida 5.4.56, 6.4.50, 7.4.23, 8.1.11 — —
Versiones corregidas5.4.566.4.507.4.238.1.11
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALCheckmarx
Referencias
Fabricantehttps://github.com/symfony/symfony/security/advisories/GHSA-5w3m-mfwg-9f8r
Parchehttps://github.com/symfony/symfony/commit/0f5e26b664d17cb235ca6b6d15bf4e7ac83d25cb
Parchehttps://github.com/symfony/symfony/commit/e885d7549a234530ce1d59121d4ac3ee35b1caea

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.