{"id":"CVE-2026-45063","published":"2026-07-14T18:28:22Z","modified":"2026-07-14T19:46:44Z","title":"Symfony: Identity Spoofing via Unanchored DN Regex in X509Authenticator","vendor":"symfony","product":"symfony","tier":"tail","description":{"text":"Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, X509Authenticator extracts the user identifier from $_SERVER['SSL_CLIENT_S_DN'] with an unanchored regex that matches emailAddress= anywhere in the distinguished name, allowing an attacker with a trusted certificate containing emailAddress=victim inside another RDN value such as CN to authenticate as the victim. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00343,"percentile":0.28536,"provenance":"source"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-ph86-p8f6-f9r2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/commit/59ef484029601a7af06f5e06c6ed921fdcea5a0d","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v5.4.52","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v6.4.40","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v7.4.12","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v8.0.12","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":5.71},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":["< 5.4.52",">= 6.0.0-BETA1, < 6.4.40",">= 7.0.0-BETA1, < 7.4.12",">= 8.0.0-BETA1, < 8.0.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-14T19:40:45.430489Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/security-http","vulnerableRanges":["<5.4.52",">=6.0.0-BETA1, <6.4.40",">=7.0.0-BETA1, <7.4.12",">=8.0.0-BETA1, <8.0.12"],"patched":["5.4.52","6.4.40","7.4.12","8.0.12"],"from":["GHSA-ph86-p8f6-f9r2"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":["<5.4.52",">=6.0.0-BETA1, <6.4.40",">=7.0.0-BETA1, <7.4.12",">=8.0.0-BETA1, <8.0.12"],"patched":["5.4.52","6.4.40","7.4.12","8.0.12"],"from":["GHSA-ph86-p8f6-f9r2"],"provenance":"source"}],"summary":{"text":"Symfony's X509Authenticator component, which takes the user identifier from the SSL_CLIENT_S_DN server variable, uses a regex that is not anchored, so it matches \"emailAddress=\" anywhere in the distinguished name rather than only as a proper attribute. An attacker who holds a certificate that a server trusts, and whose distinguished name embeds \"emailAddress=victim\" inside another attribute such as CN, can authenticate as the victim, with no user interaction required and the attack carried out over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:45Z"},"euvd":{"id":"EUVD-2026-44347","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-symfony-cve-2026-45063","children":[{"from":"CVE-2026-45063","to":"CVE-2026-118513","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"….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.","from":"CVE.org","in":"CVE-2026-118513"},{"kind":"same-code","provenance":"machine","files":["src/Symfony/Component/Security/Http/Authenticator/X509Authenticator.php"],"commits":["https://github.com/symfony/symfony/commit/0f5e26b664d17cb235ca6b6d15bf4e7ac83d25cb","https://github.com/symfony/symfony/commit/e885d7549a234530ce1d59121d4ac3ee35b1caea","https://github.com/symfony/symfony/commit/59ef484029601a7af06f5e06c6ed921fdcea5a0d"],"basis":"shared function","functions":["extractUsername"]}]}],"packageHistory":[{"cve":"CVE-2021-32693","published":"2021-06-17","fixed":"5.3.2","kev":false},{"cve":"CVE-2023-46733","published":"2023-11-10","fixed":"6.3.8","kev":false},{"cve":"CVE-2024-51996","published":"2024-11-13","fixed":"7.1.8","kev":false,"link":{"from":"CVE-2024-51996","to":"CVE-2026-45063","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/security-http","fromFixed":"5.4.47","toFixed":"5.4.52","daysApart":608},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/security-http","fromFixed":"6.4.15","toFixed":"6.4.40","daysApart":608}]}},{"cve":"CVE-2026-45063","published":"2026-07-14","fixed":"8.0.12","kev":false},{"cve":"CVE-2026-45069","published":"2026-07-14","fixed":"8.0.12","kev":false},{"cve":"CVE-2026-45074","published":"2026-07-14","fixed":"8.0.12","kev":false},{"cve":"CVE-2026-45075","published":"2026-07-14","fixed":"8.0.12","kev":false},{"cve":"CVE-2026-48489","published":"2026-07-14","fixed":"8.0.13","kev":false,"link":{"from":"CVE-2026-45063","to":"CVE-2026-48489","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/security-http","fromFixed":"5.4.52","toFixed":"5.4.53","daysApart":0},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/security-http","fromFixed":"6.4.40","toFixed":"6.4.41","daysApart":0}]}}],"package":"Packagist:symfony/security-http"}}