6.8medium
Unauthorized User Impersonation when Using X.509 Client Certificates
- Severity
- 6.8medium CVSS:3.1 by vmware
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- vmware
- Also known as
- GHSA-2jrg-rf5x-568g
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Spring Spring Security | from 7.0.0 up to 7.0.4 | CVE List |
| jenkins | Not specified | CVE List |
| ocp-tools-4/jenkins-rhel8 | Not specified | CVE List |
| ocp-tools-4/jenkins-rhel9 | Not specified | CVE List |
| spring-security-core | Not specified | CVE List |
| quarkus-spring-security-core-api | Not specified | CVE List |
| org.apache.servicemix.bundles.spring-security-core | Not specified | CVE List |
| devspaces/openvsx-rhel9 | Not specified | CVE List |
| devspaces/pluginregistry-rhel9 | Not specified | CVE List |
| org.springframework.security:spring-security-web (Maven) | from 7.0.0 before 7.0.5 | GitHub Advisory Database |
| vmware spring_security | from 7.0.0 before 7.0.5 | NVD |
All scores
| vmware | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| redhat-SADP | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Vulnerabilidad en Spring Spring Security. SubjectX500PrincipalExtractor no maneja correctamente ciertos valores CN malformados de certificados X.509, lo que puede llevar a la lectura de un valor incorrecto para el nombre de usuario. En un certificado cuidadosamente elaborado, esto puede llevar a que un atacante suplante a otro usuario. Este problema afecta a Spring Security: desde la versión 7.0.0 hasta la 7.0.4.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-22747 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2jrg-rf5x-568g changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-22747 changed 2026-10-26 | Public domain |