{"cve":"CVE-2022-1245","nvd":{"published":"2022-07-08T00:15:07.937","modified":"2026-06-17T04:22:05.027","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-639","CWE-862"],"references":["https://github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8","https://github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8"],"products":["redhat:keycloak"],"source":"nvd","synced_at":"2026-10-19T21:33:44.859608815+00:00"},"epss":{"cve":"CVE-2022-1245","score":0.01414,"percentile":0.72739,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-75p6-52g3-rqc8","url":"https://osv.dev/vulnerability/GHSA-75p6-52g3-rqc8","summary":"Keycloak vulnerable to privilege escalation on Token Exchange feature","modified":"2026-07-16T03:59:27.995234418Z","packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","ranges":["<18.0.0"],"fixed":["18.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}