Security mailing lists by PureSourceCode

CVE-2026-22747

HIGH 8.1CVSS 3.1

Spring Security Vulnerable to Unauthorized User Impersonation when Using X.509 Client Certificates

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.

Published
22 Apr 2026
Last modified
26 Oct 2026
Assigned by
security@vmware.com
NVD status
Modified
Weakness
CWE-295CWE-297
Also known as
GHSA-2jrg-rf5x-568g
Sources
NVDJSONOSV GHSA-2jrg-rf5x-568gJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD security@vmware.com (Secondary) CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vmware spring_security
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
>= 7.0.0, < 7.0.5 7.0.5
OSV Maven org.springframework.security:spring-security-web >= 7.0.0, < 7.0.5 7.0.5

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 Apr 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.