Description
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.
Published: 2026-08-18
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The RabbitMQ Java client library, before version 5.33.0, configures a TrustEverythingTrustManager when useSslProtocol() (or its String variant) is called. The trust manager accepts any server certificate and hostname verification is disabled, effectively allowing an attacker to present a forged or self‑signed certificate and have it trusted by the client. An adversary who can intercept the TLS connection between the application and the RabbitMQ broker could therefore impersonate the broker, read all AMQP traffic, and modify or inject messages with full confidence that the client will accept the manipulated connection.

Affected Systems

Affects the rabbitmq‑java‑client library in all releases prior to 5.33.0. The fix resides in version 5.33.0 and later, where the production TLS helpers use the JVM default trust store and enable hostname verification, leaving a separate development‑only no‑verification helper for use in non‑production settings.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. No EPSS data is available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires an attacker to position themselves on the network path between the client and broker, such as through a compromised router, virtual switch, or via ARP spoofing. Once in position, the attacker can use a man‑in‑the‑middle attack without needing a valid certificate, enabling full read or tampering of AMQP traffic. While the score reflects moderate risk, the potential confidentiality and integrity impact on application data can be significant if sensitive messages are transmitted.

Generated by OpenCVE AI on August 18, 2026 at 17:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the RabbitMQ Java client to version 5.33.0 or later to restore proper certificate validation and hostname verification.
  • In environments where upgrading is not immediately possible, replace the default useSslProtocol() call with a custom SSL context that loads the appropriate JVM or custom trust store and enables hostname verification, ensuring that only certificates signed by a trusted CA are accepted.
  • If the application must use a self‑signed or custom certificate, explicitly construct a ConnectionFactory that sets a trusted key manager for that certificate and avoid the insecure TrustEverythingTrustManager; ensure hostname verification remains enabled regardless of the certificate type.

Generated by OpenCVE AI on August 18, 2026 at 17:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5m9f-rphj-c435 RabbitMQ Java client: TrustEverythingTrustManager used by default in useSslProtocol() enables MITM
History

Tue, 18 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 18 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Description 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.
Title RabbitMQ Java client: TrustEverythingTrustManager used by default in useSslProtocol() enables MITM
Weaknesses CWE-295
References
Metrics cvssV4_0

{'score': 5.1, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-18T17:34:30.102Z

Reserved: 2026-07-16T14:14:24.385Z

Link: CVE-2026-63336

cve-icon Vulnrichment

Updated: 2026-08-18T17:31:20.443Z

cve-icon NVD

Status : Received

Published: 2026-08-18T17:17:00.280

Modified: 2026-08-18T18:19:10.150

Link: CVE-2026-63336

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T17:30:15Z

Weaknesses
  • CWE-295

    Improper Certificate Validation