Bug 2585452 (CVE-2026-137944) - CVE-2026-137944 keycloak-operator: keycloak-operator: proxy credentials sourced from a Secret are written in cleartext into operand StatefulSet env
Summary: CVE-2026-137944 keycloak-operator: keycloak-operator: proxy credentials sourc...
Keywords:
Status: NEW
Alias: CVE-2026-137944
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-27 13:49 UTC by OSIDB Bzimport
Modified: 2026-12-01 15:50 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-27 13:49:41 UTC
A flaw was found in the Red Hat Build of Keycloak Operator. The operator copies the HTTP_PROXY, HTTPS_PROXY and NO_PROXY environment variables from its own process environment into the operands it manages and writes them as literal values into the operand container environment (KeycloakDeploymentDependentResource.getDefaultAndAdditionalEnvVars). When the operator environment is populated from a Kubernetes Secret, the kubelet resolves the Secret and the operator writes the proxy credential in cleartext into the Keycloak StatefulSet pod template. A user who can read workload objects such as StatefulSets but cannot read Secrets in that namespace, which is what the built-in view ClusterRole grants, can read the proxy credential from the StatefulSet spec. Confirmed on OpenShift 5.0.0 (CRC, Kubernetes v1.36.5) and on a k3s API server using default bootstrapped RBAC roles.


Note You need to log in before you can comment on or make changes to this bug.