CVE-2026-40466
CVE-2026-40466 · Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Possible bypass of CVE-2026-34197 via HTTP discovery second-stage URI
CVSS 8.8 · High · EPSS 4.8% · Public exploit · 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.6 / 6.2.5
- apache activemq allUpdate to 5.19.6 / 6.2.5
- apache activemqUpdate to 5.19.6 / 6.2.5
- 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.
An authenticated attacker may bypass the fix in CVE-2026-34197 by adding a connector using an HTTP Discovery transport via BrokerView.addNetworkConnector or BrokerView.addConnector through Jolokia if the activemq-http module is on the classpath. A malicious HTTP endpoint can return a VM transport through the HTTP URI which will bypass the validation added in CVE-2026-34197. The attacker can then use the VM transport's brokerConfig parameter to load a remote 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.6, from 6.0.0 before 6.2.5; Apache ActiveMQ All: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ: before 5.19.6, from 6.0.0 before 6.2.5.
Users are recommended to upgrade to version 5.19.6 or 6.2.5, which fixes the issue.
- Published
- Updated
Stack: system
Affected products and versions
apache activemq broker
- Versions
- ≥ 0, < 5.19.6: Affected (semver)
- ≥ 6.0.0, < 6.2.5: Affected (semver)
Update to 5.19.6; Update to 6.2.5
apache activemq all
- Versions
- ≥ 0, < 5.19.6: Affected (semver)
- ≥ 6.0.0, < 6.2.5: Affected (semver)
Update to 5.19.6; Update to 6.2.5
apache activemq
- Versions
- ≥ 0, < 5.19.6: Affected (semver)
- ≥ 6.0.0, < 6.2.5: Affected (semver)
Update to 5.19.6; Update to 6.2.5
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
Original sources
- https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt
- https://access.redhat.com/security/cve/CVE-2026-40466
- https://bugzilla.redhat.com/show_bug.cgi?id=2461410
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40466.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-40466