Apache ActiveMQ Broker, Apache ActiveMQ: Authenticated users could perform RCE via Jolokia MBeans
Title source: cnaExploitation Summary
CVE-2026-34197 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added April 16, 2026.
EIP tracks 16 public exploits from researchers including adminlove520, dinosn, hnytgl, including a Metasploit module exploits/multi/http/apache_activemq_jolokia_rce.
A Nuclei detection template is also available.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2026-34197, targeting Apache ActiveMQ via Jolokia MBean manipulation to achieve remote code execution (RCE). The exploit leverages a malicious Spring XML payload served over HTTP to execute arbitrary commands on the target system.
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
Exploits (16)
This repository contains a functional exploit for CVE-2026-34197, targeting Apache ActiveMQ via Jolokia MBean manipulation to achieve remote code execution (RCE). The exploit leverages a malicious Spring XML payload served over HTTP to execute arbitrary commands on the target system.
This repository contains a functional exploit for CVE-2026-34197, targeting Apache ActiveMQ via Jolokia MBean manipulation to achieve remote code execution (RCE). The exploit leverages a VM transport with a malicious Spring XML payload served over HTTP to execute arbitrary commands on the target system.
This repository contains a functional Python exploit for CVE-2026-34197, targeting Apache ActiveMQ Classic via Jolokia API to add a malicious NetworkConnector. It includes pre-exploitation checks, credential handling, and cleanup functionality.
This repository contains a Java-based tool for detecting and exploiting multiple Apache ActiveMQ vulnerabilities, including CVE-2026-34197. It includes functional exploit code for deserialization attacks and other vulnerabilities, with a GUI for ease of use.
This repository contains a functional exploit for CVE-2026-34197, targeting Apache ActiveMQ's Jolokia API to achieve remote code execution (RCE) via malicious Spring XML configuration. The exploit leverages the `addNetworkConnector` operation to force ActiveMQ to parse a crafted XML payload, executing system commands through `MethodInvokingFactoryBean`.
This repository contains functional exploit code for CVE-2026-34197, targeting Apache ActiveMQ via Jolokia API to achieve RCE. The exploit chain involves adding a malicious network connector that fetches a Spring XML payload, leading to command execution.
This repository contains a functional exploit for CVE-2026-34197, targeting Apache ActiveMQ via Jolokia MBean and VM Transport to achieve remote code execution. The exploit chain involves serving a malicious Spring XML payload and triggering its execution through a crafted Jolokia request.
This repository contains a functional proof-of-concept for CVE-2026-34197, demonstrating an RCE vulnerability in Apache ActiveMQ Classic via the Jolokia JMX-HTTP API. It includes a Docker lab with vulnerable and patched versions, a detection script, and a constrained RCE PoC that executes a fixed command.
This repository contains a Python script designed to detect Apache ActiveMQ instances vulnerable to CVE-2026-34197 by checking for exposed Jolokia API endpoints and version information. It does not include exploit code but provides detailed version checks and authentication testing.
This PoC exploits CVE-2026-34197 by leveraging Jolokia API to add a malicious network connector in Apache ActiveMQ, forcing the parsing of an external XML configuration to achieve RCE. The exploit targets versions 6.0.0-6.1.1 and includes cleanup steps to remove residual connectors.
This repository contains a functional exploit for CVE-2026-34197, a critical RCE vulnerability in Apache ActiveMQ via the Jolokia API. The exploit leverages the addNetworkConnector MBean method to trigger remote Spring XML injection, leading to arbitrary command execution.
This repository contains a functional exploit for CVE-2026-34197, targeting Apache ActiveMQ via the Jolokia API to achieve remote code execution (RCE). The exploit leverages the addNetworkConnector operation to force the broker to download and execute a malicious Spring XML configuration file.
This repository contains a functional exploit for CVE-2026-34197, an RCE vulnerability in Apache ActiveMQ Classic via the Jolokia API. The exploit leverages the `addNetworkConnector` MBean operation to force the broker to download and execute a malicious Spring XML configuration file, leading to arbitrary command execution.
This repository provides a detailed technical analysis of CVE-2026-34197, an authenticated RCE vulnerability in Apache ActiveMQ via Jolokia MBeans. It includes root cause analysis, affected versions, mitigation steps, and detection ideas.
This Metasploit module exploits CVE-2026-34197 in Apache ActiveMQ by leveraging the Jolokia JMX-over-HTTP API to add a malicious network connector. The connector fetches a remote Spring XML configuration that instantiates a ProcessBuilder bean, executing arbitrary OS commands.
Nuclei Templates (1)
title:"ActiveMQ" port:8161
title="ActiveMQ" && port="8161"
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H