CVE-2026-34197Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Authenticated users could…
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
What to do
This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2026-04-16). If you run an affected version, patch or mitigate now.
Fixed builds are available from Maven: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | activemq | Fix pending | UBUNTU-CVE-2026-34197 | |
| Ubuntu 26.04 | activemq | Under investigation | UBUNTU-CVE-2026-34197 | |
| Ubuntu 25.10 | activemq | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-34197 | |
| Ubuntu 24.04 | activemq | Under investigation | UBUNTU-CVE-2026-34197 | |
| Ubuntu 22.04 | activemq | Fix pending | UBUNTU-CVE-2026-34197 | |
| Ubuntu 20.04 | activemq | Fix pending | UBUNTU-CVE-2026-34197 | |
| Ubuntu 18.04 | activemq | Fix pending | UBUNTU-CVE-2026-34197 | |
| Ubuntu 16.04 | activemq | Fix pending | UBUNTU-CVE-2026-34197 | |
| Debian 13 | activemq | Fix pending | DEBIAN-CVE-2026-34197 | |
| Debian 12 | activemq | Fix pending | DEBIAN-CVE-2026-34197 | |
| Red Hat Enterprise Linux 9 | log4j | Not affected | ||
| Red Hat Enterprise Linux 9 | log4j-jcl | Not affected | ||
| Red Hat Enterprise Linux 9 | log4j-slf4j | Not affected | ||
| Red Hat Enterprise Linux 8 | log4j | Not affected | ||
| Red Hat Enterprise Linux 8 | log4j-jcl | Not affected | ||
| Red Hat Enterprise Linux 8 | log4j-slf4j | Not affected | ||
| Red Hat Enterprise Linux 8 | log4j-web | Not affected | ||
| Maven library | org.apache.activemq:activemq-all | Fixed | 5.19.5 | GHSA-rxpj-7qvf-xv32 |
| Maven library | org.apache.activemq:activemq-broker | Fixed | 6.2.3 | GHSA-rxpj-7qvf-xv32 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache ActiveMQ Broker: affected: before 5.19.4, 6.0.0 to before 6.2.3; fixed in
5.19.4,6.2.3 - Apache Software Foundation Apache ActiveMQ All: affected: before 5.19.4, 6.0.0 to before 6.2.3; fixed in
5.19.4,6.2.3 - Apache Software Foundation Apache ActiveMQ: affected: before 5.19.4, 6.0.0 to before 6.2.3; fixed in
5.19.4,6.2.3
Vendor advisories:
- https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.