CVE-2022-1245
CRITICAL9.8EPSS 0.43%Keycloak vulnerable to privilege escalation on Token Exchange feature
Published: 4/26/2022Modified: 3/13/2026
Also known as:GHSA-75p6-52g3-rqc8
Description
A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services.
Affected packages (1)
- Maven/org.keycloak:keycloak-servicesfrom 0, < 18.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |