RabbitMQ before 3.13.19 Policymaker RCE via federation-management nonmember RPCGHSA-27gv-h5q6-cpwg
Fix: rabbitmq/rabbitmq-server@84fc5f4GHSA-27gv-h5q6-cpwg is a security vulnerability. A fix is available — see the affected versions and patch details below.
Description
RabbitMQ 3.13.x before 3.13.19, 4.0.x before 4.0.24, 4.1.x before 4.1.15, 4.2.x before 4.2.10, and 4.3.x before 4.3.5 allows a policymaker-tagged management user to execute arbitrary BEAM functions because the federation-management link restart route calls rpc:call/5 on a user-supplied node without validating cluster membership. Attackers can create attacker node atoms via global-parameter names, trigger two concurrent outbound distribution handshakes, and reflect the OTP 27 cookie digest between them to authenticate and invoke rex with controlled module, function, and arguments.
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Fix
Upgrade the affected component to the fixed release for GHSA-27gv-h5q6-cpwg, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-27gv-h5q6-cpwg in your dependencies?
Find it across your dependency tree, including transitive dependencies.