
CVE-2026-34197

Authenticated RCE via Jolokia MBeans → Remote Spring XML → JVM Code Execution
CVE-2026-34197 is a high-severity authenticated remote code execution vulnerability affecting Apache ActiveMQ Classic.
The issue exists in the Jolokia JMX-HTTP bridge exposed through:
/api/jolokia/
An authenticated attacker can abuse dangerous MBean methods such as:
BrokerService.addNetworkConnector(String)BrokerService.addConnector(String)By supplying a crafted discovery URI, the broker loads a remote Spring XML application context, which can instantiate malicious beans before validation occurs, leading to arbitrary code execution on the broker JVM.
The vulnerability is caused by:
graph TD
A[Authenticated User] --> B[/api/jolokia/]
B --> C[exec MBean method]
C --> D[addConnector / addNetworkConnector]
D --> E[Crafted discovery URI]
E --> F[Remote Spring XML Load]
F --> G[Bean Instantiation]
G --> H[Arbitrary JVM Code Execution]
Apache ActiveMQ < 5.19.4Apache ActiveMQ 6.0.0 - 6.2.2activemq-all in matching ranges5.19.56.2.3# Upgrade immediately
5.19.5+
6.2.3+
/api/jolokia/addConnector logsSearch logs for suspicious patterns:
/api/jolokia/exec
addNetworkConnector
addConnector
brokerConfig=
ResourceXmlApplicationContext
Runtime.exec
SELECT * FROM logs
WHERE path LIKE '%jolokia%'
AND (
message LIKE '%addConnector%'
OR message LIKE '%brokerConfig=%'
)
This bug is especially dangerous because ActiveMQ brokers are often:
That makes this a strong initial access and lateral movement vector.
#cve #activemq #rce #apache #jolokia #redteam #blueteam #threatdetection
Stay patched. Monitor Jolokia. Trust nothing.
| Metric | Value |
|---|
| Severity | High |
| CVSS v3.1 | 8.8 |
| Attack Vector | Network |
| Privileges | Low (Authenticated) |
| User Interaction | None |
| Impact | Full JVM compromise |