Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-34197: CWE-20 Improper Input Validation in Apache Software Foundation Apache ActiveMQ Broker

0
High
VulnerabilityCVE-2026-34197cvecve-2026-34197cwe-20cwe-94
Published: Tue Apr 07 2026 (04/07/2026, 07:50:10 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

AILast updated: 04/07/2026, 08:31:08 UTC

Technical Analysis

Apache ActiveMQ Broker exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ with a default access policy permitting exec operations on all ActiveMQ MBeans, including BrokerService methods that add connectors. An authenticated attacker can craft a discovery URI that causes the VM transport's brokerConfig parameter to load a remote Spring XML application context via ResourceXmlApplicationContext. Because Spring instantiates all singleton beans before BrokerService validates the configuration, this leads to arbitrary code execution on the JVM through bean factory methods such as Runtime.exec(). This vulnerability affects Apache ActiveMQ Broker versions prior to 5.19.5 and 6.2.3. Users are advised to upgrade to these fixed versions.

Potential Impact

An authenticated attacker can achieve arbitrary code execution on the Apache ActiveMQ Broker JVM by exploiting improper input validation in the Jolokia JMX-HTTP bridge. This can lead to full compromise of the broker process, potentially allowing control over messaging infrastructure and execution of malicious code within the broker environment.

Mitigation Recommendations

Users should upgrade Apache ActiveMQ Broker to version 5.19.5 or 6.2.3, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated in the advisory. Patch status is confirmed by the vendor's recommendation to upgrade to these versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 4/7/2026, 8:31:08 AM

Last updated: 4/9/2026, 7:17:11 AM

Views: 27

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses