Skip to main content

Symfony CVE-2026-118513

| EUVDEUVD-2026-116891 HIGH
Authentication Bypass by Spoofing (CWE-290)
2026-11-04 Checkmarx
7.7
CVSS 4.0 · Vendor: Checkmarx
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain certificate from application's trusted CA
  2. Delivery
    Embed spoofed emailAddress inside the CN value
  3. Exploit
    Present client certificate over TLS
  4. Execution
    Web server serializes DN into SSL_CLIENT_S_DN
  5. Persist
    Authenticator misreads escaped/bare separator as RDN boundary
  6. Impact
    Authenticate as arbitrary privileged user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the application use Symfony's X509Authenticator (or, on 5.4 with the authenticator manager disabled by default, the deprecated X509AuthenticationListener) and read the user identifier from the full Subject DN in $_SERVER['SSL_CLIENT_S_DN'] via the emailAddress fallback. The attacker must hold a certificate issued by the application's own trusted CA and be able to influence the CN field. It applies to the DN serializations Symfony documents: Apache's RFC 2253 default and its LegacyDNStringFormat, and nginx's $ssl_client_s_dn and $ssl_client_s_dn_legacy (the documented nginx config does reach the vulnerable fallback because nginx exposes no per-attribute value). Explicit LIMITING factors stated by the vendor: applications that pass a per-attribute user key (such as Apache's SSL_CLIENT_S_DN_Email) never reach this fallback and are NOT affected, and deployments whose CA generates or validates the subject itself rather than accepting requester-supplied values are NOT affected. The complete fix is upgrading to 5.4.56, 6.4.50, 7.4.23, or 8.1.11; the vendor also notes that deployments using legacy formats with older OpenSSL or HAProxy's ssl_c_s_dn should switch to RFC 2253 output or a per-attribute user key.

Impact

This is a genuine authentication-bypass-by-spoofing (CWE-290) flaw that lets an attacker authenticate as an arbitrary, possibly privileged, user, so the technical impact is high (VC:H/VI:H/VA:H in the supplied CVSS 4.0 vector, base score 7.7). Two signals pull the real-world urgency below that headline severity, however. First, the attack is not unconditional: the 4.0 vector carries AT:P (an attack requirement) and PR:L, reflecting that the attacker must already hold a certificate issued by the application's own trusted CA and must be able to influence the CN, and the flaw only bites specific DN serializations. Second, the only priority signal present is the vuln.today 'this_week' Decision label; there is NO EPSS score and NO CISA KEV entry in the supplied data, so there is no evidence of active or automated exploitation. There is also no packaged exploit in the references - only the GHSA advisory and two patch commits - although the advisory itself publishes exact attacker-controlled certificate CN strings (for example CN=jdoe\,emailAddress=admin@example.com) that fully describe how to reproduce the bypass, which materially lowers reproduction effort. On balance this is a patch-this-week issue for the subset of Symfony deployments that use X509 client-certificate authentication through the full Subject DN, not a mass-exploitation emergency. One caveat worth flagging for defenders: this is explicitly an INCOMPLETE fix for CVE-2026-45063, so any environment that believed itself remediated by that earlier fix is still exposed until it reaches the versions below.

Exploit ScenarioDerived

An attacker who legitimately holds a client certificate signed by the application's trusted CA requests one whose CN embeds a crafted value such as 'jdoe,emailAddress=admin@example.com' (or 'jdoe/emailAddress=admin@example.com' in the slash-escaping legacy format). When they present the certificate over TLS, the web server serializes the Subject DN into SSL_CLIENT_S_DN and Symfony's escape-unaware regex reads the smuggled emailAddress as a separate RDN, logging the attacker in as admin@example.com. No packaged exploit tool is referenced, but the GHSA advisory discloses the exact certificate strings needed to reproduce it.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 04, 2026

Authentication bypass in Symfony's X509 authenticator lets an attacker who holds a certificate issued by the application's trusted CA and can influence the certificate CN authenticate as an arbitrary user, including a privileged one, by smuggling an emailAddress attribute inside a DN value that the escape-unaware pattern reads as an RDN boundary. The issue is an incomplete fix for CVE-2026-45063 and affects 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 when the emailAddress fallback against the whole Subject DN is used; deployments passing a per-attribute user key such as SSL_CLIENT_S_DN_Email, or whose CA generates or validates the subject, are not affected. No public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to Symfony 5.4.56, 6.4.50, 7.4.23 or 8.1.11 respectively, as published in the advisory https://github.com/symfony/symfony/security/advisories/GHSA-5w3m-mfwg-9f8r, with the fixes in commits https://github.com/symfony/symfony/commit/0f5e26b664d17cb235ca6b6d15bf4e7ac83d25cb (5.4) and https://github.com/symfony/symfony/commit/e885d7549a234530ce1d59121d4ac3ee35b1caea (6.4, forward-ported to 7.4, 8.1 and 8.2). Where upgrading is not immediately possible, the vendor's stated workarounds are to pass a per-attribute value as the user key so the DN fallback is never reached (Apache's SSL_CLIENT_S_DN_Email or HAProxy's ssl_c_s_dn(emailAddress)), or to switch from legacy DN output to RFC 2253 output ($ssl_client_s_dn, Apache's default, ssl_c_s_dn(,rfc2253)); deployments using Apache's LegacyDNStringFormat or nginx's $ssl_client_s_dn_legacy with OpenSSL before 3.0, or HAProxy's ssl_c_s_dn, are specifically advised to make that switch because such output cannot be parsed unambiguously. Ensuring the CA generates or validates the subject itself rather than accepting requester-supplied CN values also removes the precondition. Reviewers should note one behavior change: a slash-separated DN must now begin with a slash to be read as slash-separated, since X509_NAME_oneline() always emits the leading slash.

Affected VersionsENISA

symfony 6 <6.4.50
symfony 0 <5.4.56
symfony 8 <8.1.11
symfony 7 <7.4.23

Affected Packages

euvd symfony fix: 5.4.56, 6.4.50, 7.4.23, 8.1.11

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-290 (authentication bypass by spoofing) in the Security HTTP component: X509Authenticator, and on Symfony 5.4 the deprecated X509AuthenticationListener used when security.enable_authenticator_manager is not set to true, derives the username from the Subject DN that the web server places in $_SERVER['SSL_CLIENT_S_DN']. The prior fix for CVE-2026-45063 anchored the emailAddress/1.2.840.113549.1.9.1 match to an RDN boundary with a pattern beginning (?:^|[,/]), but that expression operates on an already serialized DN and is not escape-aware. RFC 2253, used by Apache's default and nginx's $ssl_client_s_dn, escapes a comma inside a value as \, and leaves / bare, so the pattern treats both as separators; the legacy X509_NAME_oneline() format, used by Apache's LegacyDNStringFormat and nginx's $ssl_client_s_dn_legacy, escapes / as \/ and leaves , bare, producing the mirror-image weakness, and quoted values as emitted by OpenSSL's XN_FLAG_ONELINE are affected the same way. On 5.4 the deprecated listener matched emailAddress= anywhere in the DN, so that code path carried the original CVE-2026-45063 exposure as well. The fix replaces string matching with a parser: it selects the separator from the serialization (X509_NAME_oneline() always prefixes the DN with a slash, RFC 2253 never does), splits only on unescaped separators, unescapes each RDN according to its format, requires the attribute to occupy a whole RDN, and leaves the accepted value grammar unchanged. The independent CVSS 3.1 assessment (AV:N/AC:H/PR:L/UI:N/C:H/I:H/A:H) rates complexity High, reflecting the requirement for a trusted-CA certificate plus the ability to influence the CN; authentication is required in the sense that the attacker must already hold such a certificate.

Know when Symfony gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Checkmarx) PRIMARY 7.7 HIGH
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
vuln.today AI 7.5 HIGH

AV:N over TLS; AC:H and PR:L because the attacker must hold a trusted-CA certificate and the bypass depends on specific DN serialization; full account takeover gives C/I/A:H.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Checkmarx).

CVSS VectorVendor: Checkmarx

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-290 (Authentication Bypass by Spoofing).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity authentication bypass in Symfony's X509 authenticator (CVE-2026-118513) could allow an attacker with a trusted certificate to impersonate any user, including administrators, potentially leading to full application compromise. Leadership should prioritize patching because this flaw directly undermines access control and could expose sensitive data or critical business functions.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
High
Symfony is a very widely deployed PHP framework, though X509 cert auth is uncommon
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2015-4050 MEDIUM POC
4.3 Jun 02

FragmentListener in the HttpKernel component in Symfony 2.3.19 through 2.3.28, 2.4.9 through 2.4.10, 2.5.4 through 2.5.1

CVE-2019-10910 CRITICAL POC
9.8 May 16

In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, when servic

CVE-2018-13818 CRITICAL POC
9.8 Jul 10

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. Rated critical sever

CVE-2026-100872 HIGH POC
8.7 Sep 27

Insufficient verification of payment-claim state in the Sylius e-commerce platform (versions before 2.1.16 and 2.2.9) le

CVE-2026-100869 HIGH POC
8.2 Sep 27

Incorrect authorization in the Sylius Shop API lets anyone holding an order token submit arbitrary payment actions - mos

CVE-2025-64500 HIGH POC
7.3 Nov 12

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Rated high severity (C

CVE-2026-24739 MEDIUM POC
6.3 Jan 28

Symfony versions up to 5.4.51 contains a vulnerability that allows attackers to operations being performed on an uninten

CVE-2018-12040 MEDIUM POC
6.1 Jun 13

Reflected Cross-site scripting (XSS) vulnerability in the web profiler in SensioLabs Symfony 3.3.6 allows remote attacke

CVE-2016-2403 CRITICAL
9.8 Feb 07

Symfony before 2.8.6 and 3.x before 3.0.6 allows remote attackers to bypass authentication by logging in with an empty p

CVE-2024-51736 CRITICAL
9.8 Nov 06

Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. Rated critical sev

CVE-2019-18889 CRITICAL
9.8 Nov 21

An issue was discovered in Symfony 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. Rated critical s

CVE-2019-11325 CRITICAL
9.8 Nov 21

An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. Rated critical severity (CVSS 9.8), this vulner

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy