PoC Monitor
← All CVEs
CVE-2026-42588published 1 Jun 2026 07:23 UTCData: JSON · API

Apache Software Foundation Apache ActiveMQ Broker

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by CISA ADP · CWE-20
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Apache Software Foundation Apache ActiveMQ Broker
  • < 5.19.7
  • >= 6.0.0, < 6.2.6

Fixed in 5.19.7, 6.2.6

Apache Software Foundation Apache ActiveMQ All
  • < 5.19.7
  • >= 6.0.0, < 6.2.6

Fixed in 5.19.7, 6.2.6

Apache Software Foundation Apache ActiveMQ
  • < 5.19.7
  • >= 6.0.0, < 6.2.6

Fixed in 5.19.7, 6.2.6

Mitigation

Upgrade Apache ActiveMQ Broker to 5.19.7 or 6.2.6 or later.

Upgrade Apache ActiveMQ All to 5.19.7 or 6.2.6 or later.

Upgrade Apache ActiveMQ to 5.19.7 or 6.2.6 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published1 Jun 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

1 pending · 2 informational · 1 not a PoC

Pending 1
RepositoryCreatedStarsAssessment
strivepan/ActiveMQ-cve-2026-42588-scanner-gui 4 Jun 2026 +3.4 d 10 Pending · mkdir /quarantine/strivepan__ActiveMQ-cve-2026-42588-scanner-gui-eab49c907645: permission denied
Informational 2
RepositoryCreatedStarsAssessment
Catherines77/ActiveMQ-EXPtools 20 Apr 2026 −42 d 86 Informational · list
dinosn/apache-activemq-rce-research 4 Jul 2026 +33 d 9 Informational · list
Not a PoC 1
RepositoryCreatedStarsAssessment
gentleman567/POC 18 Jun 2026 +17 d 0 Not a PoC · unrelated

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.