CVE-2026-34197: CWE-20 Improper Input Validation in Apache Software Foundation Apache ActiveMQ Broker
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
AI Analysis
Technical Summary
Apache ActiveMQ Broker versions prior to 5.19.4 and from 6.0.0 before 6.2.3 have an improper input validation vulnerability (CWE-20) that allows authenticated attackers to perform code injection (CWE-94) via the Jolokia JMX-HTTP bridge. The default Jolokia policy permits exec operations on all ActiveMQ MBeans, including BrokerService methods that accept discovery URIs. Crafted URIs can trigger the VM transport's brokerConfig parameter to load a remote Spring XML application context using ResourceXmlApplicationContext. Since Spring instantiates singleton beans before BrokerService validates the configuration, this leads to arbitrary code execution on the JVM through bean factory methods such as Runtime.exec(). The CVSS v3.1 score is 8.8 (High), reflecting network attack vector, low complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
An authenticated attacker can exploit this vulnerability to execute arbitrary code on the Apache ActiveMQ Broker JVM, potentially leading to full compromise of the broker service. This can result in unauthorized control over message broker operations, data exposure, and disruption of messaging services. The high CVSS score (8.8) indicates severe impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available by upgrading Apache ActiveMQ Broker to version 5.19.4 or 6.2.3, which addresses this vulnerability. Users should apply these updates promptly. No vendor advisory was provided to indicate alternative mitigations or temporary fixes. Patch status is confirmed by the recommendation to upgrade to these fixed versions.
CVE-2026-34197: CWE-20 Improper Input Validation in Apache Software Foundation Apache ActiveMQ Broker
Description
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
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Apache ActiveMQ Broker versions prior to 5.19.4 and from 6.0.0 before 6.2.3 have an improper input validation vulnerability (CWE-20) that allows authenticated attackers to perform code injection (CWE-94) via the Jolokia JMX-HTTP bridge. The default Jolokia policy permits exec operations on all ActiveMQ MBeans, including BrokerService methods that accept discovery URIs. Crafted URIs can trigger the VM transport's brokerConfig parameter to load a remote Spring XML application context using ResourceXmlApplicationContext. Since Spring instantiates singleton beans before BrokerService validates the configuration, this leads to arbitrary code execution on the JVM through bean factory methods such as Runtime.exec(). The CVSS v3.1 score is 8.8 (High), reflecting network attack vector, low complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
An authenticated attacker can exploit this vulnerability to execute arbitrary code on the Apache ActiveMQ Broker JVM, potentially leading to full compromise of the broker service. This can result in unauthorized control over message broker operations, data exposure, and disruption of messaging services. The high CVSS score (8.8) indicates severe impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available by upgrading Apache ActiveMQ Broker to version 5.19.4 or 6.2.3, which addresses this vulnerability. Users should apply these updates promptly. No vendor advisory was provided to indicate alternative mitigations or temporary fixes. Patch status is confirmed by the recommendation to upgrade to these fixed versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-03-26T14:51:21.456Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d4bd49aaed68159afc7f6d
Added to database: 4/7/2026, 8:16:09 AM
Last enriched: 5/22/2026, 3:03:33 PM
Last updated: 5/24/2026, 10:50:29 AM
Views: 564
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.