CVE-2026-61830: RabbitMQ Cluster Operator: Shell Command Injection via `spec.rabbitmq.envConfig`
Vulnerability summary
CVE-2026-61830 is a medium (CVSS 6.0) Improper Control of Generation of Code vulnerability in rabbitmq cluster-operator.
Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 04-12-2026PublishedVulnerability first disclosed.
- 04-12-2026Last modifiedVulnerability information updated.
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 metrics
2 scores · 2 sources · 1 version- NVDNIST6.0MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
No EPSS score has been published for this record yet.
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Rabbitmq1 product
- cluster-operator< 2.21.0
1 vendor · 1 product
References
2 links- github.com/rabbitmq/cluster-operator/security/advisories/GHSA-c7f3-92gv-rj3wX Refsource CONFIRM
- github.com/rabbitmq/cluster-operator/releases/tag/v2.21.0X Refsource MISC