Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring | 1.0.x – < 1.0.6, 1.1.x – < 1.1.6, 1.2.x – < 1.2.3 | 1.0.6 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | spring | No fix yet | — |
| Ubuntu 26.04 LTS | spring | No fix yet | — |
| Ubuntu 25.10 | spring | No fix yet | — |
| Ubuntu 24.04 LTS | spring | No fix yet | — |
| Ubuntu 22.04 LTS | spring | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | spring | No fix yet | — |
| Ubuntu 18.04 LTS | spring | No fix yet | — |
| Ubuntu 16.04 LTS | spring | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.security:spring-security-oauth2-authorization-server | < 1.1.6 | 1.1.6 | GHSA-x637-x8p3-5p22 |
| Maven | org.springframework.security:spring-security-oauth2-authorization-server | >= 1.2.0, < 1.2.3 | 1.2.3 | GHSA-x637-x8p3-5p22 |