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
    • 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-2025-54539

CVE-2025-54539: Apache ActiveMQ NMS AMQP RCE Vulnerability

CVE-2025-54539 is a deserialization RCE flaw in Apache ActiveMQ NMS AMQP Client affecting versions up to 2.3.0. Attackers can exploit unbounded deserialization to execute arbitrary code on client systems.

Published: March 11, 2026

CVE-2025-54539 Overview

A critical Deserialization of Untrusted Data vulnerability exists in the Apache ActiveMQ NMS AMQP Client. This vulnerability affects all versions of Apache ActiveMQ NMS AMQP up to and including 2.3.0 when establishing connections to untrusted AMQP servers. Malicious servers can exploit unbounded deserialization logic present in the client to craft responses that may lead to arbitrary code execution on the client side.

Although version 2.1.0 introduced a mechanism to restrict deserialization via allow/deny lists, the protection was found to be bypassable under certain conditions. In line with Microsoft's deprecation of binary serialization in .NET 9, the Apache project is evaluating the removal of .NET binary serialization support from the NMS API entirely in future releases.

Critical Impact

Attackers controlling a malicious AMQP server can achieve arbitrary code execution on client systems connecting to the server through crafted deserialization payloads, potentially leading to complete system compromise.

Affected Products

  • Apache ActiveMQ NMS AMQP versions up to and including 2.3.0
  • .NET applications using the NMS AMQP client library
  • Systems connecting to untrusted AMQP endpoints

Discovery Timeline

  • October 16, 2025 - CVE-2025-54539 published to NVD
  • November 4, 2025 - Last updated in NVD database

Technical Details for CVE-2025-54539

Vulnerability Analysis

This vulnerability is classified as CWE-502 (Deserialization of Untrusted Data), a well-known class of security flaws that can lead to remote code execution. The Apache ActiveMQ NMS AMQP client implements .NET binary serialization to handle message payloads and server responses. When a client connects to an AMQP server, it deserializes data received from that server without adequate validation of the incoming object types.

The vulnerability is particularly dangerous because it exists on the client side, meaning any application using the vulnerable NMS AMQP library could be compromised when connecting to a malicious server. This represents an inversion of the typical attack pattern where servers are targeted, making it potentially more difficult to detect and prevent through traditional perimeter security measures.

Root Cause

The root cause lies in the unbounded deserialization logic within the NMS AMQP client. While version 2.1.0 attempted to address this by introducing allow/deny lists to restrict which types could be deserialized, the implementation contained bypass conditions that allowed attackers to circumvent these protections. The underlying issue stems from the use of .NET binary serialization (BinaryFormatter), which Microsoft has explicitly deprecated due to its inherent security risks. BinaryFormatter deserializes objects without proper type constraints, allowing attackers to instantiate arbitrary types that execute malicious code during the deserialization process.

Attack Vector

The attack vector requires an attacker to operate or compromise an AMQP server that the victim client connects to. This is a network-based attack that can be exploited remotely without requiring authentication or user interaction. The attack flow proceeds as follows:

  1. The attacker sets up or compromises an AMQP server
  2. A victim application using the vulnerable NMS AMQP client connects to this server
  3. The malicious server responds with a specially crafted serialized payload
  4. The client deserializes the payload, triggering arbitrary code execution
  5. The attacker gains code execution in the context of the client application

This attack pattern is particularly concerning in scenarios where applications connect to external or third-party AMQP endpoints, or in environments where an attacker has achieved network positioning to perform man-in-the-middle attacks.

Detection Methods for CVE-2025-54539

Indicators of Compromise

  • Unexpected outbound connections from NMS AMQP client applications to unknown AMQP servers
  • Unusual process behavior or child process spawning from applications using the NMS AMQP library
  • Network traffic containing anomalous .NET binary serialization payloads in AMQP responses
  • Runtime errors or exceptions related to deserialization in application logs

Detection Strategies

  • Monitor for applications loading the Apache.NMS.AMQP assembly versions prior to 2.4.0
  • Implement network monitoring for AMQP traffic (port 5672/5671) with payload inspection for serialized .NET objects
  • Deploy endpoint detection and response (EDR) solutions to identify suspicious process chains originating from .NET applications
  • Audit application dependencies using software composition analysis (SCA) tools to identify vulnerable library versions

Monitoring Recommendations

  • Enable verbose logging for all NMS AMQP client connections and monitor for deserialization-related events
  • Implement network segmentation to restrict which servers AMQP clients can connect to
  • Configure alerting for any new or unexpected AMQP server endpoints in your environment
  • Review application logs for TypeLoadException or SerializationException errors that may indicate exploitation attempts

How to Mitigate CVE-2025-54539

Immediate Actions Required

  • Upgrade to Apache ActiveMQ NMS AMQP version 2.4.0 or later immediately
  • Audit all applications using the NMS AMQP library and prioritize upgrades based on exposure to external servers
  • Restrict AMQP client connections to only known and trusted server endpoints using network controls
  • Consider temporarily disabling AMQP connectivity to untrusted servers until patches can be applied

Patch Information

Users are strongly encouraged to upgrade to version 2.4.0 or later, which resolves this vulnerability. The fix addresses the deserialization bypass conditions present in previous versions. Additionally, projects depending on NMS-AMQP should migrate away from .NET binary serialization as part of a long-term hardening strategy, aligning with Microsoft's deprecation of BinaryFormatter in .NET 9. For detailed patch information, see the Apache Mailing List Post.

Workarounds

  • Implement strict network controls to ensure AMQP clients only connect to trusted, internal servers
  • Deploy a proxy or gateway that validates AMQP traffic and blocks suspicious serialized payloads
  • If upgrading is not immediately possible, review and strengthen deserialization allow/deny lists in version 2.1.0 and later
  • Consider migrating to alternative serialization formats that do not rely on .NET BinaryFormatter
bash
# Verify installed NMS AMQP version in your .NET project
dotnet list package | grep -i "Apache.NMS.AMQP"

# Update to the patched version
dotnet add package Apache.NMS.AMQP --version 2.4.0

# Verify the update was successful
dotnet list package | grep -i "Apache.NMS.AMQP"

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

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.34%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • Openwall OSS-Security Update
  • Vendor Resources
  • Apache Mailing List Post
  • Related CVEs
  • CVE-2025-29953: Apache ActiveMQ NMS OpenWire RCE Flaw

  • CVE-2020-11998: Apache ActiveMQ RCE Vulnerability

  • CVE-2025-66168: Apache ActiveMQ Buffer Overflow Flaw

  • CVE-2025-27533: Apache ActiveMQ DoS Vulnerability
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