Code Injection in ActiveMQ - CVE-2026-42588

 

Code Injection in ActiveMQ - CVE-2026-42588

Published: June 4, 2026


Vulnerability identifier: #VU133395
CSH Severity: Medium
CVSS v4.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-42588
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apache Foundation
Affected software:
ActiveMQ

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to code injection in the Jolokia JMX-HTTP bridge addNetworkConnector operation when processing a crafted discovery URI through /api/jolokia/. A remote user can invoke BrokerService.addNetworkConnector(String) with a crafted discovery URI to execute arbitrary code.

The issue involves loading a Spring XML application context via the VM transport's brokerConfig parameter using a "masterslave://" URL, and user interaction is not required.


How to mitigate CVE-2026-42588

Install security update from vendor's website.

Sources