Exploit database

Vulnerability

CVE-2026-34197

Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Authenticated users could perform RCE via Jolokia MBeans

Vulnerability details

Score
8.8
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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

CVE Program

Exploit source choices

11 sources
Apache ActiveMQ RCE via Jolokia addNetworkConnector
MSF-multi--http--apache_activemq_jolokia_rceMetasploitLinux,Unix,Windows / remotePreferred

Apache ActiveMQ exposes a Jolokia JMX-over-HTTP API at /api/jolokia/. An authenticated attacker can invoke the addNetworkConnector() MBean operation with a crafted URI that causes the broker to fetch a remote Spring XML configuration over HTTP. The Spring XML instantiates a ProcessBuilder bean that executes attacker-supplied OS commands. Default credentials (admin:admin) are accepted by many installations. Verified on docker image

2026-04-29apache_activemq_jolokia_rce.rb
catherines77/activemq-exptools
GH-aa3a54c265b59456a0c08c414fc9cda4GitHubUnofficial GitHub source

Apache ActiveMQ漏洞综合利用工具(CVE-2015-5254,CVE-2016-3088,CVE-2022-41678,CVE-2023-46604,CVE-2024-32114,CVE-2026-34197,CVE-2026-40466, CVE-2026-42588)

2026-04-2028 files · 86 stars
dinosn/apache-activemq-rce-research
GH-b165db19c030646bdbb5ceb18111815bGitHubUnofficial GitHub source

Apache ActiveMQ Classic RCE research: CVE-2026-34197 / CVE-2026-42588 bypass chain + hardened-6.2.6 audit findings + Crowdfense comparison

2026-07-0425 files · 9 stars
dinosn/cve-2026-34197
GH-222c1ccbc0ac25401ba4fc13712bba13GitHubUnofficial GitHub source

CVE-2026-34197 activemq PoC

2026-04-083 files · 8 stars
devsecurityspro/cve-2026-34197
GH-b3bf4ec48bd449323b630c825cd38c4dGitHubUnofficial GitHub source

CVE-2026-34197 - Apache ActiveMQ RCE via Jolokia Endpoint PoC

2026-04-085 files · 4 stars
k3ystr0k3r/cve-2026-34197
GH-eab85e341d7d83ebd03d0350d66e1286GitHubUnofficial GitHub source

CVE-2026-34197 - Apache ActiveMQ Jolokia Remote Code Execution (RCE)

2026-07-162 files · 3 stars
keraattin/cve-2026-34197
GH-8dff42f8b98b87366ee3673ab485ee53GitHubUnofficial GitHub source

CVE-2026-34197: Apache ActiveMQ Classic RCE via Jolokia API (CVSS 8.8). Python & Nmap NSE detection scripts. A 13-year-old vulnerability allows remote code execution through the addNetworkConnector MBean operation. Unauthenticated on versions 6.0.0 to 6.1.1. Fixed in 5.19.4 and 6.2.3.

2026-04-143 files · 2 stars
prodevcorp/cve-2026-34197
GH-39d63461e4b01aec2e65a103dbea8ff2GitHubUnofficial GitHub source

CVE-2026-34197 — Apache ActiveMQ RCE via Jolokia API | PoC Exploit

2026-04-099 files · 2 stars
asdasddqwdq29-a11y/cve-2026-34197
GH-2251e5d165afb731c88075c546c04ae7GitHubUnofficial GitHub source

Apache ActiveMQ RCE via Jolokia vulnerability analysis and reproduction notes

2026-06-067 files · 0 stars