Patchfirst
CVE-2026-34197 KEVPublic exploit High · 8.8 EPSS 98.3%

Apache ActiveMQ Improper Input Validation Vulnerability

Apache · ActiveMQ

Summary

Apache ActiveMQ Classic's web console exposes a Jolokia JMX-HTTP bridge at /api/jolokia/, and its default access policy allows exec operations on ActiveMQ MBeans, including addNetworkConnector and addConnector, which can be abused through crafted discovery URIs that trigger the VM transport's brokerConfig parameter. An authenticated attacker with network access can exploit this to load a remote Spring XML application context, achieving arbitrary code execution on the broker's JVM without user interaction.

Official description · NVD

Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ. Apache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on the web console. The default Jolokia access policy permits exec operations on all ActiveMQ MBeans (org.apache.activemq:*), including BrokerService.addNetworkConnector(String) and BrokerService.addConnector(String). An authenticated attacker can invoke these operations with a crafted discovery URI that triggers 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.4, from 6.0.0 before 6.2.3; Apache ActiveMQ All: before 5.19.4, from 6.0.0 before 6.2.3; Apache ActiveMQ: before 5.19.4, from 6.0.0 before 6.2.3. Users are recommended to upgrade to version 5.19.4 or 6.2.3, which fixes the issue

Breakdown
74.1 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 6 days after disclosure. Public exploit code (PoC-in-GitHub) appeared 1 day after disclosure.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+1 day
  3. First seen exploitedVulnCheck KEV evidence+6 days
  4. Added to CISA KEVEU database agrees+9 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

See the family tree

A fix was bypassed or incomplete 2 times over 8 weeks. The latest fix listed for activemq-broker is 6.2.5.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2026-34197ActiveMQ Improper Input Validation7 Apr 2026KEV
  2. bypassed the fixHigh

    Why these are linked:

    • Stated in the CVE textAn 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 cla…
    • Fixed one release later5.19.5 → 5.19.6 (org.apache.activemq:activemq-broker)
    • Fixed one release later5.19.5 → 5.19.6 (org.apache.activemq:activemq-all)
    • Similar weakness in the same product (machine-matched)same package + description similarity
    CVE-2026-40466ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Possible…24 Apr 2026
  3. same family
    CVE-2026-41044ActiveMQ, Apache ActiveMQ Broker, Apache ActiveMQ All…24 Apr 2026
  4. same family
    CVE-2026-42588ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Remote…1 Jun 2026
  5. same family
    CVE-2026-45505ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Jolokia…1 Jun 2026

Fixes in activemq-brokerMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 5.10.1CVE-2014-361224 Aug 2015
  2. 5.10.2CVE-2015-652424 Aug 2015
  3. 6.2.2CVE-2026-332277 Apr 2026
  4. 6.2.3CVE-2026-341977 Apr 2026KEV
  5. 6.2.4CVE-2026-3930410 Apr 2026
  6. 6.2.5CVE-2026-4046624 Apr 2026
  7. 6.2.5CVE-2026-4104324 Apr 2026
  8. 6.2.5CVE-2026-4104424 Apr 2026Latest listed

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

Remote exploit via exposed web management Jolokia interface

An authenticated attacker can invoke these operations with a crafted discovery URI
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Arbitrary code execution on broker JVM

arbitrary code execution occurs on the broker's JVM through bean factory methods
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 244 general rules for its techniques

Rules for this CVE

0 that reference CVE-2026-34197 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 1 ecosystem. No single main package: each of these ships the affected code.

  • Mavenorg.apache.activemq:activemq-broker
    Affected: 6.0.0 up to 6.2.3; All versions before 5.19.5Upgrade to 6.2.5 or later (older lines: 5.19.6)
  • Mavenorg.apache.activemq:activemq-all
    Affected: 6.0.0 up to 6.2.3; All versions before 5.19.5Upgrade to 6.2.5 or later (older lines: 5.19.6)

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

6 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close