Bug 2512568 (CVE-2026-71845) - CVE-2026-71845 insights-client: CVE-2026-71845 insights-client: CCX_TOKEN bearer credential logged in clear text at startup via setDefault()
Summary: CVE-2026-71845 insights-client: CVE-2026-71845 insights-client: CCX_TOKEN bea...
Keywords:
Status: NEW
Alias: CVE-2026-71845
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-07 16:55 UTC by OSIDB Bzimport
Modified: 2026-08-11 18:18 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-07 16:55:20 UTC
The setDefault() function in pkg/config/config.go logs every environment variable it consumes via glog.V(2).Infof("Using %s from environment: %s", env, val), including CCX_TOKEN — a bearer credential used by disconnected clusters as an alternative to cloud.redhat.com (which is unreachable from their environments). At -v>=2 verbosity, the token is printed in clear text to the pod log on every startup. The credential is then accessible to any principal with pods/log access in the open-cluster-management namespace or access to centralized logging (Loki/Elasticsearch), crossing a privilege boundary since log readers typically do not have secrets access to the credential source.

Code path: main.go:36 SetupConfig() → pkg/config/config.go:46 setDefault(&Cfg.CCXToken, "CCX_TOKEN", "") → config.go:62 glog.V(2).Infof("Using %s from environment: %s", env, val).

Preconditions: (1) Operator has set -v>=2 on the insights-client Deployment (non-default but routinely enabled for debugging); (2) CCX_TOKEN environment variable is configured (disconnected cluster deployments).

Upstream: stolostron/insights-client


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