PoC Monitor
← All CVEs
CVE-2026-47838published 9 Jun 2026 23:50 UTCData: JSON · API

Spring Security

Unauthorized User Impersonation when Using X.509 Client Certificates

SubjectDnX509PrincipalExtractor 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. Affected versions: Spring Security 5.7.0 through 5.7.24; 5.8.0 through 5.8.26; 6.3.0 through 6.3.17; 6.4.0 through 6.4.17; 6.5.0 through 6.5.10.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by NVD · CWE-287
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Spring Spring Security
  • >= 5.7.0, < 5.7.25
  • >= 5.8.0, < 5.8.27
  • >= 6.3.0, < 6.3.18
  • >= 6.4.0, < 6.4.18
  • >= 6.5.0, < 6.5.10.2

Fixed in 5.7.25, 5.8.27, 6.3.18, 6.4.18, 6.5.10.2

Mitigation

Upgrade Spring Security to 5.7.25 or 5.8.27 or 6.3.18 or 6.4.18 or 6.5.10.2 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published9 Jun 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.