Vulnerabilities/

CVE-2026-34197

CVE

CVE-2026-34197

Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Authenticated users could perform RCE via Jolokia MBeans

Severity

High

Base CVSS

8.8

Fixed in

d8ce71364638fe4a18ae7531bd1f69f7543e2f16,6.2.4-r0,2.27.5-r3,2.28.3-r1

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

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

High

8.8

3.1

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

OSV

0

3.1

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Endor Labs

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

References

http://www.openwall.com/lists/oss-security/2026/04/06/3, https://repo.maven.apache.org/maven2, https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34197.json, https://www.cisa.gov/known-exploited-vulnerabilities-catalog?fieldcve=CVE-2026-34197, https://access.redhat.com/security/cve/CVE-2026-34197, https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34197.json, https://nvd.nist.gov/vuln/detail/CVE-2026-34197, https://bugzilla.redhat.com/showbug.cgi?id=2455869

Basic information

Base CVSS

8.8

EPSS probability

1.0

EPSS percentile

0.99915

Introduced version

14bac13f40958c1a1d3d198051eed32facc4abd1,0

Fix available

d8ce71364638fe4a18ae7531bd1f69f7543e2f16,6.2.4-r0,2.27.5-r3,2.28.3-r1

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.