Skip to main content

CVE-2026-45063 — Vulnerability in symfony/symfony — CVE Details

HIGH

Symfony Vulnerable to Identity Spoofing via Unanchored DN Regex in X509Authenticator

Published May 27, 2026Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.37%). Schedule for your next planned update.

Does your project use an affected symfony/symfony version?

Paste your composer.lock to check it for CVE-2026-45063 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

Description

X509Authenticator implements client-certificate (mTLS) authentication: the web server validates the client's certificate against a trusted CA, then passes the certificate's Subject DN (Distinguished Name: a string like CN=Alice,O=Example,emailAddress=alice@example.com) to Symfony via $_SERVER['SSL_CLIENT_S_DN']. Symfony extracts the user identifier from that string.

The extraction uses an unanchored regex that matches emailAddress= anywhere in the DN string: including inside the value of a different RDN (Relative Distinguished Name: one key=value component of the DN), such as CN. An attacker who can obtain a certificate from a trusted CA with a free-text CN can smuggle emailAddress=victim@target inside the CN value and be authenticated as the victim.

Resolution

The X509Authenticator now uses a regex that anchors the match to an RDN boundary (start of string, or following a , / / separator).

The patch for this issue is available here for branch 5.4.

Credits

Symfony would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and providing the fix.

Advisory Timeline

  • First published May 27, 2026 (184 days ago).
  • Last revised September 10, 2026 — 105 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update symfony/symfony to 6.4.40 or later
composer require "symfony/symfony:^6.4.40"
Composer
Update symfony/symfony to 7.4.12 or later
composer require "symfony/symfony:^7.4.12"
Composer
Update symfony/symfony to 8.0.12 or later
composer require "symfony/symfony:^8.0.12"
Composer
Update symfony/symfony to 5.4.52 or later
composer require "symfony/symfony:^5.4.52"
Composer
Update symfony/security-http to 8.0.12 or later
composer require "symfony/security-http:^8.0.12"
Composer
Update symfony/security-http to 7.4.12 or later
composer require "symfony/security-http:^7.4.12"
Composer
Update symfony/security-http to 6.4.40 or later
composer require "symfony/security-http:^6.4.40"
Composer
Update symfony/security-http to 5.4.52 or later
composer require "symfony/security-http:^5.4.52"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (8)

Affects 1 ecosystem: Packagist (2).

PackageFixed In
symfony/symfony Packagist · Affected: v6.0.0, v6.0.0-BETA1, v6.0.0-BETA2, v6.0.0-BETA3 (+120 more)6.4.40
symfony/symfony Packagist · Affected: v7.0.0, v7.0.0-BETA1, v7.0.0-BETA2, v7.0.0-BETA3 (+71 more)7.4.12
symfony/symfony Packagist · Affected: v8.0.0, v8.0.0-BETA1, v8.0.0-BETA2, v8.0.0-RC1 (+13 more)8.0.12
symfony/symfony Packagist · Affected: 2.0.4, 2.0.5, 2.0.6, 2.0.7 (+627 more)5.4.52
symfony/security-http Packagist · Affected: v8.0.0, v8.0.0-BETA1, v8.0.0-RC1, v8.0.0-RC2 (+7 more)8.0.12
symfony/security-http Packagist · Affected: v7.0.0, v7.0.0-BETA1, v7.0.0-BETA3, v7.0.0-RC1 (+54 more)7.4.12
symfony/security-http Packagist · Affected: v6.0.0, v6.0.0-BETA1, v6.0.0-BETA2, v6.0.0-RC1 (+79 more)6.4.40
symfony/security-http Packagist · Affected: v2.4.0, v2.4.0-BETA1, v2.4.0-BETA2, v2.4.0-RC1 (+473 more)5.4.52

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Frequently Asked Questions

What is CVE-2026-45063?
Symfony Vulnerable to Identity Spoofing via Unanchored DN Regex in X509Authenticator. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2026-45063?
CVE-2026-45063 affects symfony/symfony and symfony/security-http. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-45063 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.37%
EPSS percentile: 22.7

This is a below-median EPSS score — only 22.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-ph86-p8f6-f9r2

Related CVEs

  • CVE-2019-18889
    CRITICAL

    Symfony Unsafe Cache Serialization Could Enable RCE

  • CVE-2019-10910
    CRITICAL

    Symfony Service IDs Allow Injection

  • CVE-2026-45075
    HIGH

    Symfony's HEAD Request Bypasses methods: ['GET'] Filter in #[IsGranted] / #[IsSignatureValid] / #[IsCsrfTokenValid]

  • CVE-2018-11406
    HIGH

    Symfony CSRF Token Fixation

  • CVE-2026-45077
    HIGH

    Symfony has Unauthenticated PHP Object Deserialization in MonologBridge server:log Listener

  • CVE-2026-45073
    MEDIUM

    Symfony Vulnerable to SQL Injection in PdoAdapter::doClear() via Unsanitized $prefix

  • CVE-2026-47767
    MEDIUM

    SymfonyRuntime CVE-2024-50340 Patch Bypass: Web Requests Can Still Set APP_ENV/APP_DEBUG via parse_str/SAPI Argv Mismatch

  • CVE-2026-48784
    MEDIUM

    Symfony: UrlGenerator Dot-Segment Encoding Skips Every Other Chained `../` or `./` → Generated URL Collapses Off-Route Under RFC 3986 Normalization

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock