6.8Medium

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

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 Ha… Published: (1 month ago)

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.

Weakness (CWE): CWE-250

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

References and patches