CVE-2026-22747
Unauthorized User Impersonation when Using X.509 Client Certificates
Reported by vmware · Published April 22, 2026
spring-security-web is fixed in 7.0.5 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.security:spring-security-web | Maven Central | 7.0.5 |
| apache-nifi | Chainguard | 2.9.0-r3 |
| apache-nifi-registry | Chainguard | 2.9.0-r6 |
| apache-nifi | Wolfi | 2.9.0-r3 |
| apache-nifi-registry | Wolfi | 2.9.0-r6 |
| camunda-zeebe-8.9 | Chainguard | 8.9.1-r2 |
| spring_security | vmware | 7.0.5 |
| Spring Security | Spring | 7.0.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Security | 7.0.0 |
| Red Hat | Red Hat Single Sign-On 7 | |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | |
| Red Hat | Red Hat JBoss Enterprise Application Platform 7 | |
| Red Hat | Red Hat build of Apache Camel - HawtIO 4 | |
| Red Hat | Red Hat Fuse 7 | |
| Red Hat | OpenShift Developer Tools and Services | |
| Red Hat | Red Hat OpenShift Dev Spaces | |
| Spring | Spring Security | 7.0.0 |
| Red Hat | Red Hat build of Apache Camel for Spring Boot 4 | |
| Red Hat | OpenShift Developer Tools and Services | |
| Red Hat | Red Hat Process Automation 7 | |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | |
| Red Hat | Red Hat Data Grid 8 | |
| Red Hat | Red Hat OpenShift Dev Spaces | |
| Red Hat | Red Hat build of Quarkus | |
| Red Hat | OpenShift Developer Tools and Services | |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | |
| Red Hat | Red Hat Fuse 7 |
Timeline
- Apr 21, 2026 CVE Published
- Apr 22, 2026 PoC Published (3 in total, the first dated here)
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory (3 in total, the first dated here)
- Jul 14, 2026 Coalition ESS Score
- Jul 15, 2026 CVE Updated
- Aug 12, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-22747
vulnetix vdb fixes CVE-2026-22747
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-22747/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart