Live threats

All CVEs / Redhat

CVE-2022-1245Redhat Keycloak

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Jul 8, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862, CWE-639
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Keycloak.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.keycloak:keycloak-services < 18.0.0 18.0.0 —

Per OSV / GitHub Advisories (GHSA-75p6-52g3-rqc8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatkeycloak< 18.0.0

Official sources

References

Links published by the sources. Open them with care.