Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain read access to application/CI/APM logs
-
ExploitAMQP URI parse failure emits wrapped exception
-
ExecutionRaw amqp:// URI logged with embedded credentials
-
ImpactHarvest plaintext broker username and password
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires all of the following: (1) the application calls ConnectionFactoryConfigurator.load() with an AMQP URI that embeds plaintext credentials (amqp://user:pass@host); (2) that URI triggers an error during setup - either invalid URI syntax or a NoSuchAlgorithmException/KeyManagementException during TLS configuration - causing the pre-5.35.0 wrapped IllegalArgumentException to include the raw URI; and (3) an unauthorized party has read access to where that stack trace lands (startup logs, APM dashboards, CI logs, or copied/pasted traces). Limiting factors: only versions prior to 5.35.0 are affected; only the configurator load() path is impacted, not all client usage; credentials must actually be embedded in the URI rather than set programmatically; the exposure is passive and depends on an error occurring, so applications with valid URIs and clean startups never leak. |
| Impact | This is a genuine but low-urgency credential-disclosure issue rather than a widely-exploitable critical flaw. The provided CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:L/UI:N/VC:H) scores 5.7 (Medium) and is internally consistent with the description: it is a LOCAL vector (AV:L) requiring some existing access (PR:L) and a specific attack precondition (AT:P) - namely that AMQP URI parsing fails while the URI contains embedded credentials. Impact is confined to confidentiality (VC:H), with no integrity or availability impact (VI:N/VA:N), which matches an information-leak bug. No EPSS score, no CISA KEV listing, and no public exploit code were provided in the intelligence set; the referenced GitHub PR, commit, and release are the vendor FIX, not an exploit, so there is no public exploit identified at time of analysis. The signals do not conflict - all point to a real but conditional, non-remote credential-exposure weakness whose severity depends entirely on who can read the application's logs/APM/CI output. Note one data issue to verify: the CWE is listed as CWE-509 (Replicating Malware), which does not match the described behavior - the flaw is an information exposure through an error message/log (CWE-209/CWE-532); verify the CWE assignment with the vendor advisory. Priority should be moderate: patch to 5.35.0 during normal maintenance, and treat any historical logs that captured such stack traces as potentially containing exposed broker credentials. |
| Exploit ScenarioDerived | A JVM application configures its RabbitMQ connection via ConnectionFactoryConfigurator.load() using an AMQP URI such as amqp://user:secret@broker:5672/vhost. When that URI fails to parse or a TLS algorithm/key-management error occurs, the library throws an IllegalArgumentException embedding the full raw URI, which is written verbatim to startup logs, APM, or CI output. A lower-privileged operator, log viewer, or CI user who should not know the broker password then reads it directly from the stack trace. No public exploit is required - the exposure happens passively through normal error logging. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 06, 2026
RabbitMQ Java Client library releases prior to 5.35.0 can leak plaintext broker credentials because ConnectionFactoryConfigurator.load() wraps AMQP URI parsing failures in IllegalArgumentException messages that contain the raw amqp://user:pass@host URI. Any application that supplies credentials inside the connection URI and then hits a setup error - malformed URI syntax or a TLS NoSuchAlgorithmException/KeyManagementException - will write those credentials into startup logs, APM dashboards, CI output, or copied stack traces, where users without broker access may read them. This is a genuine but low-urgency credential-disclosure issue rather than a widely-exploitable critical flaw: exploitation is passive and conditional, requires the attacker to already have read access to the log sink, and only affects the configurator load() path where credentials are embedded in the URI. No public exploit identified at time of analysis; the vulnerable behavior is fixed in version 5.35.0, and the CVSS 4.0 score of 5.7 (AV:L/AC:L/AT:P/PR:L, VC:H) reflects that local, low-privilege, log-reading access with specific preconditions is needed.
RemediationAI
Vendor-released patch: upgrade to RabbitMQ Java client 5.35.0 (https://github.com/rabbitmq/rabbitmq-java-client/releases/tag/v5.35.0), which introduces the redactCredentials() helper and stops chaining the raw parse error; the change is described in advisory GHSA-h6w7-qmcm-q6xr (https://github.com/rabbitmq/rabbitmq-java-client/security/advisories/GHSA-h6w7-qmcm-q6xr) and the fix commit daca1875cdb8b8c0acce78f71103b21a05478446. If an immediate upgrade is not possible, stop embedding credentials in the AMQP URI passed to ConnectionFactoryConfigurator.load() and instead set them programmatically via ConnectionFactory.setUsername()/setPassword() or inject them from a secret manager - the trade-off is that credentials no longer travel in a single connection string, so configuration and rotation logic must be reworked to combine URI and out-of-band secrets. Additionally, wrap load() in your own try/catch that logs only a static message and never the exception message or full stack trace, and apply log-scrubbing/redaction filters to stdout, APM agents, and CI log retention - noting that multiline stack traces and downstream APM ingestion often bypass naive regex filters, so the filter must be validated end to end. Finally, restrict read access to startup logs, APM dashboards, and CI artifacts so that only personnel who already have broker credentials can see them, and rotate any broker password that may already have been written to a shared log sink.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The RabbitMQ Java Client (published as com.rabbitmq:amqp-client) lets JVM applications talk to RabbitMQ brokers, and its com.rabbitmq.client.ConnectionFactoryConfigurator.load() convenience API populates a ConnectionFactory from a properties file plus an AMQP URI such as amqp://user:password@host:5672/vhost. In versions before 5.35.0, the catch blocks around URI parsing and TLS setup re-threw IllegalArgumentException with the literal string "Error while setting AMQP URI: " concatenated with the unmodified uri variable, and also chained the original exception as the cause, so the sensitive userinfo component survived in both the message and any logged stack trace. This is an information-disclosure-through-logging class of defect (reported as CWE-509, replacing trusted data with untrusted data, effectively the same root pattern as CWE-532 insertion of sensitive information into a log), rooted in the failure to sanitize or truncate attacker-influenced input before it is emitted in an error path. The upstream fix (PR #2052, commit daca1875cdb8b8c0acce78f71103b21a05478446, shipped in release v5.35.0) adds a redactCredentials() helper that re-parses the string with java.net.URI and reconstructs it with a null userInfo - new URI(scheme, null, host, port, path, query, fragment) - and, critically, changes the invalid-syntax branch to emit only "Error while setting AMQP URI: invalid syntax (reason at index N)" without including the URI or chaining the cause, since a URI that failed to parse cannot be reliably stripped of credentials. Code paths using programmatic credentials (setUsername/setPassword) rather than URI-embedded credentials are unaffected, and only the load() configurator is in scope.
Know when Rabbitmq gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Leak is confined to local log/APM readers (AV:L, PR:L) and depends on a parse/TLS failure outside attacker control (AC:H); only credentials are disclosed, so C:H, I:N, A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. Prior to 5.35.0, ConnectionFactoryConfigurator.load() includes the raw uri value in wrapped exceptions when AMQP URI parsing fails. Because the URI may contain a plaintext username and password, startup logs, application performance monitoring systems, CI logs, and copied stack traces can disclose broker credentials to users who should not have access to them. This issue is fixed in version 5.35.0.
Blast Radius
ecosystem impact- 484 maven packages depend on com.rabbitmq:amqp-client (31 direct, 453 indirect)
Ecosystem-wide dependent count for version 5.35.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Sensitive credential disclosure in RabbitMQ affects installations running the management plugin with OAuth 2 configured
Pivotal RabbitMQ, versions 3.7.x prior to 3.7.21 and 3.8.x prior to 3.8.1, and RabbitMQ for Pivotal Platform, 1.16.x ver
Denial of service in the RabbitMQ Java client library (com.rabbitmq:amqp-client ≤ 5.30.0) allows a malicious or compromi
An issue was discovered in Pivotal RabbitMQ 3.x before 3.5.8 and 3.6.x before 3.6.6 and RabbitMQ for PCF 1.5.x before 1.
Parsing desynchronization in the RabbitMQ amqp091-go AMQP 0.9.1 client library before 1.13.0 lets a malicious or comprom
RabbitMQ's amqp091-go Go client library, in all versions before 1.13.0, builds TLS configuration from amqps:// URIs with
RabbitMQ is a multi-protocol messaging broker. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploita
RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b
Silent AMQP 0.9.1 metadata corruption in the RabbitMQ amqp091-go Go client library prior to 1.13.0 lets an application t
TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged
TLS certificate validation is completely bypassed in the RabbitMQ Java client library (`com.rabbitmq:amqp-client`) prior
Denial of service in the official RabbitMQ Go client library amqp091-go (versions prior to 1.13.0): a malicious, comprom
EUVD-2026-93777
GHSA-h6w7-qmcm-q6xr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB