Cluster-samples-operator: role reads all secrets in openshift-config, not just pull-secret (Red Hat Red Hat OpenShift Container Platform 4.20)

CVE-2026-107176
MEDIUM 6.8

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Awaiting Analysis

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.

Weaknesses (CWE)

  • CWE-250 — Execution with Unnecessary Privileges

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.8CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:Nredhat
CVSS 3.1MEDIUM 6.8CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:NNVD · secalert@redhat.com (Secondary)

European references

Affected products

ProductVersions
Red Hat · Red Hat OpenShift Container Platform 4.20unaffected 1792826398 < *
Red Hat · Red Hat OpenShift Container Platform 4.21unaffected 1792852494 < *
Red Hat · Red Hat OpenShift Container Platform 4.22unaffected 1792770602 < *
Red Hat · Red Hat OpenShift Container Platform 4
Red Hat · Red Hat OpenShift Container Platform 5

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD