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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-01 · Modified: 2026-06-02
- Aliases: UBUNTU-CVE-2026-42588, DEBIAN-CVE-2026-42588, CGA-28c2-vqcf-pcjm, CGA-2v4g-pv4j-h4mr, CGA-4g25-48w5-94p2, CGA-4hj3-336h-5c48, CGA-4wvx-5fvj-5c92, CGA-5v9f-r555-hrjh, CGA-5vrf-w8mv-689m, CGA-6xxq-9rwq-8m22, CGA-8245-p2vc-rcrp, CGA-8g37-c9pf-jcj8, CGA-957h-j5v5-3pfp, CGA-ccfh-2mqj-67vj, CGA-f378-5x9q-qxvh, CGA-fp2q-4wp3-x6rq, CGA-h8w4-wxqj-48vv, CGA-jgqm-439j-wp3c, CGA-jrc3-9pg9-hm46, CGA-mqxh-mqh6-26jf, CGA-p2v7-85w7-x957, CGA-p4fm-3vcp-h7gw, GHSA-hg6c-8mvr-jqc9, BIT-activemq-2026-42588, CGA-w28f-6599-g44p, CGA-wv57-jj6x-5f9m, CGA-wv6w-x95r-jhfh, CGA-x99v-m965-xhmq
- Record: https://cvemate.com/vulnerability/CVE-2026-42588 · JSON: https://cvemate.com/vulnerability/CVE-2026-42588/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.74%, percentile 55.98%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache activemq: \< 5.19.7 \| ≥ 6.0.0, \< 6.2.6
- apache software foundation apache activemq all: \< 5.19.7 \| ≥ 6.0.0, \< 6.2.6
- apache software foundation apache activemq broker: \< 5.19.7 \| ≥ 6.0.0, \< 6.2.6
- apache activemq: \< 5.19.7 \| ≥ 6.0.0, \< 6.2.6
- apache activemq\_broker: \< 5.19.7 \| ≥ 6.0.0, \< 6.2.6
- chainguard apache-activemq-6.1 (Chainguard): All versions (No fix recorded)
- chainguard apache-activemq-fips-6.1 (Chainguard): All versions (No fix recorded)
- chainguard apache-tomee-plume (Chainguard): \< 10.1.5-r2
- chainguard apache-tomee-plus (Chainguard): \< 10.1.5-r2
- chainguard geoserver-2.27-community (Chainguard): \< 2.27.5-r15
- chainguard geoserver-2.28-community (Chainguard): \< 2.28.4-r4
- debian activemq (Debian): All versions (No fix recorded)
- ubuntu activemq (Ubuntu): All versions (No fix recorded)
- org.apache.activemq activemq-all (Maven): \< 5.19.7 \| ≥ 6.0.0, \< 6.2.6
- org.apache.activemq activemq-broker (Maven): \< 5.19.7 \| ≥ 6.0.0, \< 6.2.6
- org.apache.activemq apache-activemq (Maven): \< 5.19.7 \| ≥ 6.0.0, \< 6.2.6

## References

- <https://lists.apache.org/thread/ns0zktfo16s9ql2mmtqtlb6p6xcs45xm>
- <http://www.openwall.com/lists/oss-security/2026/05/31/18>
- <https://ubuntu.com/security/CVE-2026-42588>
- <https://www.cve.org/CVERecord?id=CVE-2026-42588>
- <https://www.openwall.com/lists/oss-security/2026/05/31/18>
- <https://security-tracker.debian.org/tracker/CVE-2026-42588>
- <https://repo.maven.apache.org/maven2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42588.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42588>
- <https://github.com/apache/activemq>

---

Data as of 2026-12-05T04:47:04.723Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
