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

- Priority: **Routine**
- Reason: Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-04 · Modified: 2026-12-04
- Record: https://cvemate.com/vulnerability/CVE-2026-61830 · JSON: https://cvemate.com/vulnerability/CVE-2026-61830/json

## Description

```text
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.
```

## Signals

- CVSS: 6 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
- EPSS: not scored
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- rabbitmq cluster-operator: \< 2.21.0

## References

- <https://github.com/rabbitmq/cluster-operator/security/advisories/GHSA-c7f3-92gv-rj3w>
- <https://github.com/rabbitmq/cluster-operator/releases/tag/v2.21.0>

---

Data as of 2026-12-05T07:29:31.933Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
