CVE-2026-34197
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
Weakness
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Apache ActiveMQ Improper Input Validation Vulnerability |
|---|---|
| Vendor / product | Apache / ActiveMQ |
| Date added | 2026-04-16 |
| Federal remediation due date | 2026-04-30 |
| 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. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-04-17 |
Timeline
- 2026-04-07Published by the CNA07:50 UTC
- 2026-04-07GitHub advisory published (GHSA-rxpj-7qvf-xv32)same day
- 2026-04-16Added to the CISA KEV catalog9 days after publication
- 2026-04-17CISA SSVC decision recorded10 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2026-34197: Apache ActiveMQ - Remote Code Execution
GitHub advisory GHSA-rxpj-7qvf-xv32, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.apache.activemq:activemq-all | before 5.19.5 | 5.19.5 |
| Maven org.apache.activemq:activemq-all | from 6.0.0 before 6.2.3 | 6.2.3 |
| Maven org.apache.activemq:activemq-broker | before 5.19.5 | 5.19.5 |
| Maven org.apache.activemq:activemq-broker | from 6.0.0 before 6.2.3 | 6.2.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| apache activemq | before 5.19.4fixed in 5.19.4from 6.0.0 before 6.2.3fixed in 6.2.3 | 5.19.46.2.3 |
| apache activemq_broker | before 5.19.4fixed in 5.19.4from 6.0.0 before 6.2.3fixed in 6.2.3 | 5.19.46.2.3 |
References
- https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt
- http://www.openwall.com/lists/oss-security/2026/04/06/3
- https://access.redhat.com/security/cve/CVE-2026-34197
- https://bugzilla.redhat.com/show_bug.cgi?id=2455869
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34197.json
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-34197
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-34197'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-34197'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-34197'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-34197'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2026-34197'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).