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
- CVE-2025-8419 · Medium
- CVE-2025-5416 · Low
- CVE-2024-7341 · High
- CVE-2024-4629 · Medium
- CVE-2023-6787 · High
- 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
Upgrade
CVE-2022-1245 lists a fix boundary at 18.0.0. Compare the installed build with that boundary before you change production.
Version check
Affected < 18.0.0
Advisory
Open the cve_org record and follow its fix.
Official advisories
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.
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
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-1245otx.alienvault.com
- urlscan.ioThreat intelligenceCVE-2022-1245urlscan.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