← Vulnerability feed

Vulnerability record · CVE-2026-34197 · published 7 April 2026

CVE-2026-34197: Apache ActiveMQ Jolokia JMX bridge code injection via broker config URI

Apache · Activemq

Apache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ with a default policy that allows exec operations on all org.apache.activemq:* MBeans, including BrokerService.addNetworkConnector and addConnector. An authenticated attacker can pass a crafted discovery URI whose VM transport brokerConfig parameter loads a remote Spring XML context, and because ResourceXmlApplicationContext instantiates singleton beans before BrokerService validates the configuration, arbitrary code runs in the broker JVM. This matters because it turns a routine management interface into remote code execution on the broker host.

8.8 CVSS 3.1 High CISA KEV since 16 Apr 2026 EPSS 15% · top 3.3% CWE-20 · Improper input validationCWE-94 · Code injection
8.8CVSS 3.1 base score
15%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
2Affected product versions listed by NVD
6References
4 Aug 2026Last modified by NVD

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

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

critical priorityThe flaw yields authenticated remote code execution on the broker, is listed in CISA KEV with a near-certain EPSS score, and has a published vendor fix.

What it is

Apache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ with a default policy that allows exec operations on all org.apache.activemq:* MBeans, including BrokerService.addNetworkConnector and addConnector. An authenticated attacker can pass a crafted discovery URI whose VM transport brokerConfig parameter loads a remote Spring XML context, and because ResourceXmlApplicationContext instantiates singleton beans before BrokerService validates the configuration, arbitrary code runs in the broker JVM. This matters because it turns a routine management interface into remote code execution on the broker host.

Impact

An attacker with valid credentials gains arbitrary code execution in the broker's JVM, allowing full compromise of the broker process and, depending on its privileges, the underlying host. Confidentiality, integrity and availability are all rated high in the CVSS vector.

Attack surface

Reached over the network through the web console's Jolokia endpoint at /api/jolokia/; the CVSS vector (AV:N/PR:L/UI:N) indicates a low-privileged authenticated attacker is required and no user interaction is needed. The flaw is in the default Jolokia access policy combined with the VM transport's brokerConfig handling.

Exploitation

CVE-2026-34197 was added to CISA KEV on 2026-04-16 with a remediation due date of 2026-04-30, and EPSS gives a 30-day probability of 0.98256 (99.9th percentile), indicating active exploitation is expected or observed. No ransomware campaign use is recorded in the KEV entry.

What to do

  • Upgrade Apache ActiveMQ to 5.19.4 or 6.2.3, which the vendor states fixes the issue.
  • If immediate upgrade is not possible, restrict or disable the Jolokia JMX-HTTP bridge on the web console and tighten its access policy so exec operations on org.apache.activemq:* MBeans are denied.
  • Restrict network access to the ActiveMQ web console and Jolokia endpoint to trusted management hosts only.
  • Audit and rotate credentials for accounts that can reach the web console, and remove unused or default accounts.
  • Monitor for outbound connections from brokers to unexpected hosts, since the exploit loads a remote Spring XML context.

Detection

  • Review broker and web console logs for requests to /api/jolokia/ invoking exec on BrokerService.addNetworkConnector or BrokerService.addConnector.
  • Alert on discovery URIs containing brokerConfig parameters or references to remote Spring XML resources in broker configuration and logs.
  • Monitor broker JVM processes for unexpected child processes or outbound network connections consistent with remote context loading.
  • Track ActiveMQ versions in inventory against the fixed releases 5.19.4 and 6.2.3 to find unpatched instances.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2026-34197 to the Known Exploited Vulnerabilities catalog on 16 April 2026 as "Apache ActiveMQ Improper Input Validation Vulnerability". Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. Federal deadline 30 April 2026.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-34197 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed9.8CVE-2016-3088Apache ActiveMQ Fileserver unrestricted file upload to RCEThe Fileserver web application in Apache ActiveMQ 5.x before 5.14.0 accepts HTTP PUT uploads and HTTP MOVE requests without adequate validation, lett…KEVEPSS 99%analysed9.9CVE-2021-21345XStream deserialization allows remote command executionXStream before 1.4.16 deserializes untrusted XML without adequate type restrictions, allowing code injection and OS command execution. The flaw is a …EPSS 72%analysed9.8CVE-2021-21347Netapp oncommand insight unrestricted file upload vulnerabilityXStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a re…EPSS 14%9.8CVE-2021-21350Netapp oncommand insight unrestricted file upload vulnerabilityXStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a re…EPSS 15%9.8CVE-2021-21344XStream deserialization allows remote code executionXStream before 1.4.16 deserializes untrusted XML without adequate type restrictions, letting a remote attacker craft a stream that loads and executes…EPSS 76%analysed9.8CVE-2021-21346XStream deserialization allows remote code executionXStream before 1.4.16 deserializes untrusted XML without adequate type restrictions, letting a remote attacker load and execute arbitrary code by man…EPSS 76%analysed9.8CVE-2020-11998Apache ActiveMQ JMX re-bind regression allows remote code executionA regression in the commit that prevents JMX re-binding causes RMIConnectorServer to receive an empty environment map instead of one containing authe…EPSS 51%analysed

Source: NIST National Vulnerability Database (record CVE-2026-34197), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.