{"id":"CVE-2022-1245","aliases":["GHSA-75p6-52g3-rqc8"],"url":"https://o3.security/vulnerability/CVE-2022-1245","summary":"Keycloak vulnerable to privilege escalation on Token Exchange feature","details":"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.","published":"2022-07-07T23:39:22Z","modified":"2026-08-12T03:51:43.853728880Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.01308,"percentile":0.67954,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-services","fixedVersion":"18.0.0"}],"fix":{"url":"https://github.com/keycloak/keycloak/commit/76d83f46fad94ebcbedaa49e6daad458e2894e52","label":"keycloak/keycloak@76d83f4"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1245.json"},{"type":"ADVISORY","url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1245"},{"type":"WEB","url":"https://github.com/keycloak/keycloak/commit/76d83f46fad94ebcbedaa49e6daad458e2894e52"},{"type":"PACKAGE","url":"https://github.com/keycloak/keycloak"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:43.853728880Z"}}