CVE-2026-34197
Published:April 07, 2026
Updated:April 20, 2026
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 All: before 5.19.4, from 6.0.0 before 6.2.3; Apache ActiveMQ: before 5.19.4, from 6.0.0 before 6.2.3.
Users are recommended to upgrade to version 5.19.4 or 6.2.3, which fixes the issue
Affected Packages
org.apache.activemq:activemq-broker (JAVA):
Affected version(s) >=6.0.0 <6.2.3Fix Suggestion:
Update to version 6.2.3org.apache.activemq:activemq-all (JAVA):
Affected version(s) >=4.1.2 <5.19.4Fix Suggestion:
Update to version 5.19.4org.apache.activemq:activemq-all (JAVA):
Affected version(s) >=4.1.2 <5.19.5Fix Suggestion:
Update to version 5.19.5org.apache.activemq:activemq-all (JAVA):
Affected version(s) >=6.0.0 <6.2.3Fix Suggestion:
Update to version 6.2.3org.apache.activemq:activemq-broker (JAVA):
Affected version(s) >=5.8.0 <5.19.5Fix Suggestion:
Update to version 5.19.5org.apache.activemq:activemq-broker (JAVA):
Affected version(s) >=5.8.0 <5.19.4Fix Suggestion:
Update to version 5.19.4Related ResourcesĀ (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
6.22