# CVE-2026-47838: Unauthorized User Impersonation when Using X.509 Client Certificates

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-09 · Modified: 2026-06-30
- Aliases: 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, GHSA-293q-567p-wmwq, 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
- Record: https://cvemate.com/vulnerability/CVE-2026-47838 · JSON: https://cvemate.com/vulnerability/CVE-2026-47838/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.133%, percentile 2.98%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 28)

- chainguard camunda-zeebe-8.6 (Chainguard): All versions (No fix recorded)
- chainguard geoserver-2.27 (Chainguard): All versions (No fix recorded)
- chainguard geoserver-2.28 (Chainguard): All versions (No fix recorded)
- chainguard jenkins-2.528-openjdk-17 (Chainguard): All versions (No fix recorded)
- chainguard jenkins-2.528-openjdk-21 (Chainguard): All versions (No fix recorded)
- chainguard jenkins-2.541 (Chainguard): All versions (No fix recorded)
- chainguard jenkins-2.541-openjdk-17 (Chainguard): All versions (No fix recorded)
- chainguard jenkins-2.541-openjdk-21 (Chainguard): All versions (No fix recorded)
- chainguard jenkins-2.541-openjdk-25 (Chainguard): All versions (No fix recorded)
- chainguard jenkins-2.555 (Chainguard): \< 2.555.3-r1
- chainguard jenkins-2.555-openjdk-21 (Chainguard): \< 2.555.3-r1
- chainguard jenkins-2.555-openjdk-25 (Chainguard): \< 2.555.3-r1
- chainguard kafbat-ui (Chainguard): \< 1.5.0-r5
- chainguard kafbat-ui-fips (Chainguard): \< 1.5.0-r4
- chainguard kayenta-2025.2 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2025.4 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2026.0 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2026.1 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.2 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.4 (Chainguard): All versions (No fix recorded)

## References

- <https://spring.io/security/cve-2026-47838>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47838.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47838>
- <https://github.com/advisories/GHSA-2jrg-rf5x-568g>

---

Data as of 2026-12-05T04:22:56.095Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
