Authentication Bypass by Spoofing in Symfony - CVE-2026-118513
Published: December 1, 2026
Vulnerability details
The vulnerability allows a remote user to authenticate as another application user, including a privileged user.
The vulnerability exists due to incorrect parsing of attribute boundaries in Symfony Security's X.509 authentication when extracting the user identifier from a client certificate's subject distinguished name. A remote user can present a certificate issued by a trusted certificate authority with a common name they can influence to impersonate another application user.
Affected software
How to mitigate CVE-2026-118513
External References
- https://github.com/symfony/symfony/releases/tag/v8.1.11
- https://github.com/symfony/symfony/commit/626cbe6a32c458073e6a94639af4cd179771b112
- https://github.com/symfony/symfony/commit/4b3a8677478949ceca9e70b91db5c0df69ee515e
- https://github.com/symfony/symfony/compare/v8.1.10...v8.1.11
- https://github.com/symfony/symfony/releases/tag/v7.4.23
- https://github.com/symfony/symfony/releases/tag/v6.4.50
- https://github.com/symfony/symfony/releases/tag/v5.4.56