CVE-2026-42588
published high CVSS 3.1 · 8.1Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Remote Code Execution via Jolokia addNetworkConnector
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.activemq:activemq-brokerApache ActiveMQ Broker · 0 to < 5.19.7 · 6.0.0 to < 6.2.6 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | org.apache.activemq:activemq-allApache ActiveMQ All · 0 to < 5.19.7 · 6.0.0 to < 6.2.6 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | org.apache.activemq:apache-activemqApache ActiveMQ · 0 to < 5.19.7 · 6.0.0 to < 6.2.6 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache ActiveMQ Broker | 0 to < 5.19.7 (affected · semver)6.0.0 to < 6.2.6 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache ActiveMQ All | 0 to < 5.19.7 (affected · semver)6.0.0 to < 6.2.6 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache ActiveMQ | 0 to < 5.19.7 (affected · semver)6.0.0 to < 6.2.6 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
2- CWE-20 CWE-20 Improper Input Validation
- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
2Provider assertions
3apache · cna
Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Remote Code Execution via Jolokia addNetworkConnector
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 486cb644f648eacbf0e55ca9e0a37a66a4366147d3519d79517a6e669ce5b640
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record