CVE-2026-40466: Apache ActiveMQ Broker · Improper Input Validation
Affects Apache ActiveMQ BrokerSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · public detection template (Nuclei) · CVSS 8.8 High : upgrade to 6.2.5 or 5.19.6 soon.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 4.7% chance of exploitation in 30 days – higher than 91% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.2.5, 5.19.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 24 Apr 2026
Detectable: evidence found.
nuclei template: Apache ActiveMQ - Remote Code Execution via HTTP Discovery Transport Bypass
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade Apache ActiveMQ Broker and Apache ActiveMQ All and Apache ActiveMQ and Apache Software Foundation/org.apache.activemq:activemq-broker and Apache Software Foundation/org.apache.activemq:activemq-all and Apache Software Foundation/org.apache.activemq:apache-activemq and org.apache.activemq/activemq-broker to 6.2.5 or 5.19.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software FoundationApache ActiveMQ Broker | Affected
| Fixed in
|
| Apache Software FoundationApache ActiveMQ Broker | Affected
| Fixed in
|
| Apache Software FoundationApache ActiveMQ All | Affected
| Fixed in
|
| Apache Software FoundationApache ActiveMQ All | Affected
| Fixed in
|
| Apache Software FoundationApache ActiveMQ | Affected
| Fixed in
|
| Apache Software FoundationApache ActiveMQ | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available. Users should upgrade Apache ActiveMQ Broker to version 5.19.6 or 6.2.5 or later, which address this vulnerability. There is no indication from the vendor advisory that alternative mitigations or temporary fixes are available or recommended. Patch status is confirmed by the vendor advisory.
Description
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.
References
- activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-40466 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2461410 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40466.json (opens in a new tab)