CVE-2026-137944

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.

Statement

Red Hat rates this issue Low because it only applies when the Red Hat Build of Keycloak Operator is run with HTTP_PROXY, HTTPS_PROXY, or NO_PROXY values that include proxy authentication (for example a password in the proxy URL), and those values are present in the operator's environment after the platform resolves them from a Kubernetes Secret. The operator propagates those values as plain environment variables into the Keycloak operand StatefulSet. A principal who can read workload objects such as StatefulSets in that namespace, but who cannot read the Secrets that hold the same proxy settings, can obtain the proxy credentials from the StatefulSet specification.

Installations that do not configure proxy environment variables on the operator, or that use a proxy URL without embedded credentials, are not affected. The impact is limited to disclosure of proxy credentials used for outbound proxy access. It does not by itself expose Keycloak realm data, client secrets, or operator administrative credentials, and it does not affect integrity or availability of the Keycloak deployment.

Affected Red Hat product scope is limited to Red Hat Build of Keycloak streams where the rhbk/keycloak-rhel9-operator component is supported, as reflected in the affects list on this flaw.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.3N/AN/A
Attack VectorNetworkN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityLowN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactNoneN/AN/A

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Red Hat CVSS v3 Score Explanation

RH CVSS 4.3 (Low impact)

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Application Data

An attacker with access to the system could read sensitive information stored in cleartext (i.e., unencrypted). Even if the information is encoded in a way that is not human-readable, certain techniques could determine which encoding is being used, then decode the information.

Acknowledgements

This issue was discovered by Steven Hawkins (Red Hat).

Frequently Asked Questions

Want to get errata notifications? Sign up here.