CVE-2026-22747
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.
- Score
- CVSS 3.1 8.1 High
- Status
- Modified - security@vmware.com
- Published
- 2026-04-22
- Last modified
- 2026-10-26
- Weaknesses
- CWE-295, CWE-297
Affected products
- Apache Camel Hawtio (Redhat)
- Camel Spring Boot (Redhat)
- Jboss Data Grid (Redhat)
- Jboss Enterprise Application Platform (Redhat)
- Jboss Enterprise Bpms Platform (Redhat)
- Jboss Fuse (Redhat)
- Jbosseapxp (Redhat)
- Ocp Tools (Redhat)
- Openshift Devspaces (Redhat)
- Quarkus (Redhat)
- Red Hat Single Sign On (Redhat)
- Spring Security (Spring)
- Spring Security (Vmware)
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