cve.bz

CVE-2026-34197 Apache ActiveMQ Improper Input Validation Vulnerability

8.8 highKEVExploitEPSS 98%Fix available

High (8.8) in Apache ActiveMQ. In CISA KEV since 2026-04-16. EPSS 98% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.activemq:activemq-broker 5.19.5, 6.2.3.

On this page
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

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
98% (unchanged from 98% a week ago; 15% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2026-04-16, due 2026-04-30
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2026-04-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-20 Improper Input Validation
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-34197 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-34197?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-34197?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-34197 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-34197

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-34197](https://cve.bz/cve/badge/CVE-2026-34197.svg)](https://cve.bz/cve/CVE-2026-34197)

HTML:

<a href="https://cve.bz/cve/CVE-2026-34197"><img src="https://cve.bz/cve/badge/CVE-2026-34197.svg" alt="CVE-2026-34197"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache ActiveMQ Brokerbefore 5.19.4
Apache Software Foundation Apache ActiveMQ Brokerfrom 6.0.0 before 6.2.3
Apache Software Foundation Apache ActiveMQ Allbefore 5.19.4
Apache Software Foundation Apache ActiveMQ Allfrom 6.0.0 before 6.2.3
Apache Software Foundation Apache ActiveMQbefore 5.19.4
Apache Software Foundation Apache ActiveMQfrom 6.0.0 before 6.2.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rxpj-7qvf-xv32Mavenorg.apache.activemq:activemq-broker<5.19.55.19.5
GHSA-rxpj-7qvf-xv32Mavenorg.apache.activemq:activemq-broker>=6.0.0 <6.2.36.2.3
GHSA-rxpj-7qvf-xv32Mavenorg.apache.activemq:activemq-all<5.19.55.19.5
GHSA-rxpj-7qvf-xv32Mavenorg.apache.activemq:activemq-all>=6.0.0 <6.2.36.2.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13activemqno fix listedDEBIAN-CVE-2026-34197
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 5 moreactivemqno fix listedUBUNTU-CVE-2026-34197

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important severity flaw as it could enable a remote, authenticated attacker to execute arbitrary code on the broker's JVM. This can be exploited by sending a specially crafted discovery URI to the Jolokia JMX-HTTP bridge, which is exposed on the web console. This bypasses configuration validation and allows loading a remote Spring XML application context.

The vulnerable components are used strictly at build time or for internal testing and are not included in shipped products. Consequently, Red Hat products are marked as unaffected.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7activemq-brokerNot affected
Red Hat Data Grid 8activemq-brokerNot affected
Red Hat Enterprise Linux 8log4j:2/log4jNot affected
Red Hat Enterprise Linux 9log4jNot affected
Red Hat Fuse 7activemq-allNot affected
Red Hat Fuse 7activemq-brokerNot affected
Red Hat JBoss Enterprise Application Platform 7activemq-brokerNot affected
Red Hat JBoss Enterprise Application Platform 8activemq-brokerNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packactivemq-brokerNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-34197.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-279-04Hitachi Energy SOI2026-09-29EnergySOI Version 2.0.0 to 2.2.0none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

7 more

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Nuclei template Apache ActiveMQ - Remote Code Execution
  • Emerging Threats Open ET WEB_SPECIFIC_APPS Apache ActiveMQ Jolokia addNetworkConnector Remote Code Execution Attempt (CVE-2026-34197) sid 2068634

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON