CVE DatabaseCVE-2026-34197
한국어 권고문 →
CVE-2026-341978.8/HIGHCISA KEVCWE-20CWE-94CWE-78

Apache ActiveMQ Jolokia JMX-HTTP Bridge Remote Code Execution Vulnerability Advisory (CVE-2026-34197)

Affected Vendors
apache
Affected Components
activemq, activemq_classic
Published Date
2026-04-07

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Apache ActiveMQ Classic versions prior to 5.19.4, and 6.0.0 through 6.2.3

Impact

An authenticated attacker can execute arbitrary system commands within the broker's JVM by loading a malicious remote Spring XML configuration via the Jolokia JMX-HTTP bridge

Mitigation

Immediately upgrade Apache ActiveMQ to a patched version (5.19.4 or 6.2.3) and restrict Jolokia access policies

Affected Products & Version Scope

- Apache ActiveMQ Classic / All / Broker: - Versions prior to 5.19.4 - Versions 6.0.0 through 6.2.3

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Apply Official Security Patches

Upgrade your Apache ActiveMQ deployments to the designated secure releases:

  • For 5.19.x users: Upgrade to 5.19.4 or higher
  • For 6.x users: Upgrade to 6.2.3 or higher

2. Temporary Mitigations & Workarounds

If immediate patching is not feasible, implement the following defensive measures:

A. Restrict Jolokia Access Policy (jolokia-access.xml)

Modify the conf/jolokia-access.xml configuration file to restrict or disable exec operations:

xml
<!-- Example modification in conf/jolokia-access.xml -->
<strict-checking />
<commands>
    <command>read</command>
    <command>write</command>
    <!-- Remove or restrict <command>exec</command> -->
</commands>

B. Network Segmentation and Access Control

  • Block external access to the Jolokia API endpoint (/api/jolokia/) using a web application firewall (WAF) or reverse proxy.
  • Restrict access to the ActiveMQ Web Console to trusted administrative IP ranges only.
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
Due to active exploitation in the wild, immediately upgrade your Apache ActiveMQ instances to version 5.19.4 or 6.2.3.

Block Exploits Instantly with Managed Virtual Patching Rules

Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.

3-min setup · Automated Zero-Day Managed Rules
Practice Exploiting & Patching This Web Vulnerability in an Interactive Lab
Launch Hands-On Security Lab

Technical Root Cause & Exploitation Mechanics

Vulnerability Overview & Root Cause

This vulnerability (CVE-2026-34197) stems from Improper Input Validation and Code Injection (CWE-94, CWE-20) within the Jolokia JMX-HTTP bridge (`/api/jolokia/`) exposed by default on the Apache ActiveMQ Classic web console.

By default, the Jolokia access policy permits exec operations on all ActiveMQ MBeans (org.apache.activemq:*). This exposure allows authenticated users to invoke sensitive management operations, specifically BrokerService.addNetworkConnector(String) and BrokerService.addConnector(String).

Exploit Mechanics

  • Authentication: The attacker authenticates to the ActiveMQ web console to access the Jolokia API.
  • MBean Invocation: The attacker sends a crafted HTTP request to Jolokia to invoke BrokerService.addNetworkConnector.
  • Spring XML Loading: The request includes a crafted discovery URI containing the VM transport's brokerConfig parameter. This parameter forces the application to load a remote Spring XML application context using ResourceXmlApplicationContext.
  • Arbitrary Code Execution: Because Spring's ResourceXmlApplicationContext instantiates all singleton beans before the BrokerService validates the configuration, any bean factory methods (such as Runtime.exec()) defined in the attacker's remote XML are executed immediately within the broker's JVM context.

Business Impact & Severity

With a CVSS score of 8.8 (High) and its inclusion in the CISA KEV catalog, this vulnerability poses an active and severe threat. Successful exploitation grants full system-level execution privileges under the ActiveMQ process, potentially leading to complete host compromise and lateral movement within the enterprise network.

Official Vendor Advisories & References

NVD Original English 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

SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed: