CVE-2026-123059

Keycloak admin client secret stored in cleartext in a ConfigMap in Eclipse BaSyx Helm Charts

Published Nov 5, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
In Eclipse BaSyx Helm Charts version 2.2.0 of the `aas-basyx-v2-full` chart, deployments with the bundled Keycloak enabled store the client secret of the `basyx-technical-user` OAuth2 client in cleartext in a Kubernetes ConfigMap. This client uses the client-credentials grant and its service account holds the realm `admin` role.



The chart correctly writes `keycloak.technicalUser.clientSecret` to a Kubernetes Secret, but the template `basyx-keycloak-realm.yaml` also substitutes the same value into the Keycloak realm-import JSON, which is stored in the ConfigMap `<keycloak.fullnameOverride>-realm`. A principal that can read ConfigMaps but not Secrets in the release namespace, such as a holder of the built-in Kubernetes `view` ClusterRole, can read the client secret from the ConfigMap. They can then exchange it at the Keycloak token endpoint for an access token with the `admin` role. That token grants full create, read, update, delete and execute rights on all BaSyx repositories and registries in the deployment.



The bundled Keycloak is disabled by default. No fixed release of the `aas-basyx-v2-full` chart exists. Affected users should migrate to the `basyx` chart, or deploy without the bundled Keycloak and rotate the `basyx-technical-user` client secret.

Analysis

AI-generated

Technical impact

Deployments of version 2.2.0 of the aas-basyx-v2-full Helm chart that enable the bundled Keycloak store the client secret of the "basyx-technical-user" OAuth2 client in cleartext within a Kubernetes ConfigMap. The secret is also inserted into a realm‑import JSON that the chart creates, resulting in the same value appearing in a public ConfigMap. A principal that can view ConfigMaps but does not possess access to Secrets, such as a member of the built‑in "view" ClusterRole, can read the secret. By exchanging that secret at the Keycloak token endpoint, an attacker can obtain an access token bearing the realm administrator role, which grants full create, read, update, delete and execute permissions on all BaSyx repositories and registries.

Affected Systems

Eclipse Foundation’s Eclipse BaSyx Helm Charts, specifically the aas-basyx-v2-full chart version 2.2.0, which bundles Keycloak. No fixed release of this chart exists; users must migrate to the non‑bundled basyx chart or deploy without the bundled Keycloak.

Risk and Exploitability

The vulnerability is a cleartext credential exposure (CWE‑312) combined with inadequate privilege separation (CWE‑522). The CVSS score of 7.5 reflects the high impact of obtaining an admin token with only read‑only ConfigMap access. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, indicating no known public exploitation yet. An attacker with the built‑in "view" ClusterRole can read the exposed secret and exchange it for an administrative token, enabling unrestricted operations against the BaSyx APIs.

Remediation

Vendor Solution

No fixed release of the `aas-basyx-v2-full` chart exists. Affected users should migrate to the `basyx` chart.


Vendor Workaround

Deploy without the bundled Keycloak and rotate the `basyx-technical-user` client secret.


OpenCVE Recommended Actions

  • Migrate to the basyx chart which does not bundle Keycloak and therefore eliminates the cleartext secret issue
  • If migration is not possible, deploy without the bundled Keycloak and rotate the "basyx-technical-user" client secret to invalidate the exposed key
  • Restrict access to ConfigMaps in the release namespace by tightening the "view" ClusterRole or removing it from untrusted principals to prevent unauthenticated read of the secret

Generated by OpenCVE AI on November 5, 2026 at 15:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Eclipse
Eclipse eclipse Basyx Helm Charts
Vendors & Products Eclipse
Eclipse eclipse Basyx Helm Charts
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description In Eclipse BaSyx Helm Charts version 2.2.0 of the `aas-basyx-v2-full` chart, deployments with the bundled Keycloak enabled store the client secret of the `basyx-technical-user` OAuth2 client in cleartext in a Kubernetes ConfigMap. This client uses the client-credentials grant and its service account holds the realm `admin` role. The chart correctly writes `keycloak.technicalUser.clientSecret` to a Kubernetes Secret, but the template `basyx-keycloak-realm.yaml` also substitutes the same value into the Keycloak realm-import JSON, which is stored in the ConfigMap `<keycloak.fullnameOverride>-realm`. A principal that can read ConfigMaps but not Secrets in the release namespace, such as a holder of the built-in Kubernetes `view` ClusterRole, can read the client secret from the ConfigMap. They can then exchange it at the Keycloak token endpoint for an access token with the `admin` role. That token grants full create, read, update, delete and execute rights on all BaSyx repositories and registries in the deployment. The bundled Keycloak is disabled by default. No fixed release of the `aas-basyx-v2-full` chart exists. Affected users should migrate to the `basyx` chart, or deploy without the bundled Keycloak and rotate the `basyx-technical-user` client secret.
Title Keycloak admin client secret stored in cleartext in a ConfigMap in Eclipse BaSyx Helm Charts
Weaknesses CWE-312
CWE-522
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-312

    Cleartext Storage of Sensitive Information

  • CWE-522

    Insufficiently Protected Credentials

Sources

Status
PUBLISHED
Assigner
eclipse
Published
Updated
Nov 5, 2026, 9:24 PM
Reserved
Nov 5, 2026, 8:45 AM
Status
Deferred
Published
Nov 5, 2026, 2:17 PM
Modified
Nov 12, 2026, 6:44 PM
Severity
Important
Public date
Nov 5, 2026, 1:13 PM