CVE-2026-61830
Received Received - Intake

Arbitrary Command Injection in RabbitMQ Cluster Kubernetes Operator

Vulnerability report for CVE-2026-61830, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-04
Last Modified
2026-12-04
Generated
2026-12-04
AI Q&A
2026-12-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
rabbitmq rabbitmq_cluster_kubernetes_operator to 2.21.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is an OS Command Injection vulnerability in the RabbitMQ Cluster Kubernetes Operator affecting versions before 2.21.0. A user with create permissions on RabbitmqCluster custom resources but no pod or exec permissions can inject arbitrary shell commands via the spec.rabbitmq.envConfig field. The operator writes this field directly into a ConfigMap mounted as a shell script, which executes during RabbitMQ startup. No validation exists for this field, allowing command execution.

Detection Guidance

Check RabbitMQ Cluster Operator versions before 2.21.0 using kubectl get pods -n <namespace> -l app.kubernetes.io/name=rabbitmq-cluster-operator. Inspect RabbitmqCluster CRs for spec.rabbitmq.envConfig containing shell metacharacters like $() or backticks. Review ConfigMaps in the operator's namespace for unexpected shell commands in rabbitmq-env.conf.

Impact Analysis

An attacker could execute arbitrary shell commands during RabbitMQ container startup, leading to exfiltration of sensitive data like the Erlang cookie, Kubernetes service account token, or process identity. This enables critical data theft and potential privilege escalation without direct pod access.

Mitigation Strategies

Upgrade RabbitMQ Cluster Operator to version 2.21.0 or later. Validate envConfig content to reject shell metacharacters. Implement a validating admission webhook to sanitize inputs. Restrict namespace-scoped users' permissions to prevent unauthorized CR creation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-61830. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...