Security mailing lists by PureSourceCode

CVE-2026-47838

HIGH 8.1CVSS 3.1

Spring Security Vulnerable to 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.

Published
10 Jun 2026
Last modified
10 Sep 2026
Assigned by
security@vmware.com
NVD status
Analyzed
Weakness
CWE-287
Also known as
GHSA-293q-567p-wmwq
Sources
NVDJSONOSV GHSA-293q-567p-wmwqJSON

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 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:*:*:*:*:*:*:*:*
< 5.7.25 5.7.25
NVD vmware spring_security
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
>= 5.8.0, < 5.8.27 5.8.27
NVD vmware spring_security
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
>= 6.3.0, < 6.3.18 6.3.18
NVD vmware spring_security
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
>= 6.4.0, < 6.4.18 6.4.18
NVD vmware spring_security
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
>= 6.5.0, < 6.5.11 6.5.11
OSV Maven org.springframework.security:spring-security-web >= 6.5.0, < 6.5.11 6.5.11
OSV Maven org.springframework.security:spring-security-web >= 6.4.0, <= 6.4.13
OSV Maven org.springframework.security:spring-security-web >= 6.0.0, <= 6.3.10
OSV Maven org.springframework.security:spring-security-web >= 5.8.0, <= 5.8.16
OSV Maven org.springframework.security:spring-security-web <= 5.7.14

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 10 Jun 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Jun 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.