CVE-2026-42588 — Vulnerability in apache-activemq — CVE Details
Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ have a Code Injection issue
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.66%). Schedule for your next planned update.
Does your project use an affected org.apache.activemq:apache-activemq version?
Paste your pom.xml to check it for CVE-2026-42588 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published June 1, 2026 (178 days ago).
- Last revised September 10, 2026 — 101 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 6.2.6 for org.apache.activemq:apache-activemq -->
<!-- Update pom.xml dependency version to 5.19.7 for org.apache.activemq:activemq-all -->
<!-- Update pom.xml dependency version to 5.19.7 for org.apache.activemq:activemq-broker -->
<!-- Update pom.xml dependency version to 6.2.6 for org.apache.activemq:activemq-all -->
<!-- Update pom.xml dependency version to 6.2.6 for org.apache.activemq:activemq-broker -->
<!-- Update pom.xml dependency version to 5.19.7 for org.apache.activemq:apache-activemq -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: Maven (3).
| Package | Fixed In |
|---|---|
| org.apache.activemq:apache-activemq Maven · Affected: 6.0.0, 6.0.1, 6.1.0, 6.1.1 (+13 more) | 6.2.6 |
| org.apache.activemq:activemq-all Maven · Affected: 4.1.2, 5.0.0, 5.1.0, 5.10.0 (+87 more) | 5.19.7 |
| org.apache.activemq:activemq-broker Maven · Affected: 5.10.0, 5.10.1, 5.10.2, 5.11.0 (+72 more) | 5.19.7 |
| org.apache.activemq:activemq-all Maven · Affected: 6.0.0, 6.0.1, 6.1.0, 6.1.1 (+13 more) | 6.2.6 |
| org.apache.activemq:activemq-broker Maven · Affected: 6.0.0, 6.0.1, 6.1.0, 6.1.1 (+13 more) | 6.2.6 |
| org.apache.activemq:apache-activemq Maven · Affected: 4.1.1, 4.1.2, 5.0.0, 5.1.0 (+88 more) | 5.19.7 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-20Improper Input ValidationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
Frequently Asked Questions
- What is CVE-2026-42588?
- Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ have a Code Injection issue. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2026-42588?
- CVE-2026-42588 affects org.apache.activemq:apache-activemq, org.apache.activemq:activemq-all and org.apache.activemq:activemq-broker. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42588 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 46.2% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2014-3600CRITICAL
Improper Restriction of XML External Entity Reference in Apache ActiveMQ
- CVE-2026-39304HIGH
Apache ActiveMQ: Denial of Service via Out of Memory vulnerability
- CVE-2026-49157HIGH
Apache ActiveMQ has an Incorrect Default Permissions vulnerability
- CVE-2026-53917HIGH
Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker have Memory Allocation with Excessive Size Value vulnerability
- CVE-2026-41044HIGH
Apache ActiveMQ Vulnerable to Code Injection
- CVE-2026-34197HIGH
Authenticated Apache ActiveMQ Broker and Apache ActiveMQ users could perform RCE via Jolokia MBeans
- CVE-2026-45505HIGH
Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ have a Code Injection issue
- CVE-2026-40466HIGH
Apache ActiveMQ Vulnerable to Improper Input Validation and Code Injection