{"id":"CVE-2026-42588","aliases":["CVE-2026-42588","GHSA-hg6c-8mvr-jqc9","BIT-ACTIVEMQ-2026-42588"],"related":[],"kind":"vulnerability","state":"published","title":"Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Remote Code Execution via Jolokia addNetworkConnector","summary":"Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ.\n\nApache 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\nBrokerService.addNetworkConnector(String).\n\nAn authenticated attacker can invoke these operations with a crafted discovery URI that triggers the VM transport's brokerConfig parameter using the \"masterslave:// \" URL which can allow loading a Spring XML application context using ResourceXmlApplicationContext.\nBecause 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().\nThis 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.\n\nUsers are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ.\n\nApache 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\nBrokerService.addNetworkConnector(String).\n\nAn authenticated attacker can invoke these operations with a crafted discovery URI that triggers the VM transport's brokerConfig parameter using the \"masterslave:// \" URL which can allow loading a Spring XML application context using ResourceXmlApplicationContext.\nBecause 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().\nThis 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.\n\nUsers are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue.","source":"cvelist"},{"lang":"es","text":"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 All, Apache ActiveMQ.\n\nApache ActiveMQ Classic expone el puente JMX-HTTP de Jolokia 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).\n\nUn atacante autenticado puede invocar estas operaciones con una URI de descubrimiento manipulada que activa el parámetro brokerConfig del transporte VM utilizando la URL 'masterslave:// ' lo que puede permitir la carga de un contexto de aplicación Spring XML utilizando ResourceXmlApplicationContext.\nDebido 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().\nEste 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.\n\nSe recomienda a los usuarios actualizar a la versión 5.19.7 o 6.2.6, lo que soluciona el problema.","source":"nvd"}],"published":"2026-06-01T07:23:17.287Z","modified":"2026-09-10T03:50:50.043Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-20","CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"5.19.7","status":"affected"},{"type":"semver","introduced":"6.0.0","fixed":"6.2.6","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache ActiveMQ Broker","package":"org.apache.activemq:activemq-broker","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"5.19.7","status":"affected"},{"type":"semver","introduced":"6.0.0","fixed":"6.2.6","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache ActiveMQ All","package":"org.apache.activemq:activemq-all","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"5.19.7","status":"affected"},{"type":"semver","introduced":"6.0.0","fixed":"6.2.6","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache ActiveMQ","package":"org.apache.activemq:apache-activemq","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.19.7"}],"ecosystem":"Maven","package":"org.apache.activemq:activemq-broker","purl":"pkg:maven/org.apache.activemq/activemq-broker","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","fixed":"6.2.6"}],"ecosystem":"Maven","package":"org.apache.activemq:activemq-broker","purl":"pkg:maven/org.apache.activemq/activemq-broker","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.19.7"}],"ecosystem":"Maven","package":"org.apache.activemq:activemq-all","purl":"pkg:maven/org.apache.activemq/activemq-all","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","fixed":"6.2.6"}],"ecosystem":"Maven","package":"org.apache.activemq:activemq-all","purl":"pkg:maven/org.apache.activemq/activemq-all","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.19.7"}],"ecosystem":"Maven","package":"org.apache.activemq:apache-activemq","purl":"pkg:maven/org.apache.activemq/apache-activemq","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","fixed":"6.2.6"}],"ecosystem":"Maven","package":"org.apache.activemq:apache-activemq","purl":"pkg:maven/org.apache.activemq/apache-activemq","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.19.7"},{"status":"affected","introduced":"6.0.0","fixed":"6.2.6"}],"vendor":"apache","product":"activemq","cpe":"cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"5.19.7"},{"status":"affected","introduced":"6.0.0","fixed":"6.2.6"}],"vendor":"apache","product":"activemq_broker","cpe":"cpe:2.3:a:apache:activemq_broker:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.19.7"},{"type":"semver","introduced":"6.0.0","status":"affected","fixed":"6.2.6"}],"ecosystem":"Bitnami","package":"activemq","purl":"pkg:bitnami/activemq","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/ns0zktfo16s9ql2mmtqtlb6p6xcs45xm","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/31/18","tags":["advisory","mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42588","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/activemq","tags":["package"],"sources":["ghsa"]}],"credits":["pyn3rd","uname","4ra1n"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-01T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42588","url":"https://www.cve.org/CVERecord?id=CVE-2026-42588","licence":"CVE Terms of Use","modified":"2026-06-02T03:55:44.029Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hg6c-8mvr-jqc9","url":"https://github.com/advisories/GHSA-hg6c-8mvr-jqc9","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:50.043Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42588","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42588","licence":"Public domain","modified":"2026-07-22T07:10:00.107Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ACTIVEMQ-2026-42588","url":"https://osv.dev/vulnerability/BIT-ACTIVEMQ-2026-42588","licence":"Apache-2.0","modified":"2026-09-08T08:45:07.710Z"}],"updatedAt":"2026-11-25T22:59:23.432Z","epss":{"score":0.0074,"percentile":0.55833,"date":"2026-12-01T12:00:22.000Z"}}