Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-107176 EUVD-2026-94581GHSA-f5p7-fm92-q7hr

Cluster-samples-operator: role reads all secrets in openshift-config, not just pull-secret

Published Oct 7, 2026 · Updated Nov 4, 2026 · Assigned by redhat

Description

A flaw was found in the cluster-samples-operator. The RBAC Role coreos-pull-secret-reader in namespace openshift-config grants get, list, and watch permissions on all Secret resources without resourceNames scoping. The operator only requires access to the pull-secret Secret. If the samples-operator pod or its service account token is compromised through a separate vulnerability, an attacker could read all secrets in openshift-config, potentially including OAuth identity provider credentials, cloud provider credentials, and other sensitive cluster configuration.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat OpenShift Container Platform 4.19 — —
Red Hat Red Hat OpenShift Container Platform 4.20 — —
Red Hat Red Hat OpenShift Container Platform 4.21 — —
Red Hat Red Hat OpenShift Container Platform 4.22 — —
Red Hat Red Hat OpenShift Container Platform 4 — —
Red Hat Red Hat OpenShift Container Platform 5 — —

References