Code Injection in ActiveMQ - CVE-2026-40466
Published: April 28, 2026
ActiveMQ
Apache Foundation
Description
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper input validation and code injection in BrokerView.addNetworkConnector and BrokerView.addConnector through Jolokia when adding a connector using an HTTP discovery transport. A remote user can add a connector that causes a malicious HTTP endpoint to return a VM transport and load a remote Spring XML application context to execute arbitrary code.
Exploitation requires the activemq-http module to be on the classpath.