Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconDiscover exposed ActiveMQ web console
-
DeliveryObtain valid console credentials
-
ExploitAuthenticate to /api/jolokia/
-
InstallPOST exec for BrokerService.addNetworkConnector with masterslave:// URI
-
C2Broker loads attacker-hosted Spring XML
-
ExecuteSingleton bean invokes Runtime.exec() on broker JVM
-
ImpactCommand execution and lateral pivot from broker host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires (1) network reachability to the ActiveMQ web console, specifically the /api/jolokia/ HTTP endpoint, (2) valid authentication credentials with permission to invoke JMX exec operations on org.apache.activemq:* MBeans - the default Jolokia access policy grants this to authenticated console users, so any web-console account is typically sufficient, (3) the broker's ability to fetch the attacker-controlled Spring XML resource referenced by the masterslave:// URI, meaning outbound HTTP/file access from the broker to an attacker-reachable location. Limiting factors: PR:L authentication is mandatory (CVSS PR:L), so brokers with the web console disabled, restricted to localhost, or behind strong network segmentation are not reachable; deployments that have hardened jolokia-access.xml to forbid exec on the ActiveMQ MBean domain block the primitive; brokers with no outbound network egress to the attacker's Spring XML host cannot complete the chain. Affected configurations are default Apache ActiveMQ Classic 5.x before 5.19.7 and 6.x before 6.2.6. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N reflects a network-reachable, low-complexity attack requiring authenticated access (PR:L) with high confidentiality and integrity impact but no availability impact, yielding 8.1 (High). EPSS is very low at 0.06% (19th percentile) and the CVE is not listed in CISA KEV - no public exploit identified at time of analysis - which downgrades immediate broad-exploitation risk relative to the CVSS score. However, ActiveMQ has a strong historical pattern of post-disclosure exploitation (e.g., CVE-2023-46604) once PoCs surface, the attack is fully automatable via a single HTTP POST to Jolokia, and the technical impact is total broker JVM compromise. Authenticated-only is a real but soft barrier: many ActiveMQ deployments use default or weak web-console credentials, and any user with JMX exec rights on org.apache.activemq:* MBeans suffices. Treat this as a high-priority patch for any ActiveMQ instance exposing the web console, even though current telemetry signals are quiet. |
| Exploit ScenarioDerived | An attacker who has obtained valid ActiveMQ web-console credentials - through credential reuse, phishing of an admin, or a default account on an internet-exposed broker - sends a single authenticated HTTP POST to /api/jolokia/ invoking BrokerService.addNetworkConnector with a masterslave:// URI pointing to an attacker-hosted Spring XML file. The broker fetches the XML, instantiates a malicious bean whose factory method calls Runtime.exec(), and the attacker gains code execution as the ActiveMQ JVM user, typically pivoting to read message queues, exfiltrate credentials, or move laterally. No public exploit identified at time of analysis, but the primitive is straightforward enough that PoCs are likely to follow disclosure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
Authenticated remote code execution in Apache ActiveMQ Classic (versions before 5.19.7 and 6.0.0 through 6.2.5) is achievable via the Jolokia JMX-HTTP bridge exposed at /api/jolokia/ on the web console. An authenticated attacker can invoke BrokerService.addNetworkConnector with a crafted masterslave:// discovery URI that loads a Spring XML application context, instantiating attacker-controlled singleton beans (e.g., Runtime.exec()) on the broker JVM. No public exploit identified at time of analysis and EPSS is low (0.06%), but the vendor-released patches and CVSS 8.1 score reflect a significant risk to message brokers exposing the web console.
RemediationAI
Vendor-released patch: upgrade to Apache ActiveMQ 5.19.7 (for the 5.x branch) or 6.2.6 (for the 6.x branch), per the Apache advisory at https://lists.apache.org/thread/ns0zktfo16s9ql2mmtqtlb6p6xcs45xm. If immediate patching is not possible, restrict network access to the ActiveMQ web console and the /api/jolokia/ endpoint to trusted management networks only (trade-off: breaks remote JMX monitoring tools that rely on Jolokia), tighten the Jolokia access policy in jolokia-access.xml to deny exec operations on the org.apache.activemq:* domain or to allow-list only specific safe MBean operations (trade-off: may disrupt legitimate administrative automation), and rotate or strengthen web-console credentials and remove default/shared admin accounts to reduce the authenticated-attacker surface. Disabling the web console entirely (removing the jetty.xml war deployment) is the strongest workaround if remote administration is not needed, at the cost of losing browser-based management.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 6 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
Apache ActiveMQ Classic ships a Jolokia agent (a JMX-over-HTTP bridge) mounted at /api/jolokia/ in the web console, with a default access policy that permits exec operations across all org.apache.activemq:* MBeans. The vulnerability chains an Improper Input Validation flaw (CWE-20) on the BrokerService.addNetworkConnector(String) MBean operation with Spring Framework's ResourceXmlApplicationContext loader. The attacker abuses ActiveMQ's VM transport brokerConfig parameter together with the masterslave:// URL scheme to make the broker load an arbitrary Spring XML application context. Because Spring instantiates all singleton beans before BrokerService validates the configuration, factory methods such as Runtime.exec() execute attacker-supplied commands in the broker's JVM context - converting a JMX configuration operation into full code execution.
Know when Activemq 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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
4DescriptionCVE.org
Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ.
Apache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on the web console. The default Jolokia access policy permits exec operations on all ActiveMQ MBeans (org.apache.activemq:*), including BrokerService.addNetworkConnector(String).
An authenticated attacker can invoke these operations with a crafted discovery URI that triggers the VM transport's brokerConfig parameter using the "masterslave:// " URL which can allow loading a Spring XML application context using ResourceXmlApplicationContext. Because Spring's ResourceXmlApplicationContext instantiates all singleton beans before the BrokerService validates the configuration, arbitrary code execution occurs on the broker's JVM through bean factory methods such as Runtime.exec(). This issue affects Apache ActiveMQ Broker: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ All: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ: before 5.19.7, from 6.0.0 before 6.2.6.
Users are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue.
Blast Radius
ecosystem impact- 6 maven packages depend on org.apache.activemq:activemq-all (3 direct, 3 indirect)
- 21 maven packages depend on org.apache.activemq:activemq-broker (14 direct, 7 indirect)
Ecosystem-wide dependent count for version 6.0.0 and other introduced versions.
Executive ViewAI
Apache ActiveMQ Classic versions 5.x (before 5.19.7) and 6.x (6.0.0 through 6.2.5) contain a critical remote code execution vulnerability in the Jolokia JMX-HTTP bridge exposed on the web console that allows authenticated users to execute arbitrary code directly on the broker process. Any organization running ActiveMQ with web console enabled and user authentication in place is at risk of broker compromise, potentially exposing sensitive transaction data in transit and enabling unauthorized system access. Immediate patching is essential to protect this foundational messaging infrastructure from privileged threat actors.
Apply vendor patch.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
XStream before version 1.4.14 is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker to ru
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.1), this vulnerabi
Directory traversal vulnerability in the fileserver upload/download functionality for blob messages in Apache ActiveMQ 5
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.9), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 7.5), this vulnerability
Apache ActiveMQ 5.x before 5.13.0 does not restrict the classes that can be serialized in the broker, which allows remot
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.1), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 8.6), this vulnerability
XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 7.5), this vulnerability
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi
EUVD-2026-33577
GHSA-hg6c-8mvr-jqc9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB