RabbitMQ Server 4.3.0 before 4.3.6, 4.2.0 before 4.2.11, 4.1.0 before 4.1.16, 4.0.0 before 4.0.25, and 3.13.0 before 3.13.20 contains an information disclosure vulnerability in rabbit_stream_publishers_mgmt, which checks whether the requested vhost and stream exist before verifying the caller's vhost permissions. Authenticated management-tagged users without permissions on a vhost can request /api/stream/publishers/:vhost and /api/stream/publishers/:vhost/:queue and distinguish 200 from 404 responses to enumerate vhost and Stream queue names.
https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-6jvc-jx8w-m757