Skip to main content
EPSS 98.3%top 0.09%

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

0
High
VulnerabilityCVE-2026-34197cvecve-2026-34197cwe-20cwe-94gcvecwe-78
Published: 04/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

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Apache Software Foundation

Apache ActiveMQ Broker

Affected versions
>=0 <5.19.4>=6.0.0 <6.2.3

Apache Software Foundation

Apache ActiveMQ All

Affected versions
>=0 <5.19.4>=6.0.0 <6.2.3

Apache Software Foundation

Apache ActiveMQ

Affected versions
>=0 <5.19.4>=6.0.0 <6.2.3
org.apache.activemq/activemq-broker
pkg:maven/org.apache.activemq/activemq-broker
Affected versions
<5.19.4>=6.0.0 <6.2.3=6.0.0
Apache Software Foundation/org.apache.activemq:activemq-broker
pkg:maven/Apache Software Foundation/org.apache.activemq:activemq-broker
Affected versions
>=0 <5.19.4>=6.0.0 <6.2.3
Apache Software Foundation/org.apache.activemq:activemq-all
pkg:maven/Apache Software Foundation/org.apache.activemq:activemq-all
Affected versions
>=0 <5.19.4>=6.0.0 <6.2.3
Apache Software Foundation/org.apache.activemq:apache-activemq
pkg:maven/Apache Software Foundation/org.apache.activemq:apache-activemq
Affected versions
>=0 <5.19.4>=6.0.0 <6.2.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/17/2026, 13:17:20 UTC

Technical Analysis

Apache ActiveMQ Broker exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on the web console, with a default access policy allowing exec operations on all ActiveMQ MBeans. An authenticated attacker can exploit this by sending a specially crafted discovery URI that triggers the VM transport's brokerConfig parameter to load a remote Spring XML application context using ResourceXmlApplicationContext. Because Spring instantiates all singleton beans before BrokerService validates the configuration, this leads to arbitrary code execution on the broker's JVM through bean factory methods such as Runtime.exec(). This vulnerability affects Apache ActiveMQ Broker versions before 5.19.4 and from 6.0.0 before 6.2.3. The issue is fixed in versions 5.19.4 and 6.2.3. Red Hat advisories confirm that their products are unaffected as the vulnerable components are not included in shipped products.

Potential Impact

An authenticated attacker can achieve remote code execution on the Apache ActiveMQ Broker's JVM by exploiting this vulnerability. This allows execution of arbitrary operating system commands, potentially leading to full compromise of the broker, including confidentiality, integrity, and availability impacts. The attacker can bypass configuration validation and load malicious remote Spring XML contexts, resulting in unauthorized code execution. Red Hat notes that their products are unaffected due to exclusion of the vulnerable components in shipped products.

Mitigation Recommendations

Users should upgrade Apache ActiveMQ Broker to version 5.19.4 or 6.2.3, which contain fixes for this vulnerability. Red Hat products are not affected as the vulnerable components are not included in their shipped products, so no action is required for Red Hat users. No other mitigations are currently available or meet Red Hat's criteria for ease of use and applicability.

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
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-34197","vendor":"Red Hat"}]

Threat ID: 69d4bd49aaed68159afc7f6d

Added to database: 04/07/2026, 08:16:09 UTC

Last enriched: 08/17/2026, 13:17:20 UTC

Last updated: 09/14/2026, 10:01:30 UTC

Views: 653

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