CVE-2026-62360: rabbitmq cluster-operator: RabbitmqCluster spec.override.statefulSet is full PodSpec -- hostPID/privileged/hostPath pass through strategicpatch verbatim, operator SA bypasses PSA
RabbitMQ Cluster Kubernetes Operator deploys and manages RabbitMQ clusters. Prior to version 2.22.0, a namespace user with create permission on rabbitmqclusters.rabbitmq.com can craft a RabbitmqCluster resource that causes the cluster operator to deploy a privileged pod with hostPID, hostNetwork, and hostPath volumes. The operator's service account holds a cluster-wide ClusterRoleBinding and creates the StatefulSet on behalf of the tenant, bypassing PSA enforcement. No admission webhook exists. This issue has been patched in version 2.22.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.22.0
Event History
Frequently Asked Questions
Who can exploit this issue?
A user with permission to create RabbitmqCluster resources in a namespace can exploit it. The operator then creates the StatefulSet using its own service account, which has a cluster-wide ClusterRoleBinding.
Does Pod Security Admission prevent exploitation?
No. The operator creates the workload on behalf of the tenant, bypassing PSA enforcement, and there is no admission webhook to block the crafted override.
What capabilities can an attacker obtain through a crafted resource?
The RabbitmqCluster spec.override.statefulSet field can pass a strategic patch verbatim, allowing a tenant to cause deployment of a privileged pod with hostPID, hostNetwork, and hostPath volumes.
Which versions are affected and what fixes the issue?
Versions prior to 2.22.0 are affected. The issue is patched in version 2.22.0.