The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-34197

CVE-2026-34197: Apache ActiveMQ RCE Vulnerability

CVE-2026-34197 is a remote code execution vulnerability in Apache ActiveMQ that allows authenticated attackers to execute arbitrary code via Jolokia JMX-HTTP bridge. This article covers technical details, affected versions, and mitigations.

Published: April 10, 2026

CVE-2026-34197 Overview

CVE-2026-34197 is an Improper Input Validation and Code Injection vulnerability affecting Apache ActiveMQ Broker and Apache ActiveMQ. The vulnerability exists in the Jolokia JMX-HTTP bridge exposed at /api/jolokia/ on the web console. Due to an overly permissive default Jolokia access policy that permits exec operations on all ActiveMQ MBeans (org.apache.activemq:*), an authenticated attacker can invoke sensitive operations including BrokerService.addNetworkConnector(String) and BrokerService.addConnector(String) with crafted discovery URIs.

The attack leverages 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().

Critical Impact

Authenticated attackers can achieve arbitrary code execution on the Apache ActiveMQ broker's JVM by exploiting the Jolokia JMX-HTTP bridge to load malicious Spring XML configurations, potentially leading to complete system compromise.

Affected Products

  • Apache ActiveMQ Broker: versions before 5.19.4 and from 6.0.0 before 6.2.3
  • Apache ActiveMQ All: versions before 5.19.4 and from 6.0.0 before 6.2.3
  • Apache ActiveMQ: versions before 5.19.4 and from 6.0.0 before 6.2.3

Discovery Timeline

  • 2026-04-07 - CVE-2026-34197 published to NVD
  • 2026-04-08 - Last updated in NVD database

Technical Details for CVE-2026-34197

Vulnerability Analysis

This vulnerability represents a dangerous code injection flaw that chains multiple weaknesses to achieve remote code execution. The root issue stems from insufficient input validation when processing discovery URIs through the Jolokia JMX-HTTP bridge.

Apache ActiveMQ Classic exposes the Jolokia endpoint at /api/jolokia/ which provides a REST interface to JMX operations. The default security policy is overly permissive, allowing exec operations across all ActiveMQ MBeans. This enables authenticated users to call sensitive broker management methods that were not intended to be exposed via HTTP.

The attack flow begins when an attacker invokes BrokerService.addNetworkConnector(String) or BrokerService.addConnector(String) via Jolokia with a specially crafted VM transport URI containing a brokerConfig parameter pointing to an attacker-controlled Spring XML configuration file.

When Spring's ResourceXmlApplicationContext processes this malicious configuration, it instantiates all defined singleton beans immediately, before ActiveMQ has a chance to validate the configuration. This timing allows attackers to define bean factory methods such as Runtime.exec() that execute arbitrary commands on the broker's JVM.

Root Cause

The vulnerability is caused by the combination of an overly permissive default Jolokia access policy and insufficient validation of the brokerConfig parameter in VM transport URIs. The policy allows exec operations on all ActiveMQ MBeans without restricting access to sensitive broker management methods. Additionally, the use of ResourceXmlApplicationContext for loading configuration files creates a code execution vector when combined with attacker-controlled input, as Spring eagerly instantiates beans before any validation occurs.

Attack Vector

The attack is network-based and requires low-privileged authenticated access to the ActiveMQ web console. An attacker with valid credentials can send HTTP requests to the /api/jolokia/ endpoint to invoke JMX operations. The exploitation process involves:

  1. Authenticating to the ActiveMQ web console
  2. Crafting a malicious Spring XML configuration hosted on an attacker-controlled server
  3. Sending a request to Jolokia to invoke BrokerService.addNetworkConnector() with a VM transport URI containing a brokerConfig parameter pointing to the malicious XML
  4. The Spring framework loads and processes the XML, instantiating malicious beans that execute arbitrary code

The vulnerability mechanism involves crafting a discovery URI that triggers the VM transport to load an external Spring XML application context. When the ResourceXmlApplicationContext processes this configuration, bean factory methods like Runtime.exec() are invoked during initialization, executing attacker-supplied commands before any security validation occurs. For detailed technical information, see the Apache ActiveMQ Security Advisory.

Detection Methods for CVE-2026-34197

Indicators of Compromise

  • Unusual HTTP requests to /api/jolokia/ endpoints containing exec operations targeting org.apache.activemq:* MBeans
  • Requests containing VM transport URIs with brokerConfig parameters pointing to external URLs
  • Outbound network connections from the ActiveMQ broker process to unexpected external hosts
  • Unexpected child processes spawned by the ActiveMQ JVM process

Detection Strategies

  • Monitor HTTP access logs for requests to /api/jolokia/ containing patterns like addNetworkConnector, addConnector, or brokerConfig
  • Implement network monitoring to detect the ActiveMQ broker making outbound HTTP/HTTPS requests to fetch external XML files
  • Deploy endpoint detection to identify unusual process spawning from the Java process running ActiveMQ
  • Audit authentication logs for suspicious login patterns to the ActiveMQ web console

Monitoring Recommendations

  • Enable detailed access logging for the ActiveMQ web console and Jolokia endpoint
  • Configure SIEM rules to alert on Jolokia exec operations targeting broker management MBeans
  • Implement egress filtering to restrict outbound connections from message broker systems
  • Monitor JMX operations for calls to sensitive broker management methods

How to Mitigate CVE-2026-34197

Immediate Actions Required

  • Upgrade Apache ActiveMQ to version 5.19.4 or 6.2.3 immediately
  • Restrict network access to the ActiveMQ web console and Jolokia endpoint to trusted administrative networks only
  • Review and restrict Jolokia access policies to deny exec operations on sensitive MBeans
  • Audit recent access logs to the /api/jolokia/ endpoint for signs of exploitation attempts

Patch Information

Users are recommended to upgrade to version 5.19.4 or 6.2.3, which fixes the issue. The patched versions implement proper input validation for discovery URIs and restrict the Jolokia access policy to prevent exec operations on sensitive broker management MBeans. For additional details, refer to the Apache ActiveMQ Security Advisory and the OpenWall OSS Security Discussion.

Workarounds

  • Disable the Jolokia endpoint entirely if JMX-over-HTTP functionality is not required
  • Configure a restrictive Jolokia access policy that denies exec operations on org.apache.activemq:* MBeans
  • Place the ActiveMQ web console behind a reverse proxy with strict authentication and IP whitelisting
  • Implement network segmentation to isolate message broker systems from untrusted networks
bash
# Example: Restrict Jolokia access in jolokia-access.xml
# Place this configuration in the ActiveMQ conf directory
# Deny exec operations on broker management MBeans
cat > conf/jolokia-access.xml << 'EOF'
<restrict>
  <commands>
    <command>read</command>
    <command>list</command>
    <command>search</command>
    <!-- exec command intentionally omitted to deny execution -->
  </commands>
  <deny>
    <mbean>
      <name>org.apache.activemq:*</name>
      <operation>addNetworkConnector</operation>
      <operation>addConnector</operation>
    </mbean>
  </deny>
</restrict>
EOF

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechApache Activemq

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability5.60%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20
  • Technical References
  • Apache ActiveMQ Security Advisory

  • OpenWall OSS Security Discussion
  • Related CVEs
  • CVE-2025-54539: Apache ActiveMQ NMS AMQP RCE Vulnerability

  • CVE-2025-29953: Apache ActiveMQ NMS OpenWire RCE Flaw

  • CVE-2020-11998: Apache ActiveMQ RCE Vulnerability

  • CVE-2026-40046: Apache ActiveMQ Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English