CVE-2026-142136

8.1High

Published Dec 2, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite

8.1CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
Low
User action
None
Impact
High impact on confidentiality, integrity
Weakness
CWE-200

What an attacker gets

Authenticated attackers with read access to Kubernetes custom resources can steal client secrets and private keys. This leads to full compromise of the Keycloak realm.

Root cause

The KeycloakRealmImport custom resource stores sensitive credentials in plain text instead of using Kubernetes Secrets.

Affected versions

Versions not listed — check the vendor advisory.

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Fix & remediation

Migrate sensitive data from KeycloakRealmImport resources to Kubernetes Secrets and reference them instead. Ensure RBAC policies restrict read access to the KeycloakRealmImport resource.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-142136

More fully triaged vulnerabilities you may want to check next.