# CVE-2026-22747: 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-04-22 · Modified: 2026-07-15
- Aliases: CGA-7jf4-4c5r-w732, CGA-hjc4-936c-qxjf, CGA-jpjg-82vp-6748, CGA-mr6f-w73v-q5vx, CGA-956p-xf8g-2xgq, GHSA-2jrg-rf5x-568g
- Record: https://cvemate.com/vulnerability/CVE-2026-22747 · JSON: https://cvemate.com/vulnerability/CVE-2026-22747/json

## Description

```text
Vulnerability in Spring Spring Security. SubjectX500PrincipalExtractor 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.
This issue affects Spring Security: from 7.0.0 through 7.0.4.
```

## 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.249%, percentile 17.331%, 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

- chainguard apache-nifi (Chainguard): \< 2.9.0-r3
- chainguard apache-nifi-registry (Chainguard): \< 2.9.0-r6
- chainguard camunda-zeebe-8.9 (Chainguard): \< 8.9.1-r2
- wolfi apache-nifi (Wolfi): \< 2.9.0-r3
- wolfi apache-nifi-registry (Wolfi): \< 2.9.0-r6
- org.springframework.security spring-security-web (Maven): ≥ 7.0.0, \< 7.0.5
- spring spring security: ≥ 7.0.0, ≤ 7.0.4
- vmware spring\_security: ≥ 7.0.0, \< 7.0.5

## References

- <https://spring.io/security/cve-2026-22747>
- <https://access.redhat.com/security/cve/CVE-2026-22747>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2460487>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22747.json>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22747.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22747>
- <https://github.com/spring-projects/spring-security/commit/88118afb8f9357ae7cc215500a441e89fee701c3>
- <https://github.com/spring-projects/spring-security>

---

Data as of 2026-12-05T04:23:18.663Z. 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
