CVE-2026-45505
JSON

8.8high

Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Jolokia `addNetworkConnector` Discovery Wrapper Bypass

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.60% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-v853-w46p-fv2hBIT-ACTIVEMQ-2026-45505

Description

Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ. Non-parenthesized discovery wrappers such as `masterslave:vm://...,...` and `static:vm://...` incorrectly pass validation allowing bypass of fix in CVE-2026-34197.  Original description from CVE-2026-34197. Apache ActiveMQ 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 UR 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.7, from 6.0.0 before 6.2.6; Apache ActiveMQ All: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ: before 5.19.7, from 6.0.0 before 6.2.6. Users are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue.

Affected

Product or packageVersionsReported by
org.apache.activemq:activemq-brokerbefore 5.19.7, from 6.0.0 before 6.2.6CVE List
org.apache.activemq:activemq-allbefore 5.19.7, from 6.0.0 before 6.2.6CVE List
org.apache.activemq:apache-activemqbefore 5.19.7, from 6.0.0 before 6.2.6CVE List
org.apache.activemq:activemq-broker (Maven)before 5.19.7, from 6.0.0 before 6.2.6GitHub Advisory Database
org.apache.activemq:activemq-all (Maven)before 5.19.7, from 6.0.0 before 6.2.6GitHub Advisory Database
org.apache.activemq:apache-activemq (Maven)before 5.19.7, from 6.0.0 before 6.2.6GitHub Advisory Database
apache activemqbefore 5.19.7, from 6.0.0 before 6.2.6NVD
apache activemq_brokerbefore 5.19.7, from 6.0.0 before 6.2.6NVD
activemq (Bitnami)before 5.19.7, from 6.0.0 before 6.2.6Bitnami Vulnerability Database

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-20CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ. Non-parenthesized discovery wrappers such as `masterslave:vm://...,...` and `static:vm://...` incorrectly pass validation allowing bypass of fix in CVE-2026-34197.  Original description from CVE-2026-34197. Apache ActiveMQ 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 UR 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.7, from 6.0.0 before 6.2.6; Apache ActiveMQ All: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ: before 5.19.7, from 6.0.0 before 6.2.6. Users are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue.

NVD (es)

Validación de entrada incorrecta, Control incorrecto de la generación de código ('Inyección de Código') vulnerabilidad en Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ. Los envoltorios de descubrimiento sin paréntesis, como 'masterslave:vm://...,...' y 'static:vm://...', pasan incorrectamente la validación, lo que permite eludir la corrección en CVE-2026-34197. Descripción original de CVE-2026-34197. Apache ActiveMQ 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 Spring XML 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.7, desde 6.0.0 anterior a 6.2.6; Apache ActiveMQ All: anterior a 5.19.7, desde 6.0.0 anterior a 6.2.6; Apache ActiveMQ: anterior a 5.19.7, desde 6.0.0 anterior a 6.2.6. Se recomienda a los usuarios actualizar a la versión 5.19.7 o 6.2.6, que corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-45505 changed 2026-06-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-v853-w46p-fv2h changed 2026-09-10CC-BY-4.0
NVDCVE-2026-45505 changed 2026-07-21Public domain
Bitnami Vulnerability DatabaseBIT-ACTIVEMQ-2026-45505 changed 2026-09-08Apache-2.0