CVE-2026-34197Apache ActiveMQ Jolokia JMX code injection
CVSS score
8.8
High
CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit probability (EPSS)
98.3%
98.3% chance of exploitation in the next 30 days, higher than 99.9% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 16 Apr 2026.
US federal deadline to fix: 30 Apr 2026.
In plain words
An attacker with valid login credentials for the ActiveMQ web console can run code on the broker's Java process by abusing the Jolokia JMX-HTTP bridge to load a remote Spring XML configuration. Versions before 5.19.4 and from 6.0.0 before 6.2.3 are affected, including Red Hat AMQ Broker 7 and Red Hat Data Grid 8 builds, and CISA reports active exploitation. Upgrade to ActiveMQ 5.19.4 or 6.2.3, or follow the vendor mitigations if you cannot upgrade yet.
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
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 16 Apr 2026.
US federal agencies must fix it by 30 Apr 2026. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running Apache Activemq Broker, Apache ActiveMQ All, Red Hat AMQ Broker 7, Red Hat Data Grid 8, Red Hat Enterprise Linux 8 and compare its version with the affected versions.
Update to a fixed version
- Update Apache ActiveMQ Broker to 5.19.4, 6.2.3 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Apache Activemq | < 5.19.4 · ≥ 6.0.0, < 6.2.3 |
| Apache Activemq Broker | < 5.19.4 · ≥ 6.0.0, < 6.2.3 |
| Apache Apache ActiveMQ Broker | < 5.19.4 · ≥ 6.0.0, < 6.2.3 |
| Apache Apache ActiveMQ All | < 5.19.4 · ≥ 6.0.0, < 6.2.3 |
| Apache Apache ActiveMQ | < 5.19.4 · ≥ 6.0.0, < 6.2.3 |
| Red Hat Red Hat AMQ Broker 7 | Not specified |
| Red Hat Red Hat Data Grid 8 | Not specified |
| Red Hat Red Hat Enterprise Linux 8 | Not specified |
| Red Hat Red Hat Enterprise Linux 9 | Not specified |
| Red Hat Red Hat Fuse 7 | Not specified |
| Red Hat Red Hat JBoss Enterprise Application Platform 7 | Not specified |
| Red Hat Red Hat JBoss Enterprise Application Platform 8 | Not specified |
| Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack | Not specified |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2026-34197 being exploited?
Yes. CISA added CVE-2026-34197 to its Known Exploited Vulnerabilities catalog on 16 Apr 2026, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 98.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-34197?
CVE-2026-34197 has a CVSS 3.1 base score of 8.8 (high).
Which versions are affected?
Apache Activemq (< 5.19.4; ≥ 6.0.0, < 6.2.3), Apache Activemq Broker (< 5.19.4; ≥ 6.0.0, < 6.2.3), Apache Apache ActiveMQ Broker (< 5.19.4; ≥ 6.0.0, < 6.2.3), Apache Apache ActiveMQ All (< 5.19.4; ≥ 6.0.0, < 6.2.3), Apache Apache ActiveMQ (< 5.19.4; ≥ 6.0.0, < 6.2.3), Red Hat Red Hat AMQ Broker 7
Is there a patch for CVE-2026-34197?
The official record links to vendor advisories or patches; see “What to do” above.
References
- activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt(Vendor Advisory)
- www.openwall.com/lists/oss-security/2026/04/06/3(Mailing List, Third Party Advisory)
- access.redhat.com/security/cve/CVE-2026-34197(Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi?id=2455869(Third Party Advisory)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34197.json(Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-34197(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.