CRITICAL 9.6

CVE-2026-59354

Spring Security OAuth2 Authorization Server: Insufficient validation of Dynamic Client Registration metadata

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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)

ArtifactAffected versionsFixed in
org.springframework.security » spring-security-oauth2-authorization-serverpreliminary
>= 7.0.0, <= 7.0.4
-

Blast radius

1affected artifacts
5affected versions
24dependent artifacts (est.)
112dependent versions

20% of the dependent artifacts (5) still pull an affected version in their latest release.

DepthDependent versions
Direct
19
2 hops
50
3 hops
26
4 hops
17

Most used dependents

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.