CVE-2026-22747
Vulnerability in Spring Spring Security. …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- spring.io/security/cve-2026-22747
- nvd.nist.gov/vuln/detail/CVE-2026-22747
- github.com/spring-projects/spring-security/commit/88118afb8f9357ae7cc215500a441e89fee701c3
- github.com/advisories/GHSA-2jrg-rf5x-568g
- access.redhat.com/security/cve/CVE-2026-22747
- bugzilla.redhat.com/show_bug.cgi?id=2460487
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22747.json
- nvd.nist.gov/vuln/detail/CVE-2026-22747
- cve.org/CVERecord?id=CVE-2026-22747
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.