CVE-2026-42588
CVE-2026-42588 · Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Remote Code Execution via Jolokia addNetworkConnector
CVSS 8.1 · High · EPSS 0.7% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- apache activemq brokerUpdate to 5.19.7 / 6.2.6
- apache activemq allUpdate to 5.19.7 / 6.2.6
- apache activemqUpdate to 5.19.7 / 6.2.6
- activemq Debian 12No fix published
- and 9 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="activemq"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: system
Affected products and versions
apache activemq broker
- Versions
- ≥ 0, < 5.19.7: Affected (semver)
- ≥ 6.0.0, < 6.2.6: Affected (semver)
Update to 5.19.7; Update to 6.2.6
apache activemq all
- Versions
- ≥ 0, < 5.19.7: Affected (semver)
- ≥ 6.0.0, < 6.2.6: Affected (semver)
Update to 5.19.7; Update to 6.2.6
apache activemq
- Versions
- ≥ 0, < 5.19.7: Affected (semver)
- ≥ 6.0.0, < 6.2.6: Affected (semver)
Update to 5.19.7; Update to 6.2.6
activemq Debian 12
- Versions
- 5.17.2+dfsg-2
- 5.17.2+dfsg-2+deb12u1
- 5.17.6+dfsg-1
- 5.17.6+dfsg-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Debian 13
- Versions
- 5.17.6+dfsg-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu Pro 16.04 LTS
- Versions
- 5.6.0+dfsg1-4+deb8u1ubuntu1
- 5.6.0+dfsg1-5
- 5.13.2+dfsg-2
- 5.13.2+dfsg-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu Pro 18.04 LTS
- Versions
- 5.14.5-3
- 5.15.2-2
- 5.15.3-2
- 5.15.8-2~18.04
- 5.15.8-2~18.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu Pro 20.04 LTS
- Versions
- 5.15.10-1
- 5.15.11-1
- 5.15.11-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu Pro 22.04 LTS
- Versions
- 5.16.1-1
- 5.16.1-1ubuntu0.1~esm1
- 5.16.1-1ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu 24.04 LTS
- Versions
- 5.17.2+dfsg-2
- 5.17.6+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu 25.10
- Versions
- 5.17.6+dfsg-1
- 5.17.6+dfsg-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu 26.10
- Versions
- 5.17.6+dfsg-2
- 5.17.6+dfsg-2ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu 26.04 LTS
- Versions
- 5.17.6+dfsg-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published