# CVE-2026-42588: Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Remote Code Execution via Jolokia addNetworkConnector

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Published: 2026-06-01T07:23:17.287Z
- Modified: 2026-09-10T03:50:50.043Z
- Also known as: GHSA-hg6c-8mvr-jqc9, BIT-ACTIVEMQ-2026-42588
- Weaknesses: CWE-20, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- org.apache.activemq:activemq-broker: before 5.19.7; from 6.0.0 before 6.2.6
- org.apache.activemq:activemq-all: before 5.19.7; from 6.0.0 before 6.2.6
- org.apache.activemq:apache-activemq: before 5.19.7; from 6.0.0 before 6.2.6
- org.apache.activemq:activemq-broker (Maven): before 5.19.7; from 6.0.0 before 6.2.6
- org.apache.activemq:activemq-all (Maven): before 5.19.7; from 6.0.0 before 6.2.6
- org.apache.activemq:apache-activemq (Maven): 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
- apache activemq_broker: before 5.19.7; from 6.0.0 before 6.2.6
- activemq (Bitnami): before 5.19.7; from 6.0.0 before 6.2.6

## Every score

- CISA-ADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://lists.apache.org/thread/ns0zktfo16s9ql2mmtqtlb6p6xcs45xm> (advisory, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2026/05/31/18> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42588> (advisory, web)
- <https://github.com/apache/activemq> (package)

## Sources

- CVE List: [CVE-2026-42588](https://www.cve.org/CVERecord?id=CVE-2026-42588), CVE Terms of Use, modified 2026-06-02
- GitHub Advisory Database: [GHSA-hg6c-8mvr-jqc9](https://github.com/advisories/GHSA-hg6c-8mvr-jqc9), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42588](https://nvd.nist.gov/vuln/detail/CVE-2026-42588), Public domain, modified 2026-07-22
- Bitnami Vulnerability Database: [BIT-ACTIVEMQ-2026-42588](https://osv.dev/vulnerability/BIT-ACTIVEMQ-2026-42588), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-42588 · Whole record: https://cve.day/CVE-2026-42588.json · Rebuilt by cve.day 2026-11-25T22:59:23.432Z
