CVE-2026-61830: RabbitMQ Cluster Operator: Shell Command Injection via `spec.rabbitmq.envConfig`

Published Dec 4, 2026
·
Updated

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.

Affected Software

1 affected component
VMware RabbitMQ Cluster Kubernetes Operator<2.21.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade RabbitMQ Cluster Kubernetes Operator to a version that resolves this vulnerability.

    Fixed in 2.21.0

Event History

Dec 4, 2026
CVE Published
via MITRE·04:35 PM
Data Sourced
via MITRE·04:35 PM
DescriptionWeakness
Data Sourced
via NVD·05:19 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

A namespace-scoped user who can create RabbitmqCluster custom resources can exploit it, even if they do not have permission to create Pods or use pods/exec. The impact is limited to environments running a vulnerable RabbitMQ Cluster Operator version before 2.21.0.

2

What input reaches the shell, and why is it dangerous?

The operator writes spec.rabbitmq.envConfig verbatim to a ConfigMap mounted as /etc/rabbitmq/rabbitmq-env.conf. RabbitMQ sources that file as a shell script during startup, so shell commands placed in the field can run.

3

Is there validation that prevents malicious envConfig values?

No. The affected operator has no webhook or other validation for the content of spec.rabbitmq.envConfig.

4

What is the available fix?

Upgrade the RabbitMQ Cluster Operator to version 2.21.0, which patches this issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203