Uptycs Threat Bulletins | Cloud Security Insights for Linux and Containers

CVE-2026-34197: Remote code execution in Apache ActiveMQ Classic via Jolokia

Written by Uptycs Threat Research | Apr 8, 2026, 4:00:00 PM

Severity: Critical · Exploitation: No known exploitation · Fix available: Yes

Summary

CVE-2026-34197 is a critical remote code execution vulnerability in Apache ActiveMQ Classic, discovered by Horizon3.ai. It chains several legitimate features — the Jolokia JMX-HTTP bridge exposed through the web console and the broker's network connector management — into arbitrary code execution on the broker host. Authenticated users can exploit it, and so can unauthenticated users on versions also affected by CVE-2024-32114. Apache has released fixed versions.

Technical details

The ActiveMQ web console exposes Jolokia at /api/jolokia/, which lets users call JMX MBean operations over a REST-like API, and the default Jolokia configuration was overly permissive. The addNetworkConnector operation of the BrokerService MBean accepts a URI, and a crafted URI using the xbean: protocol makes ActiveMQ load a remote Spring XML configuration. Spring then instantiates the beans defined in that file, which an attacker can use to run arbitrary code inside the broker's JVM. The underlying mechanisms have existed for more than a decade, and default credentials (admin:admin) or exposure to CVE-2024-32114 make the path trivial.

Affected products

  • Apache ActiveMQ Classic 5.x before 5.19.4 — fixed in 5.19.4 (the advisory also references 5.19.5)
  • Apache ActiveMQ Classic 6.x before 6.2.3 — fixed in 6.2.3

Impact

  • Full host compromise. Arbitrary code runs with the privileges of the ActiveMQ JVM.
  • Message tampering and data theft. Attackers can read and alter queued messages and broker configuration.
  • Easy access on weak setups. Default credentials or CVE-2024-32114 remove the authentication barrier.
  • Pivot point. Brokers sit in the middle of application traffic and can be used to reach other systems.

Exploitation status

No in-the-wild exploitation was reported at the time of writing. The attack chain is public and simple on systems with default credentials, so exposed brokers should be patched first.

Recommended actions

  1. Upgrade to ActiveMQ Classic 5.19.4 or later (5.19.5 is referenced) or 6.2.3 or later; the fix stops addNetworkConnector from instantiating vm:// transports, breaking the chain.
  2. Block /api/jolokia/ from public access with network ACLs.
  3. Change default credentials on the web console and Jolokia.
  4. Monitor for POST requests to Jolokia that contain addNetworkConnector and for unexpected outbound connections from the broker.

How Uptycs helps

Uptycs vulnerability management identifies hosts, containers and cloud workloads running affected versions so teams can prioritize patching. Uptycs Threat Research continues to monitor this vulnerability and will update this bulletin if exploitation activity changes.

References