CVE-2026-22747 Unauthorized User Impersonation when Using X.509 Client Certificates
HighCVSS 8.1
EPSS 0.25%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Red Hat
Description
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.
Upgrade path
14 packages: 3 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat jbosseapxp | All versions | No fix listed | No fix yet |
| redhat ocp tools | All versions | No fix listed | No fix yet |
| org.springframework.security/spring-security-web(Maven) | = 7.0.0; = 7.0.1; = 7.0.2; = 7.0.3 +3 more | 7.0.5 | Fixed |
| Spring Security | >= 7.0.0, <= 7.0.4 | after 7.0.4 | Fixed |
| VMware spring security | >= 7.0.0, < 7.0.5 | 7.0.5 | Fixed |
| redhat apache camel hawtio | = 4 | No fix listed | Versions listed |
| redhat camel spring boot | = 4 | No fix listed | Versions listed |
| redhat jboss data grid | = 8 | No fix listed | Versions listed |
| redhat jboss enterprise application platform | = 7; = 8 | No fix listed | Versions listed |
| redhat jboss enterprise bpms platform | = 7 | No fix listed | Versions listed |
| redhat jboss fuse | = 7 | No fix listed | Versions listed |
| redhat openshift devspaces | = 3 | No fix listed | Versions listed |
| redhat quarkus | = 3 | No fix listed | Versions listed |
| redhat red hat single sign on | = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security/spring-security-web(Maven) | >= 7.0.0, < 7.0.5 | 7.0.5 |
| org.springframework.security/spring-security-web(Maven) | = 7.0.0 | No fix listed |
| org.springframework.security/spring-security-web(Maven) | = 7.0.1 | No fix listed |
| org.springframework.security/spring-security-web(Maven) | = 7.0.2 | No fix listed |
| org.springframework.security/spring-security-web(Maven) | = 7.0.3 | No fix listed |
| org.springframework.security/spring-security-web(Maven) | = 7.0.4 | No fix listed |
| Spring Security | >= 7.0.0, <= 7.0.4 | No fix listed |
| redhat ocp tools | All versions | No fix listed |
| redhat camel spring boot | = 4 | No fix listed |
| redhat apache camel hawtio | = 4 | No fix listed |
| redhat quarkus | = 3 | No fix listed |
| redhat jboss data grid | = 8 | No fix listed |
| redhat jboss fuse | = 7 | No fix listed |
| redhat jboss enterprise application platform | = 7 | No fix listed |
| redhat jboss enterprise application platform | = 8 | No fix listed |
| redhat jbosseapxp | All versions | No fix listed |
| redhat openshift devspaces | = 3 | No fix listed |
| redhat jboss enterprise bpms platform | = 7 | No fix listed |
| redhat red hat single sign on | = 7 | No fix listed |
| org.springframework.security/spring-security-web(Maven) | >= 7.0.0, <= 7.0.4 | No fix listed |
| VMware spring security | >= 7.0.0, < 7.0.5 | 7.0.5 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- spring.io vendor-advisory
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2460487 issue-tracking
- security.access.redhat.com
- github.com
- www.cve.org