RabbitMQ Cluster Operator: Shell Command Injection via `spec.rabbitmq.envConfig`
- CVE-2026-61830
- EUVD-2026-144457
Summary
RabbitMQ Cluster Kubernetes Operator versions prior to 2.21.0 contain a shell command injection flaw. A namespace-scoped user who can create RabbitmqCluster resources, but lacks permission to create pods or use pods/exec, can place arbitrary shell commands in the spec.rabbitmq.envConfig field. The operator copies this field unchanged into a ConfigMap mounted at /etc/rabbitmq/rabbitmq-env.conf, which RabbitMQ sources as a shell script at startup. No webhook or validation checks this field's content. The issue is rated CVSS 6 and is patched in version 2.21.0. It is not listed in the CISA known exploited vulnerabilities catalog.
AI summary · verify against the vendor advisory
Description
RabbitMQ Cluster Kubernetes Operator deploys and manages RabbitMQ clusters. Prior to version 2.21.0, a namespace-scoped user with create permission on RabbitmqCluster CRs — but no create pods or pods/exec permission — can inject arbitrary shell commands via spec.rabbitmq.envConfig. The operator writes this field verbatim into a ConfigMap, which is mounted at /etc/rabbitmq/rabbitmq-env.conf and sourced as a shell script by RabbitMQ's startup. No webhook or validation exists for this field's content. This issue has been patched in version 2.21.0.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
rabbitmq cluster-operator
Affected versions Fixed in < 2.21.0 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.