Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEmbed malicious broker hostname in untrusted content
-
DeliveryVictim agent processes injected context via prompt injection
-
ExploitAgent invokes RabbitMQ connection tool with crafted hostname
-
ExecutionMCP server connects to attacker-controlled endpoint
-
PersistAmazon MQ credentials or OAuth tokens transmitted to attacker
-
ImpactAttacker authenticates to victim's RabbitMQ brokers
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V12 - Secure Communication Improper restriction of communication channel
|
| Exploitation Conditions | Exploitation requires three conditions to be simultaneously true: (1) the target organization must be running awslabs.amazon-mq-mcp-server at version 2.0.23 or earlier with its RabbitMQ broker connection tools active; (2) an AI agent or LLM client must be using this MCP server and must be exposed to untrusted external input - such as user-supplied documents, fetched web content, or third-party tool outputs - that the attacker can influence to inject a crafted broker hostname; (3) the agent must invoke the broker connection tool during a session where the malicious hostname is present in its context. The CVSS UI:P metric confirms passive user interaction is required: a human operator's normal use of the agent while the malicious context is active is sufficient. Exploitation is limited to deployments where agents are permitted to process untrusted content alongside Amazon MQ tool access; isolated deployments receiving only fully trusted input are not exploitable. Authentication level of the human operator is irrelevant - the attacker's leverage is through the LLM's context, not a direct protocol channel. |
| Impact | The CVSS 4.0 score of 7.1 (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N) reflects a network-accessible, low-complexity attack requiring no privileges and only passive user interaction - meaning the MCP client must be running and process attacker-influenced context, but the user need not take an explicit action beyond normal operation. The confidentiality impact is high: full credentials or OAuth tokens are exfiltrated. No EPSS score is present in the provided data, and the vulnerability is not listed in CISA KEV, so widespread or confirmed active exploitation is unconfirmed. The real-world attack surface is constrained to organizations running AI agent workflows that (a) use this specific MCP server against Amazon MQ for RabbitMQ and (b) expose those agents to untrusted input channels (documents, web content, third-party tool outputs) capable of carrying prompt injection payloads. This is not a trivial precondition, but prompt injection against MCP tools is an increasingly studied and exploited attack class in 2025-2026. The missing EPSS data means exploitation probability cannot be quantified; defenders should weight the CISA KEV absence as a signal of no confirmed mass exploitation, not as confirmation of safety. |
| Exploit ScenarioDerived | An attacker embeds a crafted RabbitMQ broker hostname into content that will be processed by an AI agent using the vulnerable Amazon MQ MCP Server - for example, via a malicious document ingested during a retrieval-augmented generation workflow or a web page fetched by the agent. When the agent invokes the RabbitMQ broker connection tool using the injected hostname, the MCP server establishes a network connection to the attacker's endpoint and transmits the victim's Amazon MQ broker credentials or OAuth access tokens as part of the authentication handshake. The attacker captures these credentials and uses them to authenticate directly against the victim's Amazon MQ for RabbitMQ brokers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 03, 2026
Credential exfiltration in Amazon MQ MCP Server (awslabs.amazon-mq-mcp-server) before version 2.0.24 allows a remote unauthenticated attacker - operating through prompt injection - to redirect RabbitMQ broker credentials or OAuth access tokens to an attacker-controlled endpoint by supplying a crafted broker hostname in the MCP client context. The RabbitMQ broker connection tools fail to validate that hostnames resolved through the MCP client context correspond to legitimate Amazon MQ broker endpoints, enabling a server-side request forgery-like exfiltration primitive. No public exploit code has been identified at time of analysis, no CISA KEV listing exists, and the vendor (Amazon) has released a confirmed fix in version 2.0.24.
Earlier versions of this analysis (1)
Credential theft in Amazon MQ MCP Server (awslabs.amazon-mq-mcp-server) before 2.0.24 enables a remote unauthenticated attacker to capture RabbitMQ broker credentials or OAuth access tokens by redirecting them to an attacker-controlled endpoint via prompt injection. The RabbitMQ broker connection tools fail to validate that the target hostname is a legitimate Amazon MQ endpoint (CWE-923), and because MCP tool parameters flow through LLM context, a crafted prompt can substitute a malicious hostname before the credential transmission occurs. No public exploit code or CISA KEV listing is confirmed at time of analysis, but the authentication material exposed - broker credentials and OAuth tokens - enables follow-on access to Amazon MQ infrastructure, making this a material risk in AI-agent-integrated AWS deployments.
RemediationAI
Upgrade to awslabs.amazon-mq-mcp-server version 2.0.24, which is the vendor-confirmed fix available on PyPI at https://pypi.org/project/awslabs.amazon-mq-mcp-server/2.0.24/; this is corroborated by the AWS security bulletin at https://aws.amazon.com/security/security-bulletins/2026-070-aws/. Organizations unable to upgrade immediately should restrict MCP client contexts to fully trusted input sources and disable agent access to Amazon MQ connection tools when processing any externally sourced or untrusted content (documents, web pages, third-party tool outputs), as this eliminates the prompt injection pathway; the trade-off is loss of automated broker interaction in those workflows. As a precautionary measure, rotate all Amazon MQ for RabbitMQ broker credentials and OAuth tokens that were in scope for any agent using the affected MCP server versions, since exfiltration may have occurred prior to detection.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component (CPE: cpe:2.3:a:aws:amazon-mq-mcp-server:*:*:*:*:*:*:*:*) is an MCP (Model Context Protocol) server that enables AI agents and LLM-driven workflows to interact programmatically with Amazon MQ for RabbitMQ brokers. MCP servers expose tool functions to LLM clients, and those tools can be invoked with parameters derived from the LLM's context - including untrusted external content. The root cause is CWE-923 (Improper Restriction of Communication Channel to Intended Endpoints): the RabbitMQ broker connection tools do not enforce that broker hostnames supplied via the MCP client context resolve to legitimate Amazon MQ endpoints. As a result, authentication material - including broker credentials and OAuth access tokens - is forwarded to whatever host is named in the context, functioning similarly to an SSRF attack path where the trust boundary violation is triggered through prompt injection rather than a direct HTTP parameter.
Know when Amazon Mq Mcp Server 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:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Prompt injection requires passive user interaction (UI:R); no privileges needed; only credentials exfiltrated with no integrity or availability impact.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
3DescriptionCVE.org
Improper restriction of intended endpoints in the RabbitMQ broker connection tools of the Amazon MQ MCP Server (awslabs.amazon-mq-mcp-server) before 2.0.24 may allow a remote unauthenticated actor (via prompt injection) to obtain Amazon MQ for RabbitMQ broker credentials or OAuth access tokens sent to a crafted endpoint controlled through a broker hostname introduced in the MCP client context.
To remediate this issue, users should upgrade to version 2.0.24.
Executive ViewAI
Amazon MQ MCP Server before version 2.0.24 is vulnerable to credential exfiltration attacks that could expose messaging infrastructure credentials and authentication tokens. This vulnerability creates a direct pathway for attackers to access and potentially manipulate your message queues and connected applications. Remediation through patching to version 2.0.24 is required to secure this critical infrastructure dependency.
Apply vendor patch: version 2.0.24. No effective interim mitigation available; restrict MCP Server access to trusted networks only pending patch deployment.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
EUVD-2026-52406
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB