CVE-2026-41044

Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ, Apache ActiveMQ Broker, Apache ActiveMQ All. An authenticated attacker can use the admin web console page to construct a malicious broker name that bypasses name validation to include an xbean binding that can be later used by a VM transport to load a remote Spring XML application. The attacker can then use the DestinationView mbean to send a message to trigger a VM transport creation that will reference this malicious broker name which can lead to loading the malicious Spring XML context file. 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: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ Broker: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ All: before 5.19.6, from 6.0.0 before 6.2.5. Users are recommended to upgrade to version 6.2.5 or 5.19.6, which fixes the issue.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:activemq_broker:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:activemq_broker:*:*:*:*:*:*:*:*

History

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Vulnerabilidad de validación de entrada incorrecta, control incorrecto de la generación de código (’Inyección de código’) en Apache ActiveMQ, Apache ActiveMQ Broker, Apache ActiveMQ All. Un atacante autenticado puede usar la página de la consola web de administración para construir un nombre de broker malicioso que omite la validación de nombre para incluir un enlace xbean que puede ser usado posteriormente por un transporte VM para cargar una aplicación Spring XML remota. El atacante puede entonces usar el mbean DestinationView para enviar un mensaje que active la creación de un transporte VM que hará referencia a este nombre de broker malicioso, lo que puede llevar a la carga del archivo de contexto Spring XML malicioso. Debido a que ResourceXmlApplicationContext de Spring instancia todos los beans singleton antes de que BrokerService valide la configuración, ocurre 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: antes de 5.19.6, desde 6.0.0 antes de 6.2.5; Apache ActiveMQ Broker: antes de 5.19.6, desde 6.0.0 antes de 6.2.5; Apache ActiveMQ All: antes de 5.19.6, desde 6.0.0 antes de 6.2.5. Se recomienda a los usuarios actualizar a la versión 6.2.5 o 5.19.6, que corrige el problema.

Information

Published : 2026-04-24 11:16

Updated : 2026-10-26 21:10


NVD link : CVE-2026-41044

Mitre link : CVE-2026-41044

CVE.ORG link : CVE-2026-41044


JSON object : View

Products Affected

apache

  • activemq
  • activemq_broker
CWE
CWE-20

Improper Input Validation

CWE-94

Improper Control of Generation of Code ('Code Injection')