CVE-2026-34197: Apache ActiveMQ Improper Input Validation
Apache ActiveMQ · listed in the CISA catalog of actively exploited vulnerabilities since 2026-04-16.
- CVSS v3.1 (CVE record)
- 8.8
- high
- EPSS (exploit probability, 30 days)
- 98%
- among the highest 0.1% of all CVEs
- Added to CISA KEV
- 2026-04-16
- US federal due date 2026-04-30
- Ubuntu priority
- high
CVE-2026-34197 explained
CVE-2026-34197 is an input validation and code injection flaw in Apache ActiveMQ Classic. The default Jolokia access policy on the web console allows authenticated users to call broker management operations that can load a remote Spring configuration, leading to arbitrary code execution in the broker's JVM. It is listed in CISA's Known Exploited Vulnerabilities catalog.
Impact
An attacker with low-privileged credentials for the web console can execute arbitrary code on the broker's JVM over the network, with no user interaction. This gives high impact on confidentiality, integrity and availability of the broker and the data it handles. Exposure depends on the Jolokia endpoint at /api/jolokia/ being reachable. Upstream versions before 5.19.4 and from 6.0.0 before 6.2.3 are affected.
Who is affected
The activemq source package is affected on Debian 12 (bookworm), Debian 13 (trixie), Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, 24.04 LTS, 25.10, 26.04 LTS and 26.10. No release has a fixed version published. On Ubuntu 18.04 LTS, 20.04 LTS and 22.04 LTS, fixes would come through Ubuntu Pro (ESM). Ubuntu 16.04 LTS and Ubuntu 25.10 are end of life. Upstream fixed the issue in 5.19.4 and 6.2.3.
Written with AI from the data on this page and checked against it automatically.
Official description
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
CISA 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.
CISA notes
Upstream versions (CVE record)
From the CVE record published by the vendor or CVE numbering authority.
- Apache Software Foundation Apache ActiveMQ BrokerAffectedFixed in
- < 5.19.4
- ≥ 6.0.0, < 6.2.3
- 5.19.4
- 6.2.3
- Apache Software Foundation Apache ActiveMQ AllAffectedFixed in
- < 5.19.4
- ≥ 6.0.0, < 6.2.3
- 5.19.4
- 6.2.3
- Apache Software Foundation Apache ActiveMQAffectedFixed in
- < 5.19.4
- ≥ 6.0.0, < 6.2.3
- 5.19.4
- 6.2.3
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache ActiveMQ Broker |
|
|
| Apache Software Foundation Apache ActiveMQ All |
|
|
| Apache Software Foundation Apache ActiveMQ |
|
|
Also affected (reported by product suppliers)
- Red Hat JBoss Enterprise Application Platform Expansion PackAffected–Fixed innot stated
Affected versions are not specified in the CVE record.
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat JBoss Enterprise Application Platform Expansion PackAffected versions are not specified in the CVE record. | – | not stated |
Ubuntu and Debian releases
A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.
Ubuntu 26.10·activemq
Status: no fixed version published · Ubuntu tracker
Ubuntu 26.04 LTS·activemq
Status: no fixed version published · Ubuntu tracker
Ubuntu 25.10·activemq
end of life
Status: no fixed version published · Ubuntu tracker
Ubuntu 24.04 LTS·activemq
Status: no fixed version published · Ubuntu tracker
Ubuntu 22.04 LTS·activemq
fix via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 20.04 LTS·activemq
fix via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 18.04 LTS·activemq
fix via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Ubuntu 16.04 LTS·activemq
fix via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Debian 13 (trixie)·activemq
Status: no fixed version published · Debian tracker
Debian 12 (bookworm)·activemq
Status: no fixed version published · Debian tracker
What to do
- Identify all hosts running the
activemqpackage or any Apache ActiveMQ Classic broker. - Restrict network access to the web console and the
/api/jolokia/endpoint to trusted administrative hosts only. - Review and rotate web console credentials, and remove unneeded accounts.
- Install the fixed
activemqpackage as soon as your distribution publishes one, then restart the broker. - Upgrade systems on Ubuntu 16.04 LTS and Ubuntu 25.10 to a supported release.
- Check brokers for unexpected network connectors, connectors or processes that may indicate compromise.
No distribution package is fixed yet. Block or firewall access to the web console and /api/jolokia/, or disable the web console if it is not needed. Limit console accounts to trusted administrators. Upstream versions 5.19.4 and 6.2.3 contain the fix. If you cannot mitigate, CISA advises discontinuing use of the product. Do not wait for fixes on end-of-life Ubuntu 16.04 LTS or 25.10; upgrade them.
Written with AI from the data on this page and checked against it automatically.
Check and fix on a server
Run on each Ubuntu or Debian server. Replace activemq with the source package from the table above.
1. Show installed packages built from the source package, with their versions
dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="activemq"'No fixed version available
No Ubuntu or Debian release has published a fixed version of activemq yet, so every installed version is affected. Until a fix is published:
- Follow the vendor's advisory for a mitigation or patch: activemq.apache.org/security-advisories.data/CVE-2026-341…
- If the server does not need the package, remove it, or replace it with a maintained alternative.
- Restrict exposure: keep the affected service off the internet, limit access with a firewall or VPN, and turn off the vulnerable feature where you can.
This page updates automatically when Ubuntu or Debian publish a fix.
Ubuntu 25.10, Ubuntu 16.04 LTS have reached end of life and no longer get regular security fixes – upgrade to a supported release.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-20 Improper Input Validation, CWE-94 Improper Control of Generation of Code ('Code Injection')
Questions about CVE-2026-34197
- Does an attacker need credentials?
- Yes. The flaw requires an authenticated user with low privileges on the web console. Weak, shared or default credentials greatly increase the risk, so restricting and rotating console credentials is an important mitigation.
- Is this vulnerability being exploited?
- CISA added it to its Known Exploited Vulnerabilities catalog on 2026-04-16, with a US federal due date of 2026-04-30. Whether it has been used in ransomware campaigns is listed as unknown.
- Which upstream versions fix the issue?
- Apache recommends upgrading to
5.19.4or6.2.3. No fixed Debian or Ubuntuactivemqpackage has been published in the listed releases yet.
Written with AI from the data on this page and checked against it automatically.
References
Other advisories
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.