CVE-2026-22747
published medium CVSS 3.1 · 6.8Unauthorized User Impersonation when Using X.509 Client Certificates
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring Security7.0.0 through 7.0.4 · Other versions: unaffected | Affected | Not stated | vmware |
| Red Hat | — | jenkinsOpenShift Developer Tools and Services | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ocp-tools-4/jenkins-rhel8OpenShift Developer Tools and Services | Unaffected | Not required | redhat-SADP |
| Red Hat | — | ocp-tools-4/jenkins-rhel9OpenShift Developer Tools and Services | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-security-coreRed Hat build of Apache Camel for Spring Boot 4 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-security-coreRed Hat build of Apache Camel - HawtIO 4 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | quarkus-spring-security-core-apiRed Hat build of Quarkus | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-security-coreRed Hat Data Grid 8 | Unaffected | Not required | redhat-SADP |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | org.apache.servicemix.bundles.spring-security-coreRed Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-security-coreRed Hat Fuse 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-security-coreRed Hat JBoss Enterprise Application Platform 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | quarkus-spring-security-core-apiRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-security-coreRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | quarkus-spring-security-core-apiRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-security-coreRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Red Hat | — | devspaces/openvsx-rhel9Red Hat OpenShift Dev Spaces | Unaffected | Not required | redhat-SADP |
| Red Hat | — | devspaces/pluginregistry-rhel9Red Hat OpenShift Dev Spaces | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-security-coreRed Hat Process Automation 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-security-coreRed Hat Single Sign-On 7 | Unaffected | Not required | redhat-SADP |
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.
A flaw was found in Spring Security. This vulnerability allows a remote attacker to impersonate another user. The SubjectX500PrincipalExtractor component incorrectly handles certain malformed X.509 certificate Common Name (CN) values, which can lead to the system reading an incorrect username. By presenting a carefully crafted certificate, an attacker can exploit this to gain unauthorized access.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring Security | 7.0.0 through 7.0.4 (affected · custom)Default: unaffected | vmware · cna |
| Red Hat | OpenShift Developer Tools and Services | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Developer Tools and Services | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Developer Tools and Services | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat build of Apache Camel for Spring Boot 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat build of Apache Camel - HawtIO 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat build of Quarkus | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Data Grid 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Dev Spaces | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Dev Spaces | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Process Automation 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-295 Improper Certificate Validation
- CWE-297 CWE-297 Improper Validation of Certificate with Host Mismatch
References
4- https://access.redhat.com/security/cve/CVE-2026-22747
- RHBZ#2460487 https://bugzilla.redhat.com/show_bug.cgi?id=2460487
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22747.json
- https://spring.io/security/cve-2026-22747
Provider assertions
3vmware · cna
Unauthorized User Impersonation when Using X.509 Client Certificates
redhat-SADP · adp
Spring Security: Spring Security: User impersonation via malformed X.509 certificate Common Name (CN) values
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 595b012396094178853ea9477d82d0123f8de3abacc3bbd2ab24ffbe43191df1
- Ingested
- 23 Sep 2026, 09:05:30 UTC
- Source record
- Official CVE record