Skip to main content
← All vulnerabilities
CVE-2026-22747GHSA-2JRG-RF5X-568G

Unauthorized User Impersonation when Using X.509 Client Certificates

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.0.5
2 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated

Affected versions

  • Spring Spring Security

    From 7.0.0 · through 7.0.4

  • org.springframework.security:spring-security-webMaven

    From 7.0.0 · fixed in 7.0.5

References 3

spring.io

GitHub · gsadagopan/cve-2026-22747-sandbox

GitHub · yakissa/CVE-2026-22747