Skip to main content
Vulnerability Database/CVE-2026-101292

CVE-2026-101292: Apache ActiveMQ Artemis RCE Vulnerability

CVE-2026-101292 is an unsafe reflection flaw in Apache ActiveMQ Artemis that enables arbitrary class loading and instantiation through federation messages. This post covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-101292 Overview

CVE-2026-101292 is an unsafe reflection vulnerability [CWE-470] in Apache ActiveMQ Artemis versions before 2.34.0. The flaw resides in the FederationStreamConnectMessage.getFederationPolicy() method, which calls Class.forName(clazz).getConstructor().newInstance() on a class name read directly from the CORE protocol wire buffer. No type validation occurs before instantiation. An authenticated federation peer can send a crafted FEDERATION_DOWNSTREAM_CONNECT packet to force the broker to load arbitrary classes visible to the Artemis module classloader.

Critical Impact

Authenticated attackers can trigger denial of service, out-of-memory conditions, or broker state manipulation by abusing static initializers and no-argument constructors that execute before the type cast fails.

Affected Products

  • Apache ActiveMQ Artemis versions before 2.34.0
  • Red Hat AMQ Broker distributions (per RHSA-2026:53644)
  • Red Hat AMQ Streams distributions (per RHSA-2026:53806)

Discovery Timeline

  • 2026-09-28 - CVE-2026-101292 published to NVD
  • 2026-09-29 - Last updated in NVD database

Technical Details for CVE-2026-101292

Vulnerability Analysis

Apache ActiveMQ Artemis implements broker-to-broker federation using the CORE wire protocol. When a federation peer connects, it sends a FEDERATION_DOWNSTREAM_CONNECT packet containing policy configuration. The getFederationPolicy() method extracts a fully qualified class name string from the wire buffer and reflectively instantiates it.

The reflective construction pathway performs no allowlist check and no isAssignableFrom validation prior to instantiation. Any class on the Artemis module classloader with a public no-argument constructor is reachable. Side effects fire during class loading, specifically the static initializer block <clinit> and the instance constructor <init>(), before the broker attempts to cast the returned object to the expected federation policy type.

Impact scenarios include system-property poisoning through classes whose static initializers call System.setProperty, memory pressure through loading of large or self-referential classes, and manipulation of broker singleton state via constructors with observable side effects. The attack requires valid federation credentials but needs no user interaction.

Root Cause

The root cause is unsafe deserialization-adjacent behavior: untrusted wire data drives a reflective Class.forName lookup without type gating. The code pattern violates the principle that any class name sourced from a network peer must be validated against a strict allowlist before instantiation.

Attack Vector

An authenticated federation peer establishes a CORE protocol session and transmits a FEDERATION_DOWNSTREAM_CONNECT packet with the policy class field populated with an attacker-chosen class name. The broker loads the class, runs its static initializer, invokes the no-argument constructor, and only then attempts the type cast. The cast failure does not undo side effects already executed.

For technical details, see the Red Hat CVE Analysis for CVE-2026-101292 and the Red Hat Bug Report #2482963.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-101292

Indicators of Compromise

  • Unexpected FEDERATION_DOWNSTREAM_CONNECT packets from federation peers that reference non-federation-policy class names.
  • Broker log entries showing ClassCastException immediately after federation connect, especially when the cast target is FederationPolicy.
  • Sudden changes in JVM system properties on the broker process without a corresponding configuration push.
  • OutOfMemoryError events on the broker JVM correlated with inbound federation traffic.

Detection Strategies

  • Inspect Artemis broker logs for reflective instantiation failures tied to federation message handling.
  • Monitor the Artemis CORE protocol port for federation handshakes originating from peers outside the approved topology.
  • Baseline JVM system properties on broker hosts and alert on runtime mutation.
  • Correlate federation authentication events with subsequent broker instability or classloader activity.

Monitoring Recommendations

  • Enable verbose logging on the org.apache.activemq.artemis.core.protocol.core.impl.wireformat.FederationStreamConnectMessage package.
  • Forward broker JVM metrics (heap, metaspace, loaded class count) to a centralized telemetry platform for anomaly detection.
  • Capture netflow for federation listener ports and alert on connections from unexpected source addresses.

How to Mitigate CVE-2026-101292

Immediate Actions Required

  • Upgrade Apache ActiveMQ Artemis to version 2.34.0 or later on all broker nodes.
  • Apply the vendor patches referenced in RHSA-2026:53644 and RHSA-2026:53806 for Red Hat AMQ deployments.
  • Rotate federation user credentials and audit which accounts hold federation permissions.
  • Restrict network reachability of the CORE federation listener to approved broker peers only.

Patch Information

Apache ActiveMQ Artemis 2.34.0 introduces type validation in FederationStreamConnectMessage.getFederationPolicy() so that class names received from the wire are checked against the expected FederationPolicy type before instantiation. Red Hat has issued fixed packages via RHSA-2026:53644 and RHSA-2026:53806.

Workarounds

  • Disable broker federation if it is not required for the deployment.
  • Enforce mutual TLS on the federation listener and bind it to a management-only network segment.
  • Remove federation role assignments from any user account that does not require them.
  • Place a network ACL in front of the broker that only permits CORE protocol traffic from trusted federation peers.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.