Vulnerability
CVE-2026-47838
SubjectDnX509PrincipalExtractor does not correctly handle certain malformed X.509 certificate CN values, which can lead to reading the wrong value for the username. In a carefully crafted certificate, this can lead to an attacker impersonating another user. Affected versions: Spring Security 5.7.0 through 5.7.24; 5.8.0 through 5.8.26; 6.3.0 through 6.3.17; 6.4.0 through 6.4.17; 6.5.0 through 6.5.10.
51 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-295p-w9m7-5fmr
- CGA-2jw2-jf59-56g6
- CGA-2mgc-9mwg-c84m
- CGA-4c6h-7cpj-j3pr
- CGA-4gjh-8m7v-2g9w
- CGA-4hmv-rcqm-qvm3
- CGA-4p5j-86vr-5g49
- CGA-59fx-xmrh-69w4
- CGA-5qv8-grmh-35f2
- CGA-5wm6-6pp9-rxc7
- CGA-62fg-8p92-7838
- CGA-63j5-r9hc-2gr8
- CGA-79vp-vmqw-f5rq
- CGA-7h89-x2pc-mq67
- CGA-7q59-prxc-c3cp
- CGA-7w3p-hg29-v2q5
- CGA-83g6-pmqf-rj9c
- CGA-83xr-6qmx-c2c7
- CGA-9p6x-g76m-jvw3
- CGA-f4h3-54x5-8jxh
- CGA-fhjc-jg7p-p499
- CGA-fj65-cgjm-9x4h
- CGA-gjfj-2398-q936
- CGA-j52f-cmvm-c5q3
- CGA-j8cr-f5j3-82vf
- CGA-jhgw-c3jj-73x7
- CGA-jqgx-j7q6-r4g5
- CGA-m876-c47q-9h3g
- CGA-mgxw-2hrp-f829
- CGA-mrfx-76vf-vq7v
- CGA-p4mh-wcvr-hxpw
- CGA-pwqg-7637-2qh3
- CGA-q6f9-9wq8-qqxr
- CGA-q7x9-pgrw-rhpx
- CGA-r425-chwv-4wmw
- CGA-r6cf-2h22-8fvm
- CGA-rc86-7xwp-fmc9
- CGA-rfph-298w-4qhh
- CGA-rfwc-m4cv-xh6x
- CGA-rgcp-8gqx-fxm9
- CGA-rqpg-36rm-ppg3
- CGA-v2v6-mh93-gvfp
- CGA-v5p3-9fmh-9333
- CGA-vcj3-hq47-w3c9
- CGA-vjj3-9rf6-jvr5
- CGA-wg4m-pp54-fpwg
- CGA-wpjx-33v9-6hj9
- CGA-x22h-6cgq-f93q
- CGA-xgxw-2f89-8h43
- CGA-xvxr-v2qp-3qmx
-
GHSA-293q-567p-wmwq
Spring Security Vulnerable to Unauthorized User Impersonation when Using X.509 Client Certificates