freenode

← CVE tracker

CVE-2026-61830

RabbitMQ Cluster Operator: Shell Command Injection via `spec.rabbitmq.envConfig`

Severity
medium CVSS 6.0 (v4.0)
Affects
cluster-operator · rabbitmq
Weakness
CWE-94: Improper Control of Generation of Code
Published
4 December 2026 by GitHub_M
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.