CVE-2026-63336 PUBLISHED

RabbitMQ Java client: TrustEverythingTrustManager used by default in useSslProtocol() enables MITM

Assigner: GitHub_M
Reserved: 16.07.2026 Published: 18.08.2026 Updated: 18.08.2026

The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. Prior to 5.33.0, com.rabbitmq.client.ConnectionFactory.useSslProtocol() and ConnectionFactory.useSslProtocol(String) configure com.rabbitmq.client.TrustEverythingTrustManager and leave hostname verification disabled, causing arbitrary server certificates, including self-signed certificates, to be accepted. A network attacker able to intercept a TLS connection can impersonate the RabbitMQ broker, read protected AMQP traffic, and modify traffic without certificate or hostname validation. The fix changes the production TLS helpers to use the JVM default trust store and enables hostname verification, while retaining an explicitly named development-only no-verification helper. This issue is fixed in version 5.33.0.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N
CVSS Score: 5.1

Product Status

Vendor rabbitmq
Product rabbitmq-java-client
Versions
  • Version < 5.33.0 is affected

References

Problem Types

  • CWE-295: Improper Certificate Validation CWE