CVE-2026-47838: VMware Spring Security

High severity, CVSS 8.1. EPSS: 0.2% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • VMware Spring Security, before 5.7.25: fixed in 5.7.25
  • VMware Spring Security, from 5.8.0, before 5.8.27: fixed in 5.8.27
  • VMware Spring Security, from 6.3.0, before 6.3.18: fixed in 6.3.18
  • VMware Spring Security, from 6.4.0, before 6.4.18: fixed in 6.4.18
  • VMware Spring Security, from 6.5.0, before 6.5.11: fixed in 6.5.11

Affected products

  • VMware Spring Security: before 5.7.25 (fixed in 5.7.25); from 5.8.0, before 5.8.27 (fixed in 5.8.27); from 6.3.0, before 6.3.18 (fixed in 6.3.18); from 6.4.0, before 6.4.18 (fixed in 6.4.18); from 6.5.0, before 6.5.11 (fixed in 6.5.11)

Affected packages

Published 2026-06-10. Last modified 2026-07-23.