8.8highExploited
Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Authenticated users could perform RCE via Jolokia MBeans
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 98.3% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-rxpj-7qvf-xv32BIT-ACTIVEMQ-2026-34197
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.activemq:activemq-broker | before 5.19.4, from 6.0.0 before 6.2.3 | CVE List |
| org.apache.activemq:activemq-all | before 5.19.4, from 6.0.0 before 6.2.3 | CVE List |
| org.apache.activemq:apache-activemq | before 5.19.4, from 6.0.0 before 6.2.3 | CVE List |
| activemq-broker | Not specified | CVE List |
| log4j:2/log4j | Not specified | CVE List |
| log4j | Not specified | CVE List |
| activemq-all | Not specified | CVE List |
| org.apache.activemq:activemq-broker (Maven) | before 5.19.5, from 6.0.0 before 6.2.3 | GitHub Advisory Database |
| org.apache.activemq:activemq-all (Maven) | before 5.19.5, from 6.0.0 before 6.2.3 | GitHub Advisory Database |
| apache activemq | before 5.19.4, from 6.0.0 before 6.2.3 | NVD, CISA KEV |
| apache activemq_broker | before 5.19.4, from 6.0.0 before 6.2.3 | NVD |
| activemq (Bitnami) | before 5.19.4, from 6.0.0 before 6.2.3 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| redhat-SADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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
GitHub Advisory Database
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: .
Users are recommended to upgrade to version 5.19.5 or 6.2.3, which fixes the issue.
NVD (es)
Validación de entrada incorrecta, vulnerabilidad de control incorrecto de la generación de código (’Inyección de Código’) en Apache ActiveMQ Broker, Apache ActiveMQ. Apache ActiveMQ Classic expone el puente Jolokia JMX-HTTP en /api/jolokia/ en la consola web. La política de acceso predeterminada de Jolokia permite operaciones exec en todos los MBeans de ActiveMQ (org.apache.activemq:*), incluyendo BrokerService.addNetworkConnector(String) y BrokerService.addConnector(String). Un atacante autenticado puede invocar estas operaciones con una URI de descubrimiento manipulada que activa el parámetro brokerConfig del transporte VM para cargar un contexto de aplicación XML de Spring remoto utilizando ResourceXmlApplicationContext. Debido a que ResourceXmlApplicationContext de Spring instancia todos los beans singleton antes de que BrokerService valide la configuración, se produce la ejecución de código arbitrario en la JVM del broker a través de métodos de fábrica de beans como Runtime.exec(). Este problema afecta a Apache ActiveMQ Broker: anterior a 5.19.4, desde 6.0.0 anterior a 6.2.3; Apache ActiveMQ: . Se recomienda a los usuarios actualizar a la versión 5.19.4 o 6.2.3, que corrige el problema.
CISA KEV
Apache ActiveMQ contains an improper input validation vulnerability that allows for code injection.
References
| https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt | advisory, kev, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2026/04/06/3 | advisory, mailing-list, third-party-advisory, web | |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-34197 | government-resource, us-government-resource, web | |
| https://access.redhat.com/security/cve/CVE-2026-34197 | advisory, third-party-advisory, vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2455869 | advisory, issue-tracking, third-party-advisory | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34197.json | advisory, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-34197 | advisory, kev, web | |
| https://github.com/apache/activemq | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34197 changed 2026-08-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rxpj-7qvf-xv32 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-34197 changed 2026-10-26 | Public domain |
| Bitnami Vulnerability Database | BIT-ACTIVEMQ-2026-34197 changed 2026-09-08 | Apache-2.0 |
| CISA KEV | CVE-2026-34197 changed 2026-04-16 | CC0-1.0 |