VULNERABILITY INTELLIGENCE

CVE-2026-22747

CVSS score6.8 MEDIUM
EPSS probability0.24%
CISA KEVNot currently listed
Published2026-04-22
Last modified2026-10-26
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Description

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.

Weakness classification

  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-297
  • 0b0ca135-0b70-47e7-9f44-1890c2a1c46c: CWE-295

Primary references