CVE-2026-137944

Keycloak-operator: keycloak-operator: proxy credentials sourced from a secret are written in cleartext into operand statefulset env

Published Dec 1, 2026 CVSS 3.1 · 4.3 Medium EPSS n/a KEV · Not listed
Description
A flaw was found in the Keycloak Operator. The operator copies proxy environment variables from its own environment into operand pod specifications as literal values. When the proxy configuration is provided through a Secret, the credential is written in cleartext into the operand StatefulSet, exposing it to users who can read workload objects but not Secrets in the namespace.

Analysis

AI-generated

Technical impact

The Keycloak Operator copies proxy environment variables from its own environment into the operand pod specifications as literal values. When the proxy configuration is provided through a Secret, the credential is written in cleartext into the operand StatefulSet, allowing anyone who can read workload objects to view sensitive proxy credentials. This flaw enables the disclosure of authentication information that may provide unauthorized access to upstream systems.

Affected Systems

The vulnerability affects Red Hat Build of Keycloak through the keycloak-operator component.

Risk and Exploitability

The CVSS score of 4.3 indicates a moderate severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is local: a user with permissions to read pod specifications or statefulset objects can retrieve the credentials. The disclosed proxy credentials could allow an attacker to authenticate to external services or bypass security controls, thereby increasing the potential for broader compromise. However, no direct remote code execution or denial of service is described. The absence of a publicly known exploit and the moderate score suggest a lower likelihood of immediate exploitation, but the risk of credential compromise remains significant.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Keycloak Operator to a version that no longer injects proxy credentials into pod environment variables.
  • Restrict RBAC permissions so that only trusted administrators can view pod specifications and statefulset objects, thereby limiting exposure of environment variables.
  • If a patch is unavailable, reconfigure the operator to use alternative credential injection methods, such as projected volumes or secret reference fields that hide the secret value from pod specs.

Generated by OpenCVE AI on December 2, 2026 at 00:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A flaw was found in the Keycloak Operator. The operator copies proxy environment variables from its own environment into operand pod specifications as literal values. When the proxy configuration is provided through a Secret, the credential is written in cleartext into the operand StatefulSet, exposing it to users who can read workload objects but not Secrets in the namespace.
Title Keycloak-operator: keycloak-operator: proxy credentials sourced from a secret are written in cleartext into operand statefulset env
First Time appeared Redhat
Redhat build Keycloak
Weaknesses CWE-312
CPEs cpe:/a:redhat:build_keycloak:
Vendors & Products Redhat
Redhat build Keycloak
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-312

    Cleartext Storage of Sensitive Information

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Dec 1, 2026, 4:50 PM
Reserved
Nov 27, 2026, 1:54 PM
Status
Awaiting Analysis
Published
Dec 1, 2026, 5:17 PM
Modified
Dec 1, 2026, 5:17 PM
Severity
Low
Public date
Dec 1, 2026, 3:49 PM