CVE-2026-142136 — Red Hat Build of Keycloak
Summary
A flaw was found in the Keycloak Operator, which is used to manage Keycloak instances on Kubernetes and OpenShift. The issue occurs because the documentation and default behavior encourage users to include sensitive information, such as client secrets and private keys, directly within the KeycloakRealmImport custom resource. Because these resources are not treated as protected secrets by Kubernetes, an attacker with basic read permissions for the custom resource can recover this sensitive material, potentially leading to full compromise of the Keycloak realm.
Severity breakdown
High · 8.1
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality and integrity, none on availability
Weakness
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References by type
Other references
Affected
- Red Hat Build of Keycloak
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142136?
A flaw was found in the Keycloak Operator, which is used to manage Keycloak instances on Kubernetes and OpenShift. The issue occurs because the documentation and default behavior encourage users to include sensitive information, such as client secrets and private keys, directly within the KeycloakRealmImport custom resource. Weakness type: Exposure of Sensitive Information to an Unauthorized Actor (CWE-200).
How severe is CVE-2026-142136?
CVE-2026-142136 has a CVSS 3.1 base score of 8.1 (high), from the CNA (redhat.com). An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2026-142136 being exploited?
Not as far as is known: CVE-2026-142136 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
How do I fix CVE-2026-142136?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
References
Related vulnerabilities & news
- 12-Year-Old Linux Kernel NFS Flaw Allows Unauthenticated Root Takeover
- Submariner PSK Flaw Enables MITM Attacks Through Shared Keys
- Datadog Agent Vulnerability Enables Local Code Execution Through Predictable File Storage
- hypershift-addon RBAC Misconfiguration Enables Unauthorized Cluster Access
- ansible-core Path Traversal Flaw (CVE-2026-130644)