Cluster-samples-operator: role reads all secrets in openshift-config, not just pull-secret
- CVE-2026-107176
- GHSA-f5p7-fm92-q7hr
- EUVD-2026-94581
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Red Hat Red Hat OpenShift Container Platform 4.12
Affected versions Fixed in from 1795145949 onwards: not affected none stated Red Hat Red Hat OpenShift Container Platform 4.14
Affected versions Fixed in from 1795639287 onwards: not affected none stated Red Hat Red Hat OpenShift Container Platform 4.16
Affected versions Fixed in from 1795182254 onwards: not affected none stated Red Hat Red Hat OpenShift Container Platform 4.18
Affected versions Fixed in from 1795243252 onwards: not affected none stated Red Hat Red Hat OpenShift Container Platform 4.19
Affected versions Fixed in from 1793123280 onwards: not affected none stated Red Hat Red Hat OpenShift Container Platform 4.20
Affected versions Fixed in from 1792826398 onwards: not affected none stated Red Hat Red Hat OpenShift Container Platform 4.21
Affected versions Fixed in from 1792852494 onwards: not affected none stated Red Hat Red Hat OpenShift Container Platform 4.22
Affected versions Fixed in from 1792770602 onwards: not affected none stated Red Hat Red Hat OpenShift Container Platform 5
No versions listed
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.