PoC Monitor
← All CVEs
CVE-2026-40466published 24 Apr 2026 10:15 UTCData: JSON · API

Apache Software Foundation Apache ActiveMQ Broker

Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Possible bypass of CVE-2026-34197 via HTTP discovery second-stage URI

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.

First public PoC 10 daysafter publication · 4 May 2026 · nuclei template
Public PoCs10 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS8.8high · scored by CISA ADP · CWE-20
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Apache Software Foundation Apache ActiveMQ Broker
  • < 5.19.6
  • >= 6.0.0, < 6.2.5

Fixed in 5.19.6, 6.2.5

Apache Software Foundation Apache ActiveMQ All
  • < 5.19.6
  • >= 6.0.0, < 6.2.5

Fixed in 5.19.6, 6.2.5

Apache Software Foundation Apache ActiveMQ
  • < 5.19.6
  • >= 6.0.0, < 6.2.5

Fixed in 5.19.6, 6.2.5

Mitigation

Upgrade Apache ActiveMQ Broker to 5.19.6 or 6.2.5 or later.

Upgrade Apache ActiveMQ All to 5.19.6 or 6.2.5 or later.

Upgrade Apache ActiveMQ to 5.19.6 or 6.2.5 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8+10+12CVE published24 Apr 2026 · t = 0First public PoC4 May 2026 · t+10d

First public PoC 10 days after publication; not in CISA KEV. First PoC: nuclei template: Apache ActiveMQ - Remote Code Execution via HTTP Discovery Transport Bypass (nuclei template, 4 May 2026).

PoC repositories

Found on GitHub.

1 informational

Informational 1
RepositoryCreatedStarsAssessment
Catherines77/ActiveMQ-EXPtools 20 Apr 2026 −4.3 d 86 Informational · list

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Apache ActiveMQ - Remote Code Execution via HTTP Discovery Transport Bypass4 May 202614 Nov 2026