Apache Software Foundation Apache ActiveMQ Broker
Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Possible bypass of CVE-2026-34197 via HTTP discovery second-stage URI
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 5.19.6
- >= 6.0.0, < 6.2.5
Fixed in 5.19.6, 6.2.5
- < 5.19.6
- >= 6.0.0, < 6.2.5
Fixed in 5.19.6, 6.2.5
- < 5.19.6
- >= 6.0.0, < 6.2.5
Fixed in 5.19.6, 6.2.5
Mitigation
Upgrade Apache ActiveMQ Broker to 5.19.6 or 6.2.5 or later.
Upgrade Apache ActiveMQ All to 5.19.6 or 6.2.5 or later.
Upgrade Apache ActiveMQ to 5.19.6 or 6.2.5 or later.
References
- Vendor advisory activemq.apache.org/security-advisories.data/CVE-2026-3…
Timeline
Days relative to CVE publicationFirst public PoC 10 days after publication; not in CISA KEV. First PoC: nuclei template: Apache ActiveMQ - Remote Code Execution via HTTP Discovery Transport Bypass (nuclei template, 4 May 2026).
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Catherines77/ActiveMQ-EXPtools | 20 Apr 2026 −4.3 d | 86 | Informational · list |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Apache ActiveMQ - Remote Code Execution via HTTP Discovery Transport Bypass | 4 May 2026 | 14 Nov 2026 |