ADVISORIES

Vulnerability

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 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.

27 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • CGA-2h76-5jw5-39wj
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-3j8f-8cm5-6w7j
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-3xh6-j2c9-mjmq
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-4mp8-6cpg-qc9w
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-5c6c-f72r-pwpr
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-5cf4-ghwc-3v97
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-5wqm-6rfj-f37p
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-64h2-rhqf-xmx6
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-6fc8-696j-m49g
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-89hf-r94m-685r
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-8g8c-6gh8-7vcw
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-8v4h-3r6f-3xjh
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-pmqv-f7vj-4xwg
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-q69m-342q-r5cp
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-qc82-j69v-mpv7
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-rj48-9ggj-6wfw
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-rp6j-7hwv-r5xj
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-wwf4-57w4-5fxp
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-wx9m-w5xf-28qp
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • CGA-x3rh-fg4m-9gq7
    CVE-2026-40466 Chainguard Updated 5 November 2026
  • DEBIAN-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-40466 Debian Updated 27 October 2026
  • GHSA-w3w2-mpp5-92gm

    Apache ActiveMQ Vulnerable to Improper Input Validation and Code Injection

    High CVE-2026-40466 Maven Updated 10 September 2026
  • OESA-2026-2124

    activemq security update

    High Known exploited CVE-2026-33227CVE-2026-34197CVE-2026-39304CVE-2026-40046 openEuler Updated 18 August 2026
  • OESA-2026-2125

    activemq security update

    High Known exploited CVE-2026-33227CVE-2026-34197CVE-2026-39304CVE-2026-40046 openEuler Updated 18 August 2026
  • OESA-2026-2126

    activemq security update

    High Known exploited CVE-2026-33227CVE-2026-34197CVE-2026-39304CVE-2026-40046 openEuler Updated 18 August 2026
  • OESA-2026-2127

    activemq security update

    High Known exploited CVE-2026-33227CVE-2026-34197CVE-2026-39304CVE-2026-40046 openEuler Updated 18 August 2026
  • UBUNTU-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-40466 Ubuntu Updated 17 October 2026

References