Servers and applications
CVE-2026-40466
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…
- Severity
- High 8.8
- Published
- 24 Apr 2026
- Last changed
- 26 Oct 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 5.19.6, 6.2.5
- Exploit chance
- 4.8% in the next 30 daysHigher than 92% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Sources
- NVD
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().
Affected software
| Software | Affected versions |
|---|---|
Apache ActiveMQServers and applications · cpe:a:apache:activemq |
|
About Apache ActiveMQ
message broker software
- Docker Hub pulls
- 5,035,135Docker Hub, 15 Nov 2026
- GitHub stars
- 2,461GitHub, 15 Nov 2026
- Forks
- 1,510GitHub, 15 Nov 2026
- Latest release
- activemq-6.4.0GitHub, 15 Nov 2026
- Released
- 22 Oct 2026GitHub
- Developer
- Apache Software FoundationWikidata
- License
- Apache Software License 2.0Wikidata
- Written in
- Java, C, C++Wikidata
- First released
- 27 Mar 2006Wikidata
- First published on GitHub
- 21 May 2009GitHub
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 6.4 | 6.4.0 | Yes |
| 6.3 | 6.3.3 | Yes |
| 6.2 | 6.2.10 | Yes |
| 5.19 | 5.19.12 | Yes |
| 6.1 | 6.1.8 | Ended 2 Dec 2025 |
| 6.0 | 6.0.1 | Ended 17 Mar 2024 |
From endoflife.date.
Vulnerabilities in Apache ActiveMQ
- In our list
- 80
- Published in the last 12 months
- 30
- Critical, last 12 months
- 0
- High, last 12 months
- 20
- Known exploited
- 3
- CVE-2026-108500Apache ActiveMQ: LDAPAuthorizationMap allows authorization bypass via DN injectionMedium 6.5 4 Nov 2026
- CVE-2026-108946Apache ActiveMQ, ActiveMQ Broker: The broker does not verify user provided connection id matches connectionMedium 6.5 4 Nov 2026
- CVE-2026-111822Apache ActiveMQ, Apache ActiveMQ Runtime Config: ActiveMQ retains write access after live ACL revocationHigh 8.1 4 Nov 2026
- CVE-2026-111821Apache ActiveMQ, Apache ActiveMQ KahaDB: Oversized client identifier strings poison the KahaDB journalHigh 7.5 4 Nov 2026
- CVE-2026-108949Apache ActiveMQ, ActiveMQ Broker: Repeated rejected temporary destination consumer requests can lead to broker OOMMedium 6.5 4 Nov 2026
- CVE-2026-74761Improper input validation in TopicRegion in Apache ActiveMQ, Apache ActiveMQ Broker, and Apache ActiveMQ All on all platforms. An authenticated client can spoof clientId when removing a durable topic subscription. This issue affects Apache ActiveMQ Broker: before 5.19.11, from 6.0.0 before 6.3.2; Apache ActiveMQ All: before 5.19.11, from 6.0.0 before 6.3.2; Apache ActiveMQ: before 5.19.11, from…High 7.5 9 Sept 2026