Code Injection in ActiveMQ - CVE-2026-40466

 

Code Injection in ActiveMQ - CVE-2026-40466

Published: April 28, 2026


Vulnerability identifier: #VU128312
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-40466
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
ActiveMQ
Software vendor:
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.


Remediation

Install security update from vendor's website.

External links