CVE-2022-1466: Improper authorization in Keycloak
Summary
CVE-2022-1466: Improper authorization in Keycloak. Affects org.keycloak:keycloak-core versions < 17.0.1. Fixed in 17.0.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Keycloak is an open-source identity and access management solution developed by Red Hat. It provides single sign-on capabilities and user authentication for web applications. The 'keycloak-core' package is a core component of Keycloak, responsible for handling authorization and user management. This vulnerability in Keycloak allows users to perform unauthorized actions, specifically adding users to the master realm without the necessary permissions.
Vulnerability Detail
The vulnerability arises from improper authorization checks in Red Hat Single Sign-On. It allows users to bypass the intended restrictions and add users to the master realm, even if they do not have the required permissions. This can lead to unauthorized access and potential security breaches. The vulnerability has a CVSS score of 6.5, indicating a moderate severity level.
How To Fix
Latest published version: 26.8.1 as of 22 Oct 2026
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
17.0.1
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround provided for this vulnerability. It is advised to apply the recommended fix by updating the 'keycloak-core' package.
Conclusion
The vulnerability in Keycloak allows unauthorized users to add users to the master realm without the necessary permissions. To mitigate this vulnerability, it is crucial to update the 'keycloak-core' package to version 17.0.1 or later. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.keycloak:keycloak-core →
FAQ
Keycloak is an open-source identity and access management solution developed by Red Hat. It provides single sign-on capabilities and user authentication for web applications.
This vulnerability allows users to perform unauthorized actions, specifically adding users to the master realm without the necessary permissions. This can lead to unauthorized access and potential security breaches.
The CVSS score of this vulnerability is 6.5, indicating a moderate severity level.
To fix this vulnerability, it is recommended to update the 'keycloak-core' package to version 17.0.1 or later.
There is no specific workaround provided for this vulnerability. It is advised to apply the recommended fix by updating the 'keycloak-core' package.
Related vulnerabilities
Recent vulnerabilities recorded for org.keycloak:keycloak-core.