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-26858

CVE-2021-26858: Microsoft Exchange Server RCE Vulnerability

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

Published: February 25, 2026

CVE-2021-26858 Overview

CVE-2021-26858 is a remote code execution vulnerability affecting Microsoft Exchange Server. This vulnerability is part of a chain of Exchange Server vulnerabilities that have been actively exploited in the wild. The flaw enables attackers to execute arbitrary code on vulnerable Exchange servers, potentially leading to complete system compromise, data exfiltration, and persistent access to enterprise email infrastructure.

Critical Impact

This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating confirmed active exploitation. Organizations running affected Exchange Server versions face significant risk of unauthorized access and data breach.

Affected Products

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

Discovery Timeline

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

Technical Details for CVE-2021-26858

Vulnerability Analysis

CVE-2021-26858 is a post-authentication arbitrary file write vulnerability in Microsoft Exchange Server. Once an attacker has authenticated to the Exchange server (which can be achieved through other vulnerabilities in the ProxyLogon chain), they can leverage this flaw to write files to arbitrary locations on the server's file system. This capability allows attackers to deploy web shells, malicious scripts, or other payloads that enable persistent remote access and code execution.

The vulnerability impacts the way Exchange Server handles certain file operations after authentication. When exploited in conjunction with authentication bypass vulnerabilities, attackers can chain these flaws to achieve unauthenticated remote code execution against vulnerable Exchange servers exposed to the internet.

Root Cause

The root cause stems from improper validation of file paths during authenticated Exchange operations. The vulnerability allows an authenticated attacker to specify arbitrary file paths for write operations, bypassing intended directory restrictions. This lack of proper path sanitization enables writing malicious content to locations that would normally be protected, such as web-accessible directories where web shells can be deployed.

Attack Vector

The attack vector requires local access context with user interaction, though in practice this vulnerability is typically chained with other Exchange vulnerabilities (such as CVE-2021-26855) that provide the initial authentication bypass. In the exploit chain:

  1. An attacker first exploits a server-side request forgery (SSRF) vulnerability to gain authentication
  2. With authenticated access, the attacker exploits CVE-2021-26858 to write arbitrary files
  3. Web shells are commonly written to the Exchange web root directory
  4. The attacker gains persistent remote code execution capabilities through the deployed web shell

The vulnerability affects Exchange deployments across enterprise environments, making it particularly impactful given the sensitive nature of email infrastructure.

Detection Methods for CVE-2021-26858

Indicators of Compromise

  • Presence of unexpected .aspx files in Exchange web directories, particularly in \inetpub\wwwroot\aspnet_client\ and similar locations
  • Suspicious file write operations by Exchange application pool processes (w3wp.exe) to non-standard directories
  • Web shell artifacts with common naming conventions used by threat actors (e.g., error.aspx, supp0rt.aspx, web.aspx)
  • Unusual outbound network connections from Exchange server processes

Detection Strategies

  • Monitor Exchange IIS logs for POST requests to unexpected or newly created .aspx files
  • Implement file integrity monitoring on Exchange server web directories to detect unauthorized file creation
  • Review Windows Security Event logs for anomalous file creation events (Event ID 4663) associated with Exchange processes
  • Deploy endpoint detection and response (EDR) solutions to identify web shell behavior patterns

Monitoring Recommendations

  • Enable verbose logging on Exchange servers and forward logs to a centralized SIEM platform
  • Configure alerts for file creation events in Exchange web directories by the w3wp.exe process
  • Implement network monitoring for command-and-control traffic patterns commonly associated with web shell activity
  • Regularly scan Exchange servers using Microsoft's published detection scripts and IOC scanning tools

How to Mitigate CVE-2021-26858

Immediate Actions Required

  • Apply Microsoft's security updates immediately to all affected Exchange Server installations
  • Conduct forensic analysis on Exchange servers to identify any signs of prior compromise before patching
  • If compromise is detected, follow incident response procedures including isolating affected systems
  • Review external attack surface and consider placing Exchange servers behind additional security controls

Patch Information

Microsoft has released security updates addressing CVE-2021-26858. Organizations should apply the appropriate cumulative update for their Exchange Server version as documented in the Microsoft Security Advisory for CVE-2021-26858. Given the active exploitation status tracked by the CISA Known Exploited Vulnerabilities Catalog, patching should be treated as an emergency priority.

Workarounds

  • Restrict external access to Exchange servers using firewall rules until patches can be applied
  • Implement web application firewall (WAF) rules to filter malicious requests targeting Exchange vulnerabilities
  • Consider disabling Outlook Web Access (OWA) and Exchange Control Panel (ECP) external access if not business-critical
  • Deploy network segmentation to limit lateral movement capabilities if Exchange servers are compromised
bash
# Example: Block external access to Exchange services temporarily
# Run on Windows Firewall or network firewall as appropriate
# Block inbound connections to OWA/ECP from external sources
netsh advfirewall firewall add rule name="Block External OWA" dir=in action=block protocol=tcp localport=443 remoteip=any
# Note: Adjust remoteip to allow internal IPs as needed
# This is a temporary measure - apply Microsoft patches immediately

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 Probability55.06%

  • 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
  • NVD-CWE-noinfo
  • Technical References
  • CISA Known Exploited Vulnerability CVE-2021-26858
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-26858
  • Related CVEs
  • CVE-2020-16875: Microsoft Exchange Server RCE Vulnerability

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

  • CVE-2021-26857: 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