p PatchFirst

CVE-2026-118513

CVE-2026-118513 · Symfony: X.509 Authentication Impersonation via DN Value Injection (incomplete fix for CVE-2026-45063)

CVSS 7.7 · High · EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • symfonyUpdate to 5.4.56 / 6.4.50 / 7.4.23 …
  • symfony Debian 12No fix published
  • symfony Debian 13Update to 6.4.50+dfsg-0+deb13u1
  • symfony Debian 14Update to 7.4.23+dfsg-1
  • and 7 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="symfony"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Authentication bypass by spoofing in X509Authenticator and X509AuthenticationListener of Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.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. X509Authenticator extracts the user identifier from the Subject DN (Distinguished Name) that the web server passes in $_SERVER['SSL_CLIENT_S_DN']. The fix for CVE-2026-45063 anchored that extraction to an RDN (Relative Distinguished Name) boundary, but the regular expression used was not escape-aware. The expression runs against an already serialized DN, so it cannot tell an RDN separator from a separator character that occurs inside a value. Under RFC 2253, used by Apache and by nginx's $ssl_client_s_dn, a comma inside a value is escaped as \, and the expression reads it as a separator regardless. RFC 2253 also does not treat / as a separator, so it leaves it bare inside a value, while the expression treats every / as one. The legacy X509_NAME_oneline() format, used by Apache's LegacyDNStringFormat and by nginx's $ssl_client_s_dn_legacy, is the mirror image: it escapes / as \/ and leaves , bare. In that format, a certificate with no emailAddress attribute, or whose poisoned CN precedes it, authenticates as the smuggled address.

To cover both RFC 2253 and the legacy X509_NAME_oneline() format, X509Authenticator and X509AuthenticationListener now split the DN into RDNs before looking for the attribute, instead of matching the attribute against the serialized string. They select the separator from the serialization, split on unescaped occurrences of that separator only, unescape each RDN afterwards with the rules of its format, and require the attribute to span a whole RDN. The accepted value grammar is unchanged.

Applications that pass a per-attribute user key (such as SSL_CLIENT_S_DN_Email) and deployments whose CA generates or validates the subject are not affected by this vulnerability.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • symfony

    Versions
    • ≥ 0, < 5.4.56: Affected (git)
    • ≥ 6.0.0, < 6.4.50: Affected (git)
    • ≥ 7.0.0, < 7.4.23: Affected (git)
    • ≥ 8.0.0, < 8.1.11: Affected (git)

    Update to 5.4.56; Update to 6.4.50; Update to 7.4.23; Update to 8.1.11

  • symfony Debian 12

    Versions
    • 5.4.23+dfsg-1
    • 5.4.23+dfsg-1+deb12u1
    • 5.4.23+dfsg-1+deb12u2
    • 5.4.23+dfsg-1+deb12u3
    • 5.4.23+dfsg-1+deb12u4
    • 5.4.23+dfsg-1+deb12u5
    All versions (168)
    • 5.4.24+dfsg-1
    • 5.4.25+dfsg-1
    • 5.4.27+dfsg-1
    • 5.4.28+dfsg-1
    • 5.4.29+dfsg-1
    • 5.4.30+dfsg-1
    • 5.4.31+dfsg-1
    • 5.4.31+dfsg-2
    • 5.4.32+dfsg-1
    • 5.4.33+dfsg-1
    • 5.4.34+dfsg-1
    • 5.4.34+dfsg-2
    • 5.4.35+dfsg-1
    • 5.4.35+dfsg-2
    • 5.4.35+dfsg-3
    • 5.4.52+dfsg-0+deb12u1
    • 5.4.53+dfsg-0+deb12u1
    • 6.3.0+dfsg-1
    • 6.3.0~rc1+dfsg-1
    • 6.3.0~rc2+dfsg-1
    • 6.3.1+dfsg-1
    • 6.3.3+dfsg-1
    • 6.3.4+dfsg-1
    • 6.3.5+dfsg-1
    • 6.3.6+dfsg-1
    • 6.3.7+dfsg-1
    • 6.4.0+dfsg-1
    • 6.4.0~beta2+dfsg-1
    • 6.4.0~beta3+dfsg-1
    • 6.4.0~rc1+dfsg-1
    • 6.4.0~rc2+dfsg-1
    • 6.4.1+dfsg-1
    • 6.4.10+dfsg-1
    • 6.4.11+dfsg-1
    • 6.4.12+dfsg-1
    • 6.4.13+dfsg-1
    • 6.4.14+dfsg-1
    • 6.4.15+dfsg-1
    • 6.4.16+dfsg-1
    • 6.4.16+dfsg-2
    • 6.4.17+dfsg-1
    • 6.4.17+dfsg-2
    • 6.4.17+dfsg-3
    • 6.4.17+dfsg-4
    • 6.4.17+dfsg-5
    • 6.4.17+dfsg-6
    • 6.4.18+dfsg-1
    • 6.4.19+dfsg-1
    • 6.4.19+dfsg-2
    • 6.4.2+dfsg-1
    • 6.4.20+dfsg-1
    • 6.4.20+dfsg-2
    • 6.4.21+dfsg-1
    • 6.4.21+dfsg-2
    • 6.4.24+dfsg-1
    • 6.4.25+dfsg-1
    • 6.4.3+dfsg-1
    • 6.4.4+dfsg-1
    • 6.4.4+dfsg-2
    • 6.4.4+dfsg-3
    • 6.4.4+dfsg-4
    • 6.4.5+dfsg-1
    • 6.4.5+dfsg-2
    • 6.4.5+dfsg-3
    • 6.4.5+dfsg-4
    • 6.4.6+dfsg-1
    • 6.4.7+dfsg-1
    • 6.4.9+dfsg-1
    • 7.0.4+dfsg-1
    • 7.0.5+dfsg-1
    • 7.0.6+dfsg-1
    • 7.0.7+dfsg-1
    • 7.1.0~beta1+dfsg-1
    • 7.1.0~rc1+dfsg-1
    • 7.1.2+dfsg-1
    • 7.1.3+dfsg-1
    • 7.1.4+dfsg-1
    • 7.1.5+dfsg-1
    • 7.2.0~beta1+dfsg-1
    • 7.2.0~beta2+dfsg-1
    • 7.2.0~rc1+dfsg-1
    • 7.2.1+dfsg-1
    • 7.2.2+dfsg-1
    • 7.2.3+dfsg-1
    • 7.2.4+dfsg-1
    • 7.2.5+dfsg-1
    • 7.2.6-1
    • 7.3.0+dfsg-1
    • 7.3.0~beta1+dfsg-1
    • 7.3.0~beta2+dfsg-1
    • 7.3.0~rc1+dfsg-1
    • 7.3.1+dfsg-1
    • 7.3.2+dfsg-1
    • 7.3.3+dfsg-1
    • 7.3.4+dfsg-1
    • 7.3.5-1
    • 7.4.0+dfsg-1
    • 7.4.0+dfsg-2
    • 7.4.0~beta1-1
    • 7.4.0~beta1-2
    • 7.4.0~beta2+dfsg-1
    • 7.4.0~beta2+dfsg-2
    • 7.4.0~beta2+dfsg-3
    • 7.4.0~rc1+dfsg-1
    • 7.4.0~rc2+dfsg-1
    • 7.4.0~rc3+dfsg-1
    • 7.4.10+dfsg-1
    • 7.4.12+dfsg-1
    • 7.4.13+dfsg-1
    • 7.4.13+dfsg-2
    • 7.4.14+dfsg-1
    • 7.4.15+dfsg-1
    • 7.4.15+dfsg-2
    • 7.4.16+dfsg-1
    • 7.4.17+dfsg-1
    • 7.4.18+dfsg-1
    • 7.4.19+dfsg-1
    • 7.4.2+dfsg-1
    • 7.4.2+dfsg-2
    • 7.4.20+dfsg-1
    • 7.4.21+dfsg-1
    • 7.4.21+dfsg-2
    • 7.4.22+dfsg-1
    • 7.4.23+dfsg-1
    • 7.4.3+dfsg-1
    • 7.4.4+dfsg-1
    • 7.4.5+dfsg-1
    • 7.4.6+dfsg-1
    • 7.4.6+dfsg-2
    • 7.4.7+dfsg-1
    • 7.4.8+dfsg-1
    • 7.4.9+dfsg-1
    • 8.0.0+dfsg-1
    • 8.0.0~beta2+dfsg-1
    • 8.0.0~beta2+dfsg-2
    • 8.0.0~rc1+dfsg-1
    • 8.0.0~rc2+dfsg-1
    • 8.0.0~rc3+dfsg-1
    • 8.0.10-1
    • 8.0.11+dfsg-1
    • 8.0.12+dfsg-1
    • 8.0.13+dfsg-1
    • 8.0.2+dfsg-1
    • 8.0.3+dfsg-1
    • 8.0.4+dfsg-1
    • 8.0.5+dfsg-1
    • 8.0.6+dfsg-1
    • 8.0.7+dfsg-1
    • 8.0.8+dfsg-1
    • 8.0.9+dfsg-1
    • 8.1.0+dfsg-1
    • 8.1.1+dfsg-1
    • 8.1.10+dfsg-1
    • 8.1.11+dfsg-1
    • 8.1.3+dfsg-1
    • 8.1.4+dfsg-1
    • 8.1.5+dfsg-1
    • 8.1.6+dfsg-1
    • 8.1.7+dfsg-1
    • 8.1.8+dfsg-1
    • 8.1.9+dfsg-1
    • 8.2.0~beta1+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • symfony Debian 13

    Versions
    • 6.4.21+dfsg-2
    • 6.4.21+dfsg-2+deb13u1
    • 6.4.24+dfsg-1
    • 6.4.25+dfsg-1
    • 6.4.40+dfsg-0+deb13u1
    • 6.4.41+dfsg-0+deb13u1
    All versions (7)
    • 6.4.49+dfsg-0+deb13u1
    Affected ranges
    • ECOSYSTEM: < 6.4.50+dfsg-0+deb13u1

    Update to 6.4.50+dfsg-0+deb13u1

  • symfony Debian 14

    Versions
    • 6.4.21+dfsg-2
    • 6.4.24+dfsg-1
    • 6.4.25+dfsg-1
    • 7.0.4+dfsg-1
    • 7.0.5+dfsg-1
    • 7.0.6+dfsg-1
    All versions (66)
    • 7.0.7+dfsg-1
    • 7.1.0~beta1+dfsg-1
    • 7.1.0~rc1+dfsg-1
    • 7.1.2+dfsg-1
    • 7.1.3+dfsg-1
    • 7.1.4+dfsg-1
    • 7.1.5+dfsg-1
    • 7.2.0~beta1+dfsg-1
    • 7.2.0~beta2+dfsg-1
    • 7.2.0~rc1+dfsg-1
    • 7.2.1+dfsg-1
    • 7.2.2+dfsg-1
    • 7.2.3+dfsg-1
    • 7.2.4+dfsg-1
    • 7.2.5+dfsg-1
    • 7.2.6-1
    • 7.3.0+dfsg-1
    • 7.3.0~beta1+dfsg-1
    • 7.3.0~beta2+dfsg-1
    • 7.3.0~rc1+dfsg-1
    • 7.3.1+dfsg-1
    • 7.3.2+dfsg-1
    • 7.3.3+dfsg-1
    • 7.3.4+dfsg-1
    • 7.3.5-1
    • 7.4.0+dfsg-1
    • 7.4.0+dfsg-2
    • 7.4.0~beta1-1
    • 7.4.0~beta1-2
    • 7.4.0~beta2+dfsg-1
    • 7.4.0~beta2+dfsg-2
    • 7.4.0~beta2+dfsg-3
    • 7.4.0~rc1+dfsg-1
    • 7.4.0~rc2+dfsg-1
    • 7.4.0~rc3+dfsg-1
    • 7.4.10+dfsg-1
    • 7.4.12+dfsg-1
    • 7.4.13+dfsg-1
    • 7.4.13+dfsg-2
    • 7.4.14+dfsg-1
    • 7.4.15+dfsg-1
    • 7.4.15+dfsg-2
    • 7.4.16+dfsg-1
    • 7.4.17+dfsg-1
    • 7.4.18+dfsg-1
    • 7.4.19+dfsg-1
    • 7.4.2+dfsg-1
    • 7.4.2+dfsg-2
    • 7.4.20+dfsg-1
    • 7.4.21+dfsg-1
    • 7.4.21+dfsg-2
    • 7.4.22+dfsg-1
    • 7.4.3+dfsg-1
    • 7.4.4+dfsg-1
    • 7.4.5+dfsg-1
    • 7.4.6+dfsg-1
    • 7.4.6+dfsg-2
    • 7.4.7+dfsg-1
    • 7.4.8+dfsg-1
    • 7.4.9+dfsg-1
    Affected ranges
    • ECOSYSTEM: < 7.4.23+dfsg-1

    Update to 7.4.23+dfsg-1

  • symfony Ubuntu 16.04 LTS

    Versions
    • 2.7.1+dfsg-1
    • 2.7.5+dfsg-1
    • 2.7.9+dfsg-1
    • 2.7.9+dfsg-1ubuntu2
    • 2.7.10-0ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • symfony Ubuntu Pro 18.04 LTS

    Versions
    • 2.8.7+dfsg-1.3ubuntu1
    • 3.4.3+dfsg-1ubuntu4
    • 3.4.6+dfsg-1
    • 3.4.6+dfsg-1ubuntu0.1
    • 3.4.6+dfsg-1ubuntu0.1+esm1
    • 3.4.6+dfsg-1ubuntu0.1+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • symfony Ubuntu Pro 20.04 LTS

    Versions
    • 4.3.4+dfsg-1ubuntu1
    • 4.3.8+dfsg-1ubuntu1
    • 4.3.8+dfsg-1ubuntu1+esm1
    • 4.3.8+dfsg-1ubuntu1+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • symfony Ubuntu Pro 22.04 LTS

    Versions
    • 5.2.6+dfsg-1ubuntu7
    • 5.4.4+dfsg-1ubuntu8
    • 5.4.4+dfsg-1ubuntu8+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • symfony Ubuntu Pro 24.04 LTS

    Versions
    • 5.4.23+dfsg-1ubuntu1
    • 5.4.35+dfsg-3ubuntu1
    • 6.4.5+dfsg-3ubuntu2
    • 6.4.5+dfsg-3ubuntu3
    • 6.4.5+dfsg-3ubuntu3+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • symfony Ubuntu 26.10

    Versions
    • 7.4.7+dfsg-1ubuntu1
    • 7.4.9+dfsg-1ubuntu1
    • 7.4.13+dfsg-2ubuntu1
    • 7.4.14+dfsg-1ubuntu2
    • 7.4.15+dfsg-2ubuntu2
    • 7.4.16+dfsg-1ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • symfony Ubuntu 26.04 LTS

    Versions
    • 6.4.24+dfsg-1
    • 7.4.5+dfsg-1ubuntu1
    • 7.4.6+dfsg-2ubuntu1
    • 7.4.7+dfsg-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →