Fedora Account System
Red Hat Associate
Red Hat Customer
Finding The DSPO manager-role ClusterRole, bound cluster-wide to the controller ServiceAccount, includes permissions far beyond what the operator requires: pods, pods/exec, pods/log with verbs ['*'] – the operator never calls pods/exec kubeflow.org resources ['*'] with verbs ['*'] clusterrolebindings and clusterroles with verbs create, delete, get, list, update, watch apiGroups: ['*'] for deployments and services The pods/exec verb is inherited from upstream KFP RBAC for the workflow controller, but is granted at cluster scope to the operator itself. File: config/rbac/role.yaml:46-52 (pods/exec *), :170-175 (kubeflow.org * / *), :196-211 (clusterroles/clusterrolebindings CRUD) Framework: OWASP K8s K02; CIS K8s 5.1.3 (minimise wildcards); STIG V-254800 CWE: CWE-250 (Execution with Unnecessary Privileges) CVSS v3.1: 8.2 (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N) – High (post-compromise blast radius) Impact Any code-execution or token-leak in the DSPO pod yields effective cluster-admin. Combined with pods/exec:* on every namespace's pods and clusterrolebindings:create, compromise of the DSPO pod is full-cluster compromise. This finding is the blast radius amplifier for the DSN parameter injection finding (RHOAIENG-67935: DSPO: MySQL DSN parameter injection via CustomExtraParams enables LOCAL INFILE file exfiltration from operator pod Resolved ). That attack chain exfiltrates the operator SA token, and these overprivileged permissions are what converts that token into cluster-admin. Remediation Drop pods/exec, pods *, kubeflow.org */*, seldondeployments *, apiGroups:'*' from the operator role. The operator only needs: apps/deployments, services, secrets, configmaps, roles/rolebindings, routes, networkpolicies, servicemonitors, and the DSPA/Argo CRDs. Move workflow-specific verbs to the namespace-scoped Role templates only.