Vulnerabilities

Threat intelligence · CVE-2022-1245

A privilege escalation flaw was found in the token exchange feature of keycloak.

Published May 24, 2022 · catalog updated Jun 17, 2026 · A privilege escalation flaw

Last checked Nov 5, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2022-1245. EPSS is 1.45%. Act only if a listed version of A privilege escalation flaw is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (A privilege escalation flaw).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
Critical9.8
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
1.45%
Remediation
Version ranges on file
Affected products
cpe redhat/keycloak

Vulnerability in Keycloak Software A vulnerability (CVE-2022-1245) has been identified in Keycloak software {open source software product to allow single sign-on with Identity and Access Management} which could allow a malicious user to potentially enable the escalation of privileges via remote access. How it can be Exploited The privilege escalation vulnerability exists in Keycloak software because an error occurs i

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe redhat/keycloak< 18.0.0

How to fix CVE-2022-1245

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2022-1245. EPSS is 1.45%. Act only if a listed version of A privilege escalation flaw is installed.

Which versions are affected?

Compare what you have installed with < 18.0.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-639: Authorization Bypass Through User-Controlled Key; CWE-862: Missing Authorization. EPSS 1.45%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. May 24, 2022 · AlienVault OTX

    Detected

    Vulnerability in Keycloak Software A vulnerability (CVE-2022-1245) has been identified in Keycloak software {open source software product to allow single sign-on with Identity and Access Management} which could allow a malicious user to potentially enable the escalation of privileges via remote access. How it can be Exploited The privilege escalation vulnerability exists in Keycloak software becau

  2. Jun 17, 2026 · Monitored products — high

    Updated

    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.

Sources

  • CVE.orgVulnerability recordCVE-2022-1245

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2022-1245

    30-day exploitation probability 1.45%

    first.org
  • Monitored products — highVendor advisoryCVE-2022-1245

    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.

    nvd.nist.gov
  • AlienVault OTXThreat intelligenceCVE-2022-1245
    otx.alienvault.com
  • urlscan.ioThreat intelligenceCVE-2022-1245
    urlscan.io

References

Freshness

Last verified in this catalog Nov 5, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • FIRST EPSSNov 5, 2026
  • CVE.orgNov 4, 2026
  • Monitored products — highNov 3, 2026
  • urlscan.ioNov 2, 2026
  • AlienVault OTXNov 2, 2026