CVE-2026-34197

Source
https://cve.org/CVERecord?id=CVE-2026-34197
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34197.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-34197
Aliases
Downstream
Related
Published
2026-04-07T07:50:10.958Z
Modified
2026-07-16T03:30:59.511942565Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Authenticated users could perform RCE via Jolokia MBeans
Details

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

Database specific
{
    "cwe_ids": [
        "CWE-20",
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34197.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "5.19.4"
                },
                {
                    "introduced": "6.0.0"
                },
                {
                    "fixed": "6.2.3"
                },
                {
                    "fixed": "5.19.4"
                },
                {
                    "introduced": "6.0.0"
                },
                {
                    "fixed": "6.2.3"
                },
                {
                    "fixed": "5.19.4"
                },
                {
                    "introduced": "6.0.0"
                },
                {
                    "fixed": "6.2.3"
                }
            ],
            "source": "AFFECTED_FIELD"
        },
        {
            "extracted_events": [
                {
                    "fixed": "5.19.4"
                },
                {
                    "introduced": "6.0.0"
                },
                {
                    "fixed": "6.2.3"
                },
                {
                    "fixed": "5.19.4"
                },
                {
                    "introduced": "6.0.0"
                },
                {
                    "fixed": "6.2.3"
                },
                {
                    "fixed": "5.19.4"
                },
                {
                    "introduced": "6.0.0"
                },
                {
                    "fixed": "6.2.3"
                }
            ],
            "source": "DESCRIPTION"
        }
    ],
    "cna_assigner": "apache"
}
References

Affected packages

Git / github.com/apache/activemq

Affected ranges

Type
GIT
Repo
https://github.com/apache/activemq
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.19.4"
        },
        {
            "introduced": "6.0.0"
        },
        {
            "fixed": "6.2.3"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

activemq-5.*
activemq-5.10.0
activemq-5.11.0
activemq-5.12.0
activemq-5.13.0
activemq-5.14.0
activemq-5.15.0
activemq-5.16.0
activemq-5.18.0
activemq-5.18.1
activemq-5.18.2
activemq-5.18.3
activemq-5.18.4
activemq-5.18.5
activemq-5.18.6
activemq-5.19.0
activemq-5.19.1
activemq-5.19.2
activemq-5.9.0
activemq-6.*
activemq-6.0.0
activemq-6.1.0
activemq-6.1.1
activemq-6.1.2
activemq-6.2.0
activemq-6.2.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34197.json"