{"id":"CVE-2022-1245","published":"2022-07-07T23:39:22Z","modified":"2024-08-02T23:55:24Z","title":"A privilege escalation flaw was found in the token exchange feature of keycloak","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01448,"percentile":0.73979,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8","tags":["x_refsource_MISC"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":14.8}]},"affectedVersions":[{"vendor":"n/a","product":"keycloak","versions":["keycloak versions prior to 18.0.0"]}],"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":["<18.0.0"],"patched":["18.0.0"],"from":["GHSA-75p6-52g3-rqc8"],"provenance":"source"}],"summary":{"text":"A privilege escalation flaw exists in the token exchange feature of Keycloak, where missing authorization checks apply to requests that specify a target client. An attacker who holds a valid access token for a client application can exchange it for tokens issued to any other target client by supplying that client's client_id, potentially gaining unauthorized access to additional services.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:28Z"},"euvd":{"id":"EUVD-2022-1660","exploited":false,"provenance":"source"}}