CVE-2026-107176

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

Published Oct 7, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A flaw in the cluster‑samples‑operator grants the RBAC Role coreos‑pull‑secret‑reader get, list, and watch privileges on every Secret within the openshift‑config namespace because it lacks a resourceNames restriction. Although the operator only requires access to the pull‑secret Secret, the over‑permissive role enables an attacker who compromises the samples‑operator pod or its service‑account token through another vulnerability to read all secrets, including OAuth identity provider credentials, cloud provider keys, and other sensitive cluster configuration data.

Affected Systems

The vulnerability affects Red Hat OpenShift Container Platform 4, specifically the cluster‑samples‑operator component that runs in the openshift‑config namespace. No precise version numbers are provided, so the flaw applies to all installed instances of the operator within OpenShift 4.x that rely on the default coreos‑pull‑secret‑reader role.

Risk and Exploitability

The CVSS score of 6.8 indicates the issue is of medium severity. EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting no known active exploitation in the wild. However, the attack requires a separate prerequisite that the samples‑operator pod or its service‑account token be compromised, after which the attacker can read all secrets with no further action. This presents a confidentiality risk that could compromise authentication, authorization, and overall cluster security.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • No workaround available as per Red Hat; refer to the Red Hat advisory for updates until a patch is released.
  • Restrict the coreos‑pull‑secret‑reader RBAC role by adding a resourceNames restriction so it only permits access to the pull‑secret Secret.
  • Secure the samples‑operator pod and its service‑account token with pod security policies, ensuring the token is not usable outside the operator’s process.
  • Audit RBAC permissions and cluster secrets regularly to detect any over‑permissive roles or unexpected secrets.
  • Implement stricter network policies to isolate the samples‑operator pod from untrusted traffic and reduce the chance of token compromise.

Generated by OpenCVE AI on October 7, 2026 at 22:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.19::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:5
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.20::el9
cpe:/a:redhat:openshift:4.21::el9
cpe:/a:redhat:openshift:4.22::el9
References
Type Values Removed Values Added
First Time appeared Redhat openshift Container Platform
Vendors & Products Redhat openshift Container Platform
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
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.
Title Cluster-samples-operator: role reads all secrets in openshift-config, not just pull-secret
First Time appeared Redhat
Redhat openshift
Weaknesses CWE-250
CPEs cpe:/a:redhat:openshift:4
Vendors & Products Redhat
Redhat openshift
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-250

    Execution with Unnecessary Privileges

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 4, 2026, 3:57 PM
Reserved
Oct 7, 2026, 12:39 PM
Status
Awaiting Analysis
Published
Oct 7, 2026, 8:17 PM
Modified
Nov 4, 2026, 4:17 PM
Severity
Moderate
Public date
Oct 7, 2026, 12:00 AM