Improper input validation in Apache ActiveMQ Broker
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache ActiveMQ Broker | before 5.19.6; 6.0.0 to before 6.2.5 | 5.19.6, 6.2.5 | Patch available | CNA |
| Apache | Apache ActiveMQ All | before 5.19.6; 6.0.0 to before 6.2.5 | 5.19.6, 6.2.5 | Patch available | CNA |
| Apache | Apache ActiveMQ | before 5.19.6; 6.0.0 to before 6.2.5 | 5.19.6, 6.2.5 | Patch available | CNA |
| — | org.apache.activemq:apache-activemq (Maven) | before 5.19.6 | 5.19.6 | Patch available | GHSA-w3w2-mpp5-92gm |
| — | org.apache.activemq:activemq-all (Maven) | before 5.19.6 | 5.19.6 | Patch available | GHSA-w3w2-mpp5-92gm |
| — | org.apache.activemq:activemq-broker (Maven) | before 5.19.6 | 5.19.6 | Patch available | GHSA-w3w2-mpp5-92gm |
| — | org.apache.activemq:apache-activemq (Maven) | 6.0.0 to before 6.2.5 | 6.2.5 | Patch available | GHSA-w3w2-mpp5-92gm |
| — | org.apache.activemq:activemq-all (Maven) | 6.0.0 to before 6.2.5 | 6.2.5 | Patch available | GHSA-w3w2-mpp5-92gm |
| — | org.apache.activemq:activemq-broker (Maven) | 6.0.0 to before 6.2.5 | 6.2.5 | Patch available | GHSA-w3w2-mpp5-92gm |
- Apache ActiveMQ Broker VendorApache Affected before 5.19.6; 6.0.0 to before 6.2.5 Fixed in 5.19.6, 6.2.5 Patch available CNA
- Apache ActiveMQ All VendorApache Affected before 5.19.6; 6.0.0 to before 6.2.5 Fixed in 5.19.6, 6.2.5 Patch available CNA
- Apache ActiveMQ VendorApache Affected before 5.19.6; 6.0.0 to before 6.2.5 Fixed in 5.19.6, 6.2.5 Patch available CNA
- org.apache.activemq:apache-activemq (Maven) Vendor— Affected before 5.19.6 Fixed in 5.19.6 Patch available GHSA-w3w2-mpp5-92gm
- org.apache.activemq:activemq-all (Maven) Vendor— Affected before 5.19.6 Fixed in 5.19.6 Patch available GHSA-w3w2-mpp5-92gm
- org.apache.activemq:activemq-broker (Maven) Vendor— Affected before 5.19.6 Fixed in 5.19.6 Patch available GHSA-w3w2-mpp5-92gm
- org.apache.activemq:apache-activemq (Maven) Vendor— Affected 6.0.0 to before 6.2.5 Fixed in 6.2.5 Patch available GHSA-w3w2-mpp5-92gm
- org.apache.activemq:activemq-all (Maven) Vendor— Affected 6.0.0 to before 6.2.5 Fixed in 6.2.5 Patch available GHSA-w3w2-mpp5-92gm
- org.apache.activemq:activemq-broker (Maven) Vendor— Affected 6.0.0 to before 6.2.5 Fixed in 6.2.5 Patch available GHSA-w3w2-mpp5-92gm
Remediation
- Fix · CNA Apache ActiveMQ Broker (Apache Software Foundation) Fixed in 5.19.6, 6.2.5
- Fix · CNA Apache ActiveMQ All (Apache Software Foundation) Fixed in 5.19.6, 6.2.5
- Fix · CNA Apache ActiveMQ (Apache Software Foundation) Fixed in 5.19.6, 6.2.5
- Fix · GHSA-w3w2-mpp5-92gm org.apache.activemq:apache-activemq (Maven) Fixed in 5.19.6 Advisory →
- Fix · GHSA-w3w2-mpp5-92gm org.apache.activemq:activemq-all (Maven) Fixed in 5.19.6 Advisory →
- Fix · GHSA-w3w2-mpp5-92gm org.apache.activemq:activemq-broker (Maven) Fixed in 5.19.6 Advisory →
- Fix · GHSA-w3w2-mpp5-92gm org.apache.activemq:apache-activemq (Maven) Fixed in 6.2.5 Advisory →
- Fix · GHSA-w3w2-mpp5-92gm org.apache.activemq:activemq-all (Maven) Fixed in 6.2.5 Advisory →
- Fix · GHSA-w3w2-mpp5-92gm org.apache.activemq:activemq-broker (Maven) Fixed in 6.2.5 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache ActiveMQ 5.19.6, 6.2.5
3 records Highest priority Priority MEDIUM 2 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-29683 Improper input validation in Apache ActiveMQPriority MEDIUM 42
- TI-2026-29682 Apache ActiveMQ, Apache ActiveMQ Web: ActiveMQ Web Console - XSS vulnerability when browsing queuesPriority LOW 36
- Release ·
Apache ActiveMQ All, Apache ActiveMQ Broker 5.19.6, 6.2.5
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2026-29683 Improper input validation in Apache ActiveMQPriority MEDIUM 42
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix planned: Will not fix |
Not affected: 7 products
- Red Hat AMQ Broker 7
- Red Hat Data Grid 8
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Fuse 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40466
- 2026-10-03 Alias added: GHSA-w3w2-mpp5-92gm
References
More Apache Activemq vulnerabilities
- TI-2023-25106 Deserialization of untrusted data in Apache ActiveMQ KEVCVSS 3.1CRITICAL 10.0
- TI-2016-02587 The Fileserver web application in Apache ActiveMQ 5.x before 5.14.0 allows remote… KEVCVSS 3.1CRITICAL 9.8
- TI-2026-26494 Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Authenticated users could perform RCE via Jolokia MBeans KEVCVSS 3.1HIGH 8.8
- TI-2013-05951 Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not… CVSS 3.1CRITICAL 9.8
- TI-2021-04451 XStream is vulnerable to an Arbitrary Code Execution attack CVSS 3.1CRITICAL 9.1
- TI-2021-04446 XStream is vulnerable to an Arbitrary Code Execution attack CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-40466 · CVE Program
- CVE-2026-40466 · NVD
- FIRST EPSS
- GHSA-w3w2-mpp5-92gm · GitHub Advisory Database · CC BY 4.0
- CVE-2026-40466 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences