Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain ActiveMQ console credentials
-
DeliveryReach /api/jolokia/ JMX-HTTP bridge
-
ExploitInvoke addNetworkConnector with masterslave:vm:// or static:vm:// wrapper
-
InstallBypass CVE-2026-34197 validation
-
C2Broker fetches attacker-hosted Spring XML
-
ExecuteResourceXmlApplicationContext instantiates malicious bean
-
ImpactExecute arbitrary code as broker JVM user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Attacker must have valid authentication credentials to the ActiveMQ web console / Jolokia endpoint (CVSS PR:L), and the Jolokia JMX-HTTP bridge at /api/jolokia/ must be reachable from the attacker - this is enabled by default on the ActiveMQ web console. The default Jolokia access policy must still permit exec operations on org.apache.activemq:* MBeans (the shipped default); environments that hardened jolokia-access.xml to deny exec on BrokerService are not exploitable. The broker host must also be able to make outbound HTTP(S) requests to fetch the attacker-hosted Spring XML payload, so strict egress filtering breaks the chain. Limiting factors: low-privilege authentication required (rules out fully unauthenticated internet drive-by), exploitation depends on the default Jolokia policy being unchanged, and only versions before 5.19.7 or 6.0.0-6.2.5 are affected. |
| Impact | Signals are mixed. CVSS 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) indicates a network-reachable, low-complexity attack requiring only low privileges, with full CIA impact - consistent with authenticated RCE. EPSS is very low at 0.06% (19th percentile), and the vulnerability is not on the CISA KEV list, suggesting no observed mass exploitation yet. However, two factors elevate real-world risk above what EPSS suggests: (1) this is a patch bypass of CVE-2026-34197, meaning attackers already have the original exploit research and only need to swap the wrapper syntax; and (2) ActiveMQ RCE chains have historically attracted ransomware operators (e.g., the CVE-2023-46604 wave). The PR:L requirement is the main mitigating factor - exploitation requires valid Jolokia/JMX credentials, but ActiveMQ deployments with default or weak credentials and exposed web consoles are common. Treat as high priority for any internet-exposed or multi-tenant broker; medium priority for hardened internal deployments. |
| Exploit ScenarioDerived | An attacker with valid (or default/weak) ActiveMQ console credentials sends an authenticated HTTP POST to /api/jolokia/ invoking BrokerService.addNetworkConnector with a crafted URI such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
Remote code execution in Apache ActiveMQ Broker, ActiveMQ All, and ActiveMQ (versions before 5.19.7 and 6.0.0 before 6.2.6) allows authenticated attackers to bypass the CVE-2026-34197 fix using non-parenthesized discovery wrappers such as masterslave:vm://... and static:vm://..., which incorrectly pass validation and trigger the VM transport's brokerConfig parameter to load a remote Spring XML application context. The flaw abuses the Jolokia JMX-HTTP bridge at /api/jolokia/ to invoke BrokerService.addNetworkConnector/addConnector MBean operations, resulting in arbitrary code execution on the broker JVM. EPSS is low at 0.06% (19th percentile) and no public exploit identified at time of analysis, but the patch bypass nature and prior in-the-wild interest in ActiveMQ RCE chains warrant urgent patching.
RemediationAI
Vendor-released patch: upgrade to Apache ActiveMQ 5.19.7 (for the 5.x line) or 6.2.6 (for the 6.x line) per the Apache announcement at https://lists.apache.org/thread/7n97nddyw96w6ykldjv1h40jx86xdo0w. Because this is a bypass of CVE-2026-34197, the earlier patch is insufficient and must be replaced. If immediate upgrade is not feasible, restrict access to the /api/jolokia/ endpoint on the web console via reverse-proxy ACLs or by disabling the Jolokia agent in jetty.xml (side effect: breaks JMX-over-HTTP monitoring and any tooling depending on it); harden the Jolokia access policy (jolokia-access.xml) to deny exec operations on org.apache.activemq:type=Broker MBeans, particularly addNetworkConnector and addConnector (side effect: prevents legitimate dynamic connector management); rotate and strengthen ActiveMQ console/JMX credentials to eliminate weak or default authentication; and ensure the web console is not exposed to untrusted networks. Network egress filtering from broker hosts can also limit the attacker's ability to host the malicious Spring XML, but should not be relied on as primary control.
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 is a widely deployed open-source JMS message broker written in Java. The vulnerability sits at the intersection of three components: (1) the Jolokia JMX-HTTP bridge exposed at /api/jolokia/ on the web console, whose default access policy permits exec operations on all org.apache.activemq:* MBeans; (2) the VM transport's discovery URI parser, which accepts composite/wrapper schemes; and (3) Spring's ResourceXmlApplicationContext, which eagerly instantiates singleton beans (including ones invoking Runtime.exec via factory methods) before BrokerService validates the configuration. CVE-2026-34197 attempted to validate discovery URIs to block remote Spring XML loading, but the regex/parser did not account for non-parenthesized wrapper forms like masterslave:vm://a,b and static:vm://a, which slip through validation while still resolving to an attacker-controlled brokerConfig. The root cause class is CWE-20 (Improper Input Validation) compounded by CWE-94 (Code Injection) via unsafe Spring XML bean instantiation.
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:H
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.
Non-parenthesized discovery wrappers such as masterslave:vm://...,... and static:vm://... incorrectly pass validation allowing bypass of fix in CVE-2026-34197.
Original description from CVE-2026-34197.
Apache ActiveMQ 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) and BrokerService.addConnector(String). An authenticated attacker can invoke these operations with a crafted discovery UR that triggers the VM transport's brokerConfig parameter to load a remote 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.
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-33576
GHSA-v853-w46p-fv2h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB