{"id":"CVE-2026-45505","aliases":["CVE-2026-45505","GHSA-v853-w46p-fv2h","BIT-ACTIVEMQ-2026-45505"],"related":[],"kind":"vulnerability","state":"published","title":"Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Jolokia `addNetworkConnector` Discovery Wrapper Bypass","summary":"Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ.\n\n\nNon-parenthesized discovery wrappers such as `masterslave:vm://...,...`\nand `static:vm://...` incorrectly pass validation allowing bypass of fix in CVE-2026-34197. \n\nOriginal description from CVE-2026-34197.\n\nApache 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(). \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\n\nNon-parenthesized discovery wrappers such as `masterslave:vm://...,...`\nand `static:vm://...` incorrectly pass validation allowing bypass of fix in CVE-2026-34197. \n\nOriginal description from CVE-2026-34197.\n\nApache 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(). \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, Control incorrecto de la generación de código ('Inyección de Código') vulnerabilidad en Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ.\n\nLos 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.\n\nDescripción original de CVE-2026-34197.\n\nApache 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().\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, que corrige el problema.","source":"nvd"}],"published":"2026-06-01T07:22:32.247Z","modified":"2026-09-10T03:50:50.923Z","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:H","score":8.8,"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:H","score":8.8,"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:H","score":8.8,"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://nvd.nist.gov/vuln/detail/CVE-2026-34197","tags":["advisory","mailing-list","related","third-party-advisory"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.apache.org/thread/7n97nddyw96w6ykldjv1h40jx86xdo0w","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45505","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/activemq","tags":["package"],"sources":["ghsa"]}],"credits":["lokerxx"],"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-45505","url":"https://www.cve.org/CVERecord?id=CVE-2026-45505","licence":"CVE Terms of Use","modified":"2026-06-02T03:55:45.446Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v853-w46p-fv2h","url":"https://github.com/advisories/GHSA-v853-w46p-fv2h","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:50.923Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45505","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45505","licence":"Public domain","modified":"2026-07-21T19:10:00.107Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ACTIVEMQ-2026-45505","url":"https://osv.dev/vulnerability/BIT-ACTIVEMQ-2026-45505","licence":"Apache-2.0","modified":"2026-09-08T08:45:11.522Z"}],"updatedAt":"2026-11-25T22:59:23.434Z","epss":{"score":0.006,"percentile":0.50063,"date":"2026-12-01T12:00:22.000Z"}}