Skip to main content

Apache ActiveMQ EUVDEUVD-2026-33577

| CVE-2026-42588 HIGH
Improper Input Validation (CWE-20)
2026-06-01 security@apache.org GHSA-hg6c-8mvr-jqc9
8.1
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Discover exposed ActiveMQ web console
  2. Delivery
    Obtain valid console credentials
  3. Exploit
    Authenticate to /api/jolokia/
  4. Install
    POST exec for BrokerService.addNetworkConnector with masterslave:// URI
  5. C2
    Broker loads attacker-hosted Spring XML
  6. Execute
    Singleton bean invokes Runtime.exec() on broker JVM
  7. Impact
    Command execution and lateral pivot from broker host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires (1) network reachability to the ActiveMQ web console, specifically the /api/jolokia/ HTTP endpoint, (2) valid authentication credentials with permission to invoke JMX exec operations on org.apache.activemq:* MBeans - the default Jolokia access policy grants this to authenticated console users, so any web-console account is typically sufficient, (3) the broker's ability to fetch the attacker-controlled Spring XML resource referenced by the masterslave:// URI, meaning outbound HTTP/file access from the broker to an attacker-reachable location. Limiting factors: PR:L authentication is mandatory (CVSS PR:L), so brokers with the web console disabled, restricted to localhost, or behind strong network segmentation are not reachable; deployments that have hardened jolokia-access.xml to forbid exec on the ActiveMQ MBean domain block the primitive; brokers with no outbound network egress to the attacker's Spring XML host cannot complete the chain. Affected configurations are default Apache ActiveMQ Classic 5.x before 5.19.7 and 6.x before 6.2.6.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N reflects a network-reachable, low-complexity attack requiring authenticated access (PR:L) with high confidentiality and integrity impact but no availability impact, yielding 8.1 (High). EPSS is very low at 0.06% (19th percentile) and the CVE is not listed in CISA KEV - no public exploit identified at time of analysis - which downgrades immediate broad-exploitation risk relative to the CVSS score. However, ActiveMQ has a strong historical pattern of post-disclosure exploitation (e.g., CVE-2023-46604) once PoCs surface, the attack is fully automatable via a single HTTP POST to Jolokia, and the technical impact is total broker JVM compromise. Authenticated-only is a real but soft barrier: many ActiveMQ deployments use default or weak web-console credentials, and any user with JMX exec rights on org.apache.activemq:* MBeans suffices. Treat this as a high-priority patch for any ActiveMQ instance exposing the web console, even though current telemetry signals are quiet.

Exploit ScenarioDerived

An attacker who has obtained valid ActiveMQ web-console credentials - through credential reuse, phishing of an admin, or a default account on an internet-exposed broker - sends a single authenticated HTTP POST to /api/jolokia/ invoking BrokerService.addNetworkConnector with a masterslave:// URI pointing to an attacker-hosted Spring XML file. The broker fetches the XML, instantiates a malicious bean whose factory method calls Runtime.exec(), and the attacker gains code execution as the ActiveMQ JVM user, typically pivoting to read message queues, exfiltrate credentials, or move laterally. No public exploit identified at time of analysis, but the primitive is straightforward enough that PoCs are likely to follow disclosure.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 01, 2026

Authenticated remote code execution in Apache ActiveMQ Classic (versions before 5.19.7 and 6.0.0 through 6.2.5) is achievable via the Jolokia JMX-HTTP bridge exposed at /api/jolokia/ on the web console. An authenticated attacker can invoke BrokerService.addNetworkConnector with a crafted masterslave:// discovery URI that loads a Spring XML application context, instantiating attacker-controlled singleton beans (e.g., Runtime.exec()) on the broker JVM. No public exploit identified at time of analysis and EPSS is low (0.06%), but the vendor-released patches and CVSS 8.1 score reflect a significant risk to message brokers exposing the web console.

RemediationAI

Vendor-released patch: upgrade to Apache ActiveMQ 5.19.7 (for the 5.x branch) or 6.2.6 (for the 6.x branch), per the Apache advisory at https://lists.apache.org/thread/ns0zktfo16s9ql2mmtqtlb6p6xcs45xm. If immediate patching is not possible, restrict network access to the ActiveMQ web console and the /api/jolokia/ endpoint to trusted management networks only (trade-off: breaks remote JMX monitoring tools that rely on Jolokia), tighten the Jolokia access policy in jolokia-access.xml to deny exec operations on the org.apache.activemq:* domain or to allow-list only specific safe MBean operations (trade-off: may disrupt legitimate administrative automation), and rotate or strengthen web-console credentials and remove default/shared admin accounts to reduce the authenticated-attacker surface. Disabling the web console entirely (removing the jetty.xml war deployment) is the strongest workaround if remote administration is not needed, at the cost of losing browser-based management.

Affected VersionsENISA

Apache ActiveMQ 6.0.0 <6.2.6
Apache ActiveMQ All 0 <5.19.7
Apache ActiveMQ Broker 6.0.0 <6.2.6
Apache ActiveMQ Broker 0 <5.19.7
Apache ActiveMQ 0 <5.19.7
Apache ActiveMQ All 6.0.0 <6.2.6

Affected Packages

maven org.apache.activemq:activemq-all fix: 5.19.7, 6.2.6
maven org.apache.activemq:activemq-broker fix: 5.19.7, 6.2.6
maven org.apache.activemq:apache-activemq fix: 5.19.7, 6.2.6
euvd apache_activemq fix: 5.19.7, 6.2.6
euvd apache_activemq_all fix: 5.19.7, 6.2.6
euvd apache_activemq_broker fix: 5.19.7, 6.2.6

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 Classic ships a Jolokia agent (a JMX-over-HTTP bridge) mounted at /api/jolokia/ in the web console, with a default access policy that permits exec operations across all org.apache.activemq:* MBeans. The vulnerability chains an Improper Input Validation flaw (CWE-20) on the BrokerService.addNetworkConnector(String) MBean operation with Spring Framework's ResourceXmlApplicationContext loader. The attacker abuses ActiveMQ's VM transport brokerConfig parameter together with the masterslave:// URL scheme to make the broker load an arbitrary Spring XML application context. Because Spring instantiates all singleton beans before BrokerService validates the configuration, factory methods such as Runtime.exec() execute attacker-supplied commands in the broker's JVM context - converting a JMX configuration operation into full code execution.

Know when 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

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

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
CVSS changed
Jun 01, 2026 - 15:22 NVD
8.1 (HIGH)
Patch available
Jun 01, 2026 - 10:01 EUVD
CVE Published
Jun 01, 2026 - 09:16 nvd
HIGH 8.1
CVE Published
Jun 01, 2026 - 09:16 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, 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).

An authenticated attacker can invoke these operations with a crafted discovery URI that triggers the VM transport's brokerConfig parameter using the "masterslave:// " URL which can allow loading a 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.7, from 6.0.0 before 6.2.6; Apache ActiveMQ All: before 5.19.7, from 6.0.0 before 6.2.6; Apache ActiveMQ: before 5.19.7, from 6.0.0 before 6.2.6.

Users are recommended to upgrade to version 5.19.7 or 6.2.6, which fixes the issue.

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.

Executive ViewAI

Why It Matters

Apache ActiveMQ Classic versions 5.x (before 5.19.7) and 6.x (6.0.0 through 6.2.5) contain a critical remote code execution vulnerability in the Jolokia JMX-HTTP bridge exposed on the web console that allows authenticated users to execute arbitrary code directly on the broker process. Any organization running ActiveMQ with web console enabled and user authentication in place is at risk of broker compromise, potentially exposing sensitive transaction data in transit and enabling unauthorized system access. Immediate patching is essential to protect this foundational messaging infrastructure from privileged threat actors.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2020-26217 HIGH POC
8.8 Nov 16

XStream before version 1.4.14 is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker to ru

CVE-2021-21351 CRITICAL POC
9.1 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.1), this vulnerabi

CVE-2015-1830 MEDIUM POC
5.0 Aug 19

Directory traversal vulnerability in the fileserver upload/download functionality for blob messages in Apache ActiveMQ 5

CVE-2021-21346 CRITICAL POC
9.8 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2021-21344 CRITICAL POC
9.8 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2021-21345 CRITICAL POC
9.9 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.9), this vulnerabi

CVE-2021-21341 HIGH POC
7.5 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 7.5), this vulnerability

CVE-2015-5254 CRITICAL
9.8 Jan 08

Apache ActiveMQ 5.x before 5.13.0 does not restrict the classes that can be serialized in the broker, which allows remot

CVE-2021-21342 CRITICAL POC
9.1 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.1), this vulnerabi

CVE-2021-21349 HIGH POC
8.6 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 8.6), this vulnerability

CVE-2021-21343 HIGH POC
7.5 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 7.5), this vulnerability

CVE-2021-21350 CRITICAL POC
9.8 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi

Vendor StatusVendor

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