Shell command injection in RabbitMQ Cluster Operator via envConfig
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- None · Low · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
The RabbitMQ Cluster Kubernetes Operator before version 2.21.0 is affected. The operator writes the spec.rabbitmq.envConfig field verbatim into a ConfigMap that RabbitMQ sources as a shell script at startup, so content in that field is not validated. A namespace-scoped user who can create RabbitmqCluster resources, but has no permission to create pods or use pods/exec, can inject arbitrary shell commands through this field (CWE-94). The attacker needs low privileges and no user interaction, and the impact is high integrity and availability loss within the vulnerable component.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade the RabbitMQ Cluster Kubernetes Operator to version 2.21.0. The sources list no advisory identifier for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA cluster-operator (rabbitmq) Fixed in 2.21.0
Timeline
- 2026-12-04 Threatist record created from CVE-2026-61830
- 2026-12-04 CISA SSVC decision points changed
References
More rabbitmq vulnerabilities
- TI-2026-41154 Improper authentication in rabbitmq-server CVSS 3.1CRITICAL 10.0
- TI-2026-41149 RabbitMQ: UNC SSRF affecting the management UI on Windows CVSS 3.1CRITICAL 10.0
- TI-2026-103687 Authentication bypass in RabbitMQ server OAuth2 token proxy CVSS 4.0CRITICAL 9.1
- TI-2026-41158 Resource allocation without limits in rabbitmq-server CVSS 3.1HIGH 7.5
- TI-2026-47695 RabbitMQ: OAuth2 Client Secret Exposed via Unauthenticated JavaScript Endpoint CVSS 4.0HIGH 8.2
- TI-2026-47694 RabbitMQ: JWKS Fetch Ignores HTTP Response Status Code - Signing Key Destruction Causes Authentication DoS CVSS 4.0HIGH 8.2
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences