Skip to main content

Java CVE-2026-34197

| EUVDEUVD-2026-19588 HIGH
Improper Input Validation (CWE-20)
2026-04-07 apache GHSA-rxpj-7qvf-xv32
8.8
CVSS 3.1 · Vendor: apache
Share

Severity by source

Vendor (apache) PRIMARY
8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat
8.8 HIGH
qualitative

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

6
Re-analysis Queued
Apr 16, 2026 - 19:22 vuln.today
cvss_changed
Added to CISA KEV
Apr 16, 2026 - 18:02 CISA
PoC Detected
Apr 08, 2026 - 16:16 vuln.today
Public exploit code
EUVD ID Assigned
Apr 07, 2026 - 08:30 euvd
EUVD-2026-19588
Analysis Generated
Apr 07, 2026 - 08:30 vuln.today
CVE Published
Apr 07, 2026 - 07:50 nvd
HIGH 8.8

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 maven packages depend on org.apache.activemq:activemq-all (3 direct, 3 indirect)
  • 21 maven packages depend on org.apache.activemq:activemq-broker (14 direct, 7 indirect)

Ecosystem-wide dependent count for version 6.0.0 and other introduced versions.

DescriptionCVE.org

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: .

Users are recommended to upgrade to version 5.19.5 or 6.2.3, which fixes the issue.

AnalysisAI

Remote code execution in Apache ActiveMQ Classic versions before 5.19.5 and 6.0.0-6.2.2 allows authenticated attackers to execute arbitrary code on the broker's JVM via Jolokia MBean operations. Attackers with low-privilege web console access can invoke BrokerService.addNetworkConnector() with a malicious discovery URI containing a VM transport brokerConfig parameter that loads remote Spring XML contexts, triggering bean instantiation and code execution through factory methods like Runtime.exec(

Technical ContextAI

Apache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on its web console, providing HTTP-based access to Java Management Extensions (JMX) MBeans. The vulnerability stems from Jolokia's default access policy permitting exec operations on all org.apache.activemq:* MBeans, including BrokerService administrative methods. The attack chain exploits two key ActiveMQ features: (1) BrokerService.addNetworkConnector() and addConnector() methods that accept discovery URIs, and (2) the VM transport's brokerConfig parameter that can specify Spring XML configuration files via URLs. Spring Framework's ResourceXmlApplicationContext eagerly instantiates all singleton beans during context loading, before ActiveMQ validates the broker configuration. This CWE-20 (Improper Input Validation) and CWE-94 (Code Injection) flaw allows attackers to reference attacker-controlled Spring XML files containing malicious bean definitions with factory methods that execute arbitrary commands. Affected products per CPE data include cpe:2.3:a:apache_software_foundation:apache_activemq_broker and cpe:2.3:a:apache_software_foundation:apache_activemq across multiple version ranges.

RemediationAI

Organizations running affected Apache ActiveMQ Classic installations should immediately upgrade to version 5.19.5 for the 5.x branch or version 6.2.3 for the 6.x branch, both of which contain fixes that restrict Jolokia MBean access policies and validate discovery URI parameters before processing. The Apache security advisory at https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt provides official upgrade guidance. As an interim mitigation for environments unable to upgrade immediately, administrators should disable the Jolokia JMX-HTTP bridge by removing or restricting access to the /api/jolokia/ endpoint through web application firewall rules or servlet configuration, implement network-level access controls to limit web console exposure to trusted management networks only, enforce strong authentication on the web console with account lockout policies, and audit existing user accounts with web console access to ensure least-privilege principles. Organizations should also review ActiveMQ broker logs for suspicious addNetworkConnector or addConnector invocations and monitor for unusual network connections or Spring XML context loading attempts.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

Share

CVE-2026-34197 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy