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

- Severity: Medium 6.1 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2024-03-20T03:58:13.125Z
- Modified: 2026-06-17T07:11:02.923Z
- Also known as: GHSA-x637-x8p3-5p22
- Weaknesses: CWE-287, CWE-470
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## 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.

(As written by CVE List.)

## Affected

- Spring Authorization Server: from 1.0.x before 1.0.6; from 1.1.x before 1.1.6; from 1.2.x	 before 1.2.3
- org.springframework.security:spring-security-oauth2-authorization-server (Maven): before 1.1.6; from 1.2.0 before 1.2.3

## Every score

- vmware: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://spring.io/security/cve-2024-22258> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-22258> (advisory)
- <https://github.com/spring-projects/spring-authorization-server/commit/a7035d22bd2de6c24e7125623d38fb83d8f659a9> (web)

## Sources

- CVE List: [CVE-2024-22258](https://www.cve.org/CVERecord?id=CVE-2024-22258), CVE Terms of Use, modified 2024-12-05
- GitHub Advisory Database: [GHSA-x637-x8p3-5p22](https://github.com/advisories/GHSA-x637-x8p3-5p22), CC-BY-4.0, modified 2024-12-05
- NVD: [CVE-2024-22258](https://nvd.nist.gov/vuln/detail/CVE-2024-22258), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-22258 · Whole record: https://cve.day/CVE-2024-22258.json · Rebuilt by cve.day 2026-11-25T22:58:37.733Z
