GHSA-2jrg-rf5x-568g

ghsaUSosv

Spring Security Vulnerable to Unauthorized User Impersonation when Using X.509 Client Certificates

view advisory published 2026-04-22Licence: CC-BY-4.0

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-22747UShigh8.1Exploit
Vulnerability in Spring Spring Security. SubjectX500PrincipalExtractor does not correctly handle certain malformed X.509 certificate CN values, which can lead to reading the wrong…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan