CVE-2026-45063: Symfony/security http Symfony Vulnerable To Identity Spoofing Vulnerability
HIGHCVE-2026-45063 is a HIGH symfony vulnerable to identity spoofing vulnerability (CWE-290: Authentication Bypass by Spoofing) affecting Symfony/security http libraries in the Packagist ecosystem. The issue involves symfony vulnerable to identity spoofing via unanchored dn regex in x509authenticator. Remediation is available by upgrading affected packages to version 5.4.52, 6.4.40, 7.4.12, 8.0.12.
CVE-2026-45063 at a Glance
How to Fix CVE-2026-45063
To remediate this vulnerability, upgrade all affected Symfony/security http dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade symfony/security-http to 5.4.52
Upgrade symfony/security-http to 6.4.40
Upgrade symfony/security-http to 7.4.12
Upgrade symfony/security-http to 8.0.12
Upgrade symfony/symfony to 5.4.52
Upgrade symfony/symfony to 6.4.40
Upgrade symfony/symfony to 7.4.12
Upgrade symfony/symfony to 8.0.12
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for symfony/security-http
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-45063, inspect your project dependencies for Symfony/security http:
inspect dependencies for symfony/security-http
Analyze the terminal output to locate any version of Symfony/security http in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.4.52), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-290: Authentication Bypass by Spoofing, where this attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks. In Symfony/security http, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-45063 Affected Symfony/security http Versions
8 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
symfony/security-http
|
Packagist |
< 5.4.52
|
5.4.52
|
|
symfony/security-http
|
Packagist |
≥ 6.0.0-BETA1
< 6.4.40
|
6.4.40
|
|
symfony/security-http
|
Packagist |
≥ 7.0.0-BETA1
< 7.4.12
|
7.4.12
|
|
symfony/security-http
|
Packagist |
≥ 8.0.0-BETA1
< 8.0.12
|
8.0.12
|
|
symfony/symfony
|
Packagist |
< 5.4.52
|
5.4.52
|
|
symfony/symfony
|
Packagist |
≥ 6.0.0-BETA1
< 6.4.40
|
6.4.40
|
|
symfony/symfony
|
Packagist |
≥ 7.0.0-BETA1
< 7.4.12
|
7.4.12
|
|
symfony/symfony
|
Packagist |
≥ 8.0.0-BETA1
< 8.0.12
|
8.0.12
|
References
Frequently Asked Questions
What is CVE-2026-45063?
Which Symfony/security http versions are affected?
What version fixes CVE-2026-45063?
Is symfony/security-http affected?
Is symfony/symfony affected?
What CWE is associated with CVE-2026-45063?
How can I check Packagist dependencies for CVE-2026-45063?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-ph86-p8f6-f9r2",
"modified" : "2026-05-27T16:50:42Z",
"published" : "2026-05-27T16:50:42Z",
"aliases" : [ "CVE-2026-45063" ],
"summary" : "Symfony Vulnerable to Identity Spoofing via Unanchored DN Regex in X509Authenticator",
"details" : "### Description\n\n`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.\n\nThe 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.\n\n### Resolution\n\nThe `X509Authenticator` now uses a regex that anchors the match to an RDN boundary (start of string, or following a `,` / `/` separator).\n\nThe patch for this issue is available [here](https://github.com/symfony/symfony/commit/ccb3f724c7ff55670a6fe3521c7bf1514cceb478) for branch 5.4.\n\n### Credits\n\nSymfony would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and providing the fix.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.4.52"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0-BETA1"
}, {
"fixed" : "6.4.40"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0-BETA1"
}, {
"fixed" : "7.4.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0-BETA1"
}, {
"fixed" : "8.0.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.4.52"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0-BETA1"
}, {
"fixed" : "6.4.40"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0-BETA1"
}, {
"fixed" : "7.4.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0-BETA1"
}, {
"fixed" : "8.0.12"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/security/advisories/GHSA-ph86-p8f6-f9r2"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/commit/ccb3f724c7ff55670a6fe3521c7bf1514cceb478"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2026-45063.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-45063.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/symfony/symfony"
}, {
"type" : "WEB",
"url" : "https://symfony.com/cve-2026-45063"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-290" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-27T16:50:42Z",
"nvd_published_at" : null
}
}