Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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
Lifecycle Timeline
8Blast Radius
ecosystem impact- 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, Apache ActiveMQ Broker, Apache ActiveMQ All.
An authenticated attacker can use the admin web console page to construct a malicious broker name that bypasses name validation to include an xbean binding that can be later used by a VM transport to load a remote Spring XML application. The attacker can then use the DestinationView mbean to send a message to trigger a VM transport creation that will reference this malicious broker name which can lead to loading the malicious Spring XML context file.
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: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ Broker: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ All: before 5.19.6, from 6.0.0 before 6.2.5.
Users are recommended to upgrade to version 6.2.5 or 5.19.6, which fixes the issue.
AnalysisAI
Remote code execution in Apache ActiveMQ allows authenticated attackers with admin console access to inject malicious Spring XML contexts that execute arbitrary code on the broker's JVM. Attackers exploit improper broker name validation to embed xbean bindings, then trigger VM transport creation via DestinationView mbean to load remote Spring XML files containing malicious bean factory methods like Runtime.exec(). EPSS score of 0.06% (19th percentile) indicates low observed exploitation probability despite CVSS 8.8, with CISA SSVC confirming no active exploitation and non-automatable attack chain. Vendor patches available: versions 5.19.6 and 6.2.5 address the vulnerability.
Technical ContextAI
Apache ActiveMQ is a Java-based message broker implementing JMS (Java Message Service) with embedded Spring Framework for configuration management. The vulnerability stems from CWE-20 (Improper Input Validation) in the admin web console's broker name validation logic. The attack chain exploits ActiveMQ's VM transport protocol, which allows in-JVM message passing between embedded brokers, combined with Spring's ResourceXmlApplicationContext that eagerly instantiates singleton beans before BrokerService validates configurations. The xbean binding mechanism permits Spring XML context file references, and when combined with inadequate input sanitization, allows authenticated attackers to inject malicious broker names containing remote XML URIs. The CPE data confirms impact across three package distributions: apache_activemq, apache_activemq_broker, and apache_activemq_all, affecting all versions before 5.19.6 in the 5.x line and versions 6.0.0 through 6.2.4 in the 6.x line.
RemediationAI
Upgrade to Apache ActiveMQ version 5.19.6 (for 5.x deployments) or version 6.2.5 (for 6.x deployments) as recommended by vendor advisory at https://activemq.apache.org/security-advisories.data/CVE-2026-41044-announcement.txt. These versions implement proper input validation for broker names preventing xbean binding injection. If immediate patching is not feasible, implement compensating controls: (1) Restrict admin web console access to trusted internal networks only using firewall rules or network segmentation - this eliminates remote attack vector but impacts legitimate remote administration workflows; (2) Enforce strong authentication and multi-factor authentication for admin console access, limit admin accounts to minimum necessary personnel, and audit admin console access logs for suspicious broker creation or DestinationView operations; (3) Disable VM transport protocol if not required for legitimate use cases by removing vm:// transport connectors from ActiveMQ configuration - this breaks the attack chain but may impact applications using in-JVM broker connectivity; (4) Deploy web application firewall with rules detecting xbean syntax patterns in broker name parameters submitted to admin console endpoints. Note that workarounds significantly reduce but do not eliminate risk, as authenticated attackers with legitimate admin access could still potentially exploit the vulnerability.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
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
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-20 – Improper Input Validation
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-25412
GHSA-mr6m-xj7v-3cv3