<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Symfony/Symfony &gt;= 7.0.0-BETA1, &lt; 7.4.12 — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/symfony/symfony--7.0.0-beta1--7.4.12/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 27 May 2026 16:52:25 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/symfony/symfony--7.0.0-beta1--7.4.12/feed.xml" rel="self" type="application/rss+xml"/><item><title>Symfony X509Authenticator Identity Spoofing Vulnerability (CVE-2026-45063)</title><link>https://feed.craftedsignal.io/briefs/2026-05-symfony-x509-auth-bypass/</link><pubDate>Wed, 27 May 2026 16:52:25 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-symfony-x509-auth-bypass/</guid><description>Symfony's X509Authenticator is vulnerable to identity spoofing due to an unanchored regex in the extraction of the user identifier from the Subject DN of client certificates, allowing attackers to authenticate as other users by crafting a certificate with a malicious CN value.</description><content:encoded><![CDATA[<p>The <code>X509Authenticator</code> in Symfony versions before 5.4.52, versions between 6.0.0-BETA1 and 6.4.40, versions between 7.0.0-BETA1 and 7.4.12, and versions between 8.0.0-BETA1 and 8.0.12 is susceptible to an identity spoofing vulnerability (CVE-2026-45063). This flaw stems from the use of an unanchored regex when extracting the user identifier from the Subject DN of a client certificate. The <code>X509Authenticator</code> implements client-certificate (mTLS) authentication, where the web server validates the client&rsquo;s certificate and then passes the certificate&rsquo;s Subject DN to Symfony via <code>$_SERVER['SSL_CLIENT_S_DN']</code>. An attacker who can obtain a certificate from a trusted CA can exploit this vulnerability by embedding a crafted <code>emailAddress=victim@target</code> string within the <code>CN</code> value of the certificate. This allows the attacker to bypass authentication and impersonate the victim user.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker obtains a certificate from a trusted Certificate Authority (CA).</li>
<li>When requesting the certificate, the attacker sets the Common Name (CN) field to include a malicious string like <code>CN=Attacker emailAddress=victim@example.com,O=AttackerOrg</code>.</li>
<li>The attacker presents the certificate to a Symfony application configured to use <code>X509Authenticator</code> for authentication.</li>
<li>The web server validates the certificate against the trusted CA.</li>
<li>The web server passes the certificate&rsquo;s Subject DN to Symfony via the <code>$_SERVER['SSL_CLIENT_S_DN']</code> variable.</li>
<li>Symfony&rsquo;s <code>X509Authenticator</code> extracts the user identifier using an unanchored regex.</li>
<li>Due to the unanchored regex, the authenticator incorrectly identifies <code>victim@example.com</code> as the user&rsquo;s email address from the CN.</li>
<li>The attacker is authenticated as <code>victim@example.com</code>, gaining unauthorized access to the victim&rsquo;s account.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability allows an attacker to impersonate legitimate users on affected Symfony applications. This could lead to unauthorized access to sensitive data, modification of user accounts, or other malicious activities depending on the permissions and roles assigned to the compromised user account. The vulnerability impacts applications using client certificate authentication with the flawed <code>X509Authenticator</code> component.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade <code>symfony/security-http</code> and <code>symfony/symfony</code> to the latest patched versions (&gt;= 5.4.52, &gt;= 6.4.40, &gt;= 7.4.12, &gt;= 8.0.12) as provided by the vendor to remediate CVE-2026-45063.</li>
<li>Deploy the Sigma rule <code>Detect Symfony X509Authenticator Authentication Bypass</code> to detect attempts to exploit this vulnerability by monitoring for requests with manipulated SSL_CLIENT_S_DN values.</li>
<li>If upgrading is not immediately feasible, consider implementing a temporary workaround by sanitizing the <code>$_SERVER['SSL_CLIENT_S_DN']</code> value before it is processed by the <code>X509Authenticator</code> to prevent exploitation of the unanchored regex.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>symfony</category><category>authentication bypass</category><category>identity spoofing</category><category>CVE-2026-45063</category></item></channel></rss>