Spring Security Advisories

CVE-2024-22258: PKCE Downgrade in Spring Authorization Server

MEDIUM | MARCH 19, 2024 | CVE-2024-22258


Spring Authorization Server versions 1.0.0 - 1.0.5, 1.1.0 - 1.1.5, 1.2.0 - 1.2.2 and older unsupported versions are susceptible to a PKCE Downgrade Attack for Confidential Clients.

Specifically, an application is vulnerable when a Confidential Client uses PKCE for the Authorization Code Grant.

An application is not vulnerable when a Public Client uses PKCE for the Authorization Code Grant.

Affected Spring Products and Versions

Spring Authorization Server

  • 1.0.0 - 1.0.5
  • 1.1.0 - 1.1.5
  • 1.2.0 - 1.2.2
  • Older, unsupported versions are also affected


Users of affected versions should upgrade to the corresponding fixed version.
Affected version(s)Fix versionAvailability
1.0.x1.0.6Enterprise Support Only


This issue was identified and responsibly reported by Pieter Philippaerts ([email protected]).

Get ahead

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

Learn more

Get support

Tanzu Spring Runtime 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