CVE-2026-42588

HIGH

Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Remote Code Execution via Jolokia addNetworkConnector

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-42588. PoCs published by strivepan.

AI-analyzed exploit summary The repository claims to be a GUI scanner/exploit for CVE-2026-42588 but lacks actual exploit code, instead providing vague instructions for VPS setup and DNSLog verification. No technical details about the vulnerability or exploit mechanics are included.

Description

Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ. Apache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on the web console. The default Jolokia access policy permits exec operations on all ActiveMQ MBeans (org.apache.activemq:*), including BrokerService.addNetworkConnector(String). An authenticated attacker can invoke these operations with a crafted discovery URI that triggers the VM transport's brokerConfig parameter using the "masterslave:// " URL which can allow loading a Spring XML application context using ResourceXmlApplicationContext. 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 Broker: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ All: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ: before 5.19.7, from 6.0.0 before 6.2.6. Users are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue.

Exploits (1)

github SUSPICIOUS 1 stars
by strivepan · poc
https://github.com/strivepan/ActiveMQ-cve-2026-42588-scanner-gui

The repository claims to be a GUI scanner/exploit for CVE-2026-42588 but lacks actual exploit code, instead providing vague instructions for VPS setup and DNSLog verification. No technical details about the vulnerability or exploit mechanics are included.

Classification
Suspicious 90%
Attack Type
Rce
Complexity
Theoretical
Reliability
Theoretical
Target: Apache ActiveMQ (5.x < 5.19.4, 6.0.0 ≤ 6.x < 6.2.3)
No auth needed
Prerequisites: VPS or DNSLog access
devstral-2 · analyzed Jun 04, 2026 Full analysis →

References (2)

Core 2

Scores

CVSS v3 8.1
EPSS 0.0006
EPSS Percentile 17.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-20 CWE-94
Status published
Products (8)
apache/activemq < 5.19.7
apache/activemq_broker < 5.19.7
Apache Software Foundation/Apache ActiveMQ < 5.19.7
Apache Software Foundation/Apache ActiveMQ 6.0.0 - 6.2.6
Apache Software Foundation/Apache ActiveMQ All < 5.19.7
Apache Software Foundation/Apache ActiveMQ All 6.0.0 - 6.2.6
Apache Software Foundation/Apache ActiveMQ Broker < 5.19.7
Apache Software Foundation/Apache ActiveMQ Broker 6.0.0 - 6.2.6
Published Jun 01, 2026
Tracked Since Jun 01, 2026