CVE-2026-59354
Spring Security OAuth2 Authorization Server: Insufficient validation of Dynamic Client Registration metadata
Description
In versions of Spring Security's OAuth2 Authorization Server module 7.0.0 through 7.0.4, when Dynamic Client Registration is explicitly enabled, the registration endpoint performs insufficient validation of certain client metadata fields supplied by the registering client. An attacker who possesses a valid Initial Access Token can register a malicious client with crafted metadata, which, depending on server configuration and how the metadata is later rendered or used, may result in Stored Cross-Site Scripting (XSS), Privilege Escalation, or Server-Side Request Forgery (SSRF).
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security » spring-security-oauth2-authorization-serverpreliminary | >= 7.0.0, <= 7.0.4 | - |
Blast radius
20% of the dependent artifacts (5) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 19 |
| 2 hops | 50 |
| 3 hops | 26 |
| 4 hops | 17 |
Most used dependents
- org.springframework.boot » spring-boot-starter-oauth2-authorization-server29 usages
- org.springframework.boot » spring-boot-starter-security-oauth2-authorization-server10 usages
- org.springframework.boot » spring-boot-security-oauth2-authorization-server8 usages
- org.springframework.boot » spring-boot-starter-classic4 usages
- eu.openanalytics » rdepot-base3 usages
- org.dromara.dante » dante-authentication-autoconfigure2 usages
- org.springaicommunity » mcp-authorization-server2 usages
- org.dromara.dante » authentication-spring-boot-starter2 usages
- org.springframework.boot » spring-boot-autoconfigure-classic2 usages
- org.springframework.boot » spring-boot-autoconfigure-classic-modules1 usages
- cn.herodotus.dante » dante-authentication-autoconfigure1 usages
- eu.openanalytics » rdepot-python-module1 usages
- eu.openanalytics » rdepot-r-module1 usages
- com.luamas.thinkbridge » thinkbridge-common-spring-security-oauth2-server1 usages
- org.dromara.dante » dante-monomer-autoconfigure0 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-59354 | github.com |
| Advisory | NVD CVE-2026-59354 | nvd.nist.gov |
| Advisory | security/cve-2026-59354 | spring.io |
| Article | vuln-metrics/cvss/v3-calculator | nvd.nist.gov |
| Web | maven2/org/springframework/security/spring-security-oauth2-authorization-server | repo.maven.apache.org |
