CVE-2026-22752: Spring Security Authorization Server Dynamic Client Registration endpoints perform insufficient validation of client metadata

CRITICAL | APRIL 21, 2026 | CVE-2026-22752

Description

Spring Security Authorization Server Dynamic Client Registration endpoints perform insufficient validation of certain client metadata fields when explicitly enabled.

An attacker possessing a valid Initial Access Token can dynamically register a malicious client with crafted metadata. Depending on the metadata provided and the Authorization Server's configuration, this can lead to Stored Cross-Site Scripting (XSS), Privilege Escalation, or Server-Side Request Forgery (SSRF).

Affected Spring Products and Versions

Spring Security:

  • 7.0.0 - 7.0.4

Spring Authorization Server:

  • 1.3.0 - 1.3.10
  • 1.4.0 - 1.4.9
  • 1.5.0 - 1.5.6

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.

Affected version(s) Fix version Availability
7.0.x 7.0.5 OSS
1.3.x 1.3.11 Commercial
1.4.x 1.4.10 Commercial
1.5.x 1.5.7 OSS

Credit

The issue was identified and responsibly reported by Kelvin Mbogo (@addcontent).

References

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all