Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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 | 5.7.25 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.security:spring-security-web | >= 6.5.0, < 6.5.11 | 6.5.11 | GHSA-293q-567p-wmwq |
| Maven | org.springframework.security:spring-security-web | >= 6.4.0, <= 6.4.13 | — | GHSA-293q-567p-wmwq |
| Maven | org.springframework.security:spring-security-web | >= 6.0.0, <= 6.3.10 | — | GHSA-293q-567p-wmwq |
| Maven | org.springframework.security:spring-security-web | >= 5.8.0, <= 5.8.16 | — | GHSA-293q-567p-wmwq |
| Maven | org.springframework.security:spring-security-web | <= 5.7.14 | — | GHSA-293q-567p-wmwq |
Advisories 4
- WID-SEC-2026-2923 Atlassian Produkte (Bamboo, Bitbucket, Confluence, Crucible, Fisheye, und Jira): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 8, 2026
- WID-SEC-2026-2460 Atlassian Bamboo, Bitbucket, Confluence, Fisheye, Crucible, Jira und Jira Service Management: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 1, 2026
- WID-SEC-2026-1869 VMware Tanzu Spring Security: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 31, 2026
- NCSC-2026-0325 Kwetsbaarheden verholpen in Atlassian producten NCSC-NL (Netherlands) · Aug 24, 2026