Excessive ClusterRole Permissions in hawtio-operator
The hawtio-operator contains an overly permissive ClusterRole configuration that enables an attacker who compromises the operator pod to access all Secrets across the Kubernetes cluster.
CVE search metadata
CVE search record: CVE-2026-77968. Severity: high. CVSS: 8.2. KEV: no. Product: hawtio-operator. Brief: Excessive ClusterRole Permissions in hawtio-operator. Brief link: https://feed.craftedsignal.io/briefs/2026-09-hawtio-operator-privesc/
What's new
- 1. added coverage for hawtio-operator Sep 8, 13:41 via nvd
CVE-2026-77968 describes a security vulnerability in the hawtio-operator involving excessive RBAC permissions. The operator's associated ClusterRole grants the ServiceAccount broad permissions to create, get, list, update, and watch Kubernetes Secrets across all namespaces. Although the operator employs a controller-runtime label-selector cache as a memory optimization, the underlying ServiceAccount token possesses direct, unrestricted access to the Kubernetes API. An attacker who successfully achieves code execution within the hawtio-operator pod can leverage these permissions to bypass cache restrictions via direct API queries, allowing for the unauthorized exfiltration of sensitive information including cloud credentials, service account tokens, and other operator secrets. This flaw significantly expands the impact of a container compromise to a full cluster-wide secret exposure.
Impact
Successful exploitation of CVE-2026-77968 allows an attacker with pod-level access to escalate privileges to the cluster level by retrieving all stored Secrets. This includes sensitive bootstrap tokens, cloud provider credentials, and secrets belonging to other workloads. Potential consequences include full lateral movement, persistence across the cluster environment, and exfiltration of sensitive data protected by the Kubernetes Secret API.
Recommendation
- Audit current Kubernetes RBAC configurations to identify and restrict excessive permissions for the hawtio-operator ServiceAccount.
- Implement Principle of Least Privilege by constraining ClusterRole permissions to specific namespaces or resources rather than the entire cluster scope, as referenced by CVE-2026-77968.
- Monitor API server audit logs for anomalous 'list' or 'get' requests on resources of type 'secrets' originating from the hawtio-operator ServiceAccount identity.
Immediate actions
Audit RBAC permissions for hawtio-operator ServiceAccount
Mitigations
Restrict ClusterRole permissions for hawtio-operator ServiceAccount to specific namespaces
CVE-2026-77968