CVE-2026-59354: Spring Security OAuth2 Authorization Server: Insufficient validation of Dynamic Client Registration metadata

Published Aug 27, 2026
·
Updated

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 Software

1 affected component
Spring Security OAuth2 Authorization Server>=7.0.0<=7.0.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Spring Security OAuth2 Authorization Server (Dynamic Client Registration metadata validation) to a version that resolves this vulnerability.

    Fixed in 7.0.5

Event History

Aug 27, 2026
CVE Published
via MITRE·06:33 AM
Data Sourced
via MITRE·06:33 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Only Spring Security OAuth2 Authorization Server module versions 7.0.0 through 7.0.4 where Dynamic Client Registration has been explicitly enabled are described as affected. The issue concerns validation performed by the registration endpoint.

2

What does an attacker need to exploit this issue?

An attacker needs a valid Initial Access Token and must be able to submit crafted client metadata through Dynamic Client Registration. Exploitability and impact also depend on the server configuration and on how the supplied metadata is later rendered or used.

3

What impacts can unsafe metadata handling lead to?

Crafted metadata may lead to stored cross-site scripting, privilege escalation, or server-side request forgery. The described impact is conditional on the relevant metadata fields being rendered or used in an unsafe way by the deployment.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203