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-2021-26857

CVE-2021-26857: Microsoft Exchange Server RCE Vulnerability

CVE-2021-26857 is a remote code execution vulnerability in Microsoft Exchange Server that allows attackers to execute arbitrary code on vulnerable systems. This article covers the technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2021-26857 Overview

CVE-2021-26857 is a remote code execution vulnerability affecting Microsoft Exchange Server. This vulnerability, classified as an insecure deserialization flaw (CWE-502), allows attackers to execute arbitrary code on affected Exchange servers through improper handling of serialized data. This vulnerability was part of the infamous ProxyLogon attack chain that was actively exploited in the wild.

Critical Impact

This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. Organizations running affected versions of Microsoft Exchange Server should prioritize immediate remediation.

Affected Products

  • Microsoft Exchange Server 2010 SP3
  • Microsoft Exchange Server 2013 (CU22, CU23, SP1)
  • Microsoft Exchange Server 2016 (CU8 through CU19)
  • Microsoft Exchange Server 2019 (RTM through CU8)

Discovery Timeline

  • 2021-03-03 - CVE-2021-26857 published to NVD
  • 2025-12-18 - Last updated in NVD database

Technical Details for CVE-2021-26857

Vulnerability Analysis

CVE-2021-26857 is an insecure deserialization vulnerability in the Unified Messaging service of Microsoft Exchange Server. The flaw exists in how Exchange processes incoming data during deserialization operations. When exploited, attackers can achieve code execution with SYSTEM-level privileges on the Exchange server.

This vulnerability was notably used as part of a chained attack sequence alongside other Exchange vulnerabilities (CVE-2021-26855, CVE-2021-26858, and CVE-2021-27065) by threat actors including HAFNIUM, a nation-state group attributed to China. The attack chain allowed initial access through server-side request forgery (SSRF), followed by exploitation of this deserialization flaw to achieve persistent code execution.

Root Cause

The root cause of CVE-2021-26857 is improper validation and handling of serialized objects within the Exchange Unified Messaging service. The vulnerability stems from the application deserializing untrusted data without adequate verification, allowing malicious serialized objects to be processed. When the vulnerable component deserializes attacker-controlled data, it can instantiate arbitrary objects and execute code with the privileges of the Exchange Unified Messaging service, which runs as SYSTEM.

Attack Vector

The attack requires local access or authentication to exploit, typically used as a post-compromise step after initial access is obtained through other means such as CVE-2021-26855 (SSRF). An attacker who has already gained initial access to the Exchange environment can craft malicious serialized payloads targeting the Unified Messaging service. When the service processes these payloads, the deserialization process triggers code execution, enabling the attacker to:

  1. Execute arbitrary commands with SYSTEM privileges
  2. Deploy web shells for persistent access
  3. Exfiltrate sensitive email data and credentials
  4. Move laterally within the organization's network

The vulnerability requires user interaction in some attack scenarios, but when chained with other ProxyLogon vulnerabilities, it becomes part of a fully remote attack chain.

Detection Methods for CVE-2021-26857

Indicators of Compromise

  • Suspicious processes spawned by the Unified Messaging service (UMService.exe or UMWorkerProcess.exe)
  • Unexpected web shells in Exchange directories such as C:\inetpub\wwwroot\aspnet_client\ or C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\owa\auth\
  • Unusual PowerShell or command shell execution from Exchange service contexts
  • Evidence of w3wp.exe spawning suspicious child processes
  • Event Log entries indicating deserialization errors or crashes in Unified Messaging services

Detection Strategies

  • Monitor for process creation events where parent process is UMService.exe or UMWorkerProcess.exe spawning command interpreters
  • Deploy YARA rules targeting known web shell artifacts associated with Exchange exploitation campaigns
  • Implement file integrity monitoring on Exchange Server web directories to detect unauthorized file creation
  • Analyze Windows Event Logs for unusual .NET deserialization exceptions in the Application log

Monitoring Recommendations

  • Enable enhanced Exchange Server logging including IIS logs, Exchange Management Shell audit logs, and Windows Security event logs
  • Implement network monitoring for anomalous outbound connections from Exchange servers
  • Use endpoint detection and response (EDR) solutions to monitor Exchange server processes for suspicious behavior patterns
  • Regularly scan Exchange directories for unauthorized files or web shells using Microsoft's Exchange Server Health Checker scripts

How to Mitigate CVE-2021-26857

Immediate Actions Required

  • Apply the security updates from Microsoft immediately for all affected Exchange Server versions
  • Run the Microsoft Safety Scanner (MSERT) tool on Exchange servers to detect and remove known threats
  • Review Exchange servers for indicators of compromise using Microsoft's test scripts and IOC detection tools
  • If Unified Messaging is not required, consider disabling the service as a temporary risk reduction measure
  • Isolate potentially compromised Exchange servers from the network pending investigation

Patch Information

Microsoft has released security updates addressing CVE-2021-26857. Organizations should consult the Microsoft Security Advisory CVE-2021-26857 for detailed patch information and update guidance specific to their Exchange Server version. CISA has also published guidance in their Known Exploited Vulnerabilities Catalog.

For Exchange Server 2016 and 2019, ensure the latest Cumulative Update is applied along with the security update. Exchange Server 2010 SP3 requires the associated security update despite being in extended support.

Workarounds

  • Disable the Unified Messaging service if not operationally required: Set-Service MSExchangeUM -StartupType Disabled
  • Implement network segmentation to limit access to Exchange servers from untrusted networks
  • Deploy web application firewall (WAF) rules to filter known exploitation patterns
  • Enable strict firewall rules limiting outbound connections from Exchange servers to only required destinations
bash
# Disable Unified Messaging Service (PowerShell)
Set-Service MSExchangeUM -StartupType Disabled
Stop-Service MSExchangeUM

# Verify Exchange Server patch level
Get-ExchangeServer | Format-List Name,AdminDisplayVersion

# Check for suspicious files in web directories
Get-ChildItem -Path "C:\inetpub\wwwroot\aspnet_client\" -Recurse -Include *.aspx,*.ashx
Get-ChildItem -Path "C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\owa\auth\" -Include *.aspx

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Exchange

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability42.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-502
  • Technical References
  • CISA Known Exploited Vulnerabilities CVE-2021-26857
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-26857
  • Related CVEs
  • CVE-2020-16875: Microsoft Exchange Server RCE Vulnerability

  • CVE-2021-26858: Microsoft Exchange Server RCE Vulnerability

  • CVE-2021-27065: Microsoft Exchange Server RCE Vulnerability

  • CVE-2021-26855: Microsoft Exchange Server RCE 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