CVE-2026-22747
JSON

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 packageVersionsReported by
Spring Spring Securityfrom 7.0.0 up to 7.0.4CVE List
jenkinsNot specifiedCVE List
ocp-tools-4/jenkins-rhel8Not specifiedCVE List
ocp-tools-4/jenkins-rhel9Not specifiedCVE List
spring-security-coreNot specifiedCVE List
quarkus-spring-security-core-apiNot specifiedCVE List
org.apache.servicemix.bundles.spring-security-coreNot specifiedCVE List
devspaces/openvsx-rhel9Not specifiedCVE List
devspaces/pluginregistry-rhel9Not specifiedCVE List
org.springframework.security:spring-security-web (Maven)from 7.0.0 before 7.0.5GitHub Advisory Database
vmware spring_securityfrom 7.0.0 before 7.0.5NVD

All scores

vmware6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
redhat-SADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-295CWE-297

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

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

SourceRecordLicence
CVE ListCVE-2026-22747 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-2jrg-rf5x-568g changed 2026-09-10CC-BY-4.0
NVDCVE-2026-22747 changed 2026-10-26Public domain