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.
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
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
| Link | Tags |
|---|---|
| https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt | Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2026/04/06/3 | Mailing ListThird Party Advisory |
| https://access.redhat.com/security/cve/CVE-2026-34197 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2455869 | Third Party Advisory |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34197.json | Third Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-34197 | US Government Resource |
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.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
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.