CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-34197

KEV High · CVSS 8.8

Apache ActiveMQ — Authenticated RCE via Jolokia JMX-HTTP bridge — Code Injection through Spring XML remote application context loading (CWE-20, CWE-94, CWE-78)

CVSS
8.8
nvd
EPSS
97.2%
100th pct
KEV
Listed
2026-04-16
Class
oss containerizable
CWE-20, CWE-94, CWE-78

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

Search profile — drives PoC discovery

Symbols BrokerService.addNetworkConnectorBrokerService.addConnectorResourceXmlApplicationContextbrokerConfig/api/jolokia/org.apache.activemq:*VM transportexec operationsRuntime.execJolokia access policyJMX-HTTP bridgediscovery URIbean factory methods
Keywords CVE-2026-34197Apache ActiveMQ Jolokia RCEActiveMQ BrokerService addConnector exploitActiveMQ addNetworkConnector RCEActiveMQ ResourceXmlApplicationContext code injectionActiveMQ brokerConfig remote Spring XMLActiveMQ Jolokia JMX bridge PoCActiveMQ 5.19.4 RCEActiveMQ 6.2.3 vulnerability exploitActiveMQ VM transport brokerConfig exploitActiveMQ authenticated RCE proof of concept
Versions: Apache ActiveMQ Classic: before 5.19.4; from 6.0.0 before 6.2.3

Ranked PoCs (14) — best first

Heuristic ranking — not yet expert-vetted. Scored on structure + provenance, not execution.

Recall-favoring discovery; ranking by the Stage-4 scorer (Adam's rubric). Scanner/aggregator repos are hidden.

Affected packages

Bitnami activemq 0 → 5.19.4
Bitnami activemq 6.0.0 → 6.2.3
Maven org.apache.activemq:activemq-all 0 → 5.19.5
Maven org.apache.activemq:activemq-all 6.0.0 → 6.2.3
Maven org.apache.activemq:activemq-broker 0 → 5.19.5
Maven org.apache.activemq:activemq-broker 6.0.0 → 6.2.3

References

Status: enriched · ingested 2026-06-30T06:00:22.000Z · profiled 2026-07-01T06:30:14.000Z