Skip to content
VulniPulse
High8.8Apache Software Foundation Exploited CISA KEV

CVE-2026-40466 and CVE-2026-34197: Apache ActiveMQ Broker remote code execution

This Apache advisory covers CVE-2026-40466 and CVE-2026-34197 in Apache ActiveMQ Broker and Apache ActiveMQ All. Its rating, versions and guidance apply to the bulletin as a whole, not to each of its 2 CVEs.

Open the Apache advisory

Key facts

Bulletin rating
High, CVSS 8.8
CISA KEV
CVE-2026-34197 is listed ()
Affected
6.0.0 through 6.2.5; 6.0.0 through 6.2.5.
Fixed in
5.19.6, 6.2.5
Source published
Source revised
Listed by VulniPulse

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Apache Software FoundationMessagingActiveMQ

CVE-2026-34197 in the CISA Known Exploited Vulnerabilities catalog

CISA name:
Apache ActiveMQ Improper Input Validation Vulnerability
CISA description:
Apache ActiveMQ contains an improper input validation vulnerability that allows for code injection.
Required action:
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

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.

Text from the source record.

Affected versions
  • 6.0.0 through 6.2.5
  • 6.0.0 through 6.2.5.

Official advisory · high-confidence parse· fetched ·verify at source

Fix and mitigation

Fixed releases named by the bulletin:

  • 5.19.6
  • 6.2.5

Apache Software Foundation advisories, April 2026All Apache Software Foundation advisories

Get an email when Apache Messaging (ActiveMQ/Kafka/Pulsar) publishes the next one.

See Apache Messaging (ActiveMQ/Kafka/Pulsar)'s last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.

Alert me about Apache Messaging (ActiveMQ/Kafka/Pulsar)