PT-2026-34865 · Apache+1 · Activemq+1

·

CVE-2026-40466

·

Published

2026-04-24

·

Updated

2026-07-21

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Apache ActiveMQ Broker versions prior to 5.19.6 Apache ActiveMQ Broker versions 6.0.0 through 6.2.4 Apache ActiveMQ All versions prior to 5.19.6 Apache ActiveMQ All versions 6.0.0 through 6.2.4 Apache ActiveMQ versions prior to 5.19.6 Apache ActiveMQ versions 6.0.0 through 6.2.4
Description Improper input validation and improper control of code generation allow an authenticated attacker to achieve remote code execution on the broker's JVM. If the activemq-http module is on the classpath, an attacker can use Jolokia to add a connector via BrokerView.addNetworkConnector() or BrokerView.addConnector() using an HTTP Discovery transport. A malicious HTTP endpoint can return a VM transport through the HTTP URI, bypassing existing validations. The attacker can then utilize the brokerConfig parameter of the VM transport to load a remote Spring XML application context via ResourceXmlApplicationContext. Since ResourceXmlApplicationContext instantiates all singleton beans before the BrokerService validates the configuration, arbitrary code can be executed through bean factory methods such as Runtime.exec().
Recommendations Upgrade Apache ActiveMQ Broker versions prior to 5.19.6 to version 5.19.6. Upgrade Apache ActiveMQ Broker versions 6.0.0 through 6.2.4 to version 6.2.5. Upgrade Apache ActiveMQ All versions prior to 5.19.6 to version 5.19.6. Upgrade Apache ActiveMQ All versions 6.0.0 through 6.2.4 to version 6.2.5. Upgrade Apache ActiveMQ versions prior to 5.19.6 to version 5.19.6. Upgrade Apache ActiveMQ versions 6.0.0 through 6.2.4 to version 6.2.5.

Exploit

Fix

RCE

DoS

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-ACTIVEMQ-2026-40466
CVE-2026-40466
GHSA-W3W2-MPP5-92GM
OESA-2026-2124
OESA-2026-2125
OESA-2026-2126
OESA-2026-2127

Affected Products

Activemq
Red Os