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

Published May 31, 2026
·
Updated

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.

Affected Software

9 affected components
Apache ActiveMQ Broker<5.19.7, >=6.0.0<6.2.6
Apache ActiveMQ All<5.19.7, >=6.0.0<6.2.6
Apache ActiveMQ<5.19.7, >=6.0.0<6.2.6
Apache ActiveMQ<5.19.7
Apache ActiveMQ>=6.0.0<6.2.6
Apache ActiveMQ Broker<5.19.7
Apache ActiveMQ Broker>=6.0.0<6.2.6
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.7.2.1 - 9.7.2.11
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.6.1.1 - 9.6.1.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache ActiveMQ Broker to a version that resolves this vulnerability.

    Fixed in 5.19.7
  2. Upgrade

    Upgrade Apache ActiveMQ Broker to a version that resolves this vulnerability.

    Fixed in 6.2.6
  3. Upgrade

    Upgrade Apache ActiveMQ All to a version that resolves this vulnerability.

    Fixed in 5.19.7
  4. Upgrade

    Upgrade Apache ActiveMQ All to a version that resolves this vulnerability.

    Fixed in 6.2.6
  5. Upgrade

    Upgrade Apache ActiveMQ to a version that resolves this vulnerability.

    Fixed in 5.19.7
  6. Upgrade

    Upgrade Apache ActiveMQ to a version that resolves this vulnerability.

    Fixed in 6.2.6

Event History

Jun 1, 2026
CVE Published
via MITRE·07:23 AM
Data Sourced
via MITRE·07:23 AM
DescriptionWeakness
Data Sourced
via NVD·09:16 AM
DescriptionSeverityWeaknessAffected Software
Jul 6, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42588?

The severity of CVE-2026-42588 is rated as high, with a CVSS score of 8.1.

2

How do I fix CVE-2026-42588?

To mitigate CVE-2026-42588, you should restrict access to the Jolokia JMX-HTTP bridge and validate all inputs.

3

What types of attacks are possible with CVE-2026-42588?

CVE-2026-42588 allows for remote code execution, enabling attackers to inject and execute arbitrary code.

4

Which software versions are affected by CVE-2026-42588?

CVE-2026-42588 affects Apache ActiveMQ Broker, Apache ActiveMQ All, and Apache ActiveMQ.

5

What causes the vulnerability in CVE-2026-42588?

CVE-2026-42588 is caused by improper input validation and control of code generation in the Jolokia addNetworkConnector feature.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203