Skip to main content
Mallory
HighExploited in the wildCISA KEVVulnerability

CVE-2021-26858: Post-authentication arbitrary file write in Microsoft Exchange Server

Published Mar 2, 2021 · Updated 5 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS7.8High · v3.1
EPSS93.7%100th percentile
CISA KEVYesAdded Nov 3, 2021
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2021-26858CWE-73

CVE-2021-26858 is a post-authentication arbitrary file-write vulnerability in on-premises Microsoft Exchange Server, associated with the ProxyLogon exploitation chain. An authenticated attacker can write a file to an arbitrary path on the server, enabling web shell deployment and subsequent remote code execution. Authentication can be obtained through compromised administrator credentials or by chaining exploitation with CVE-2021-26855. The vulnerability was actively exploited before Microsoft released out-of-band security updates on March 2, 2021. Exchange Online is not affected.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises server integrity through arbitrary file creation and can enable remote code execution by placing attacker-controlled code in a server-executable location. Observed exploitation of the associated Exchange attack chain included persistent web shells, mailbox and credential theft, additional malware installation, ransomware deployment, cryptomining, and lateral movement. These follow-on outcomes depend on the deployed payloads and the access available from the compromised server.

Mitigation

If you can’t patch tonight, do this now.

Until patching is complete, disconnect vulnerable Exchange servers from the internet or restrict untrusted HTTPS access through network isolation, allowlisting, or VPN access. Restrict access to Outlook Web Access and Exchange Control Panel where operationally feasible. Microsoft's Exchange On-premises Mitigation Tool and temporary measures involving IIS rewrite rules and disabling selected Exchange virtual directories or services can reduce exposure, but may affect functionality and do not cover every exploitation method. Perimeter restrictions do not stop attackers who already have internal access. Monitor Exchange and IIS logs, web-directory integrity, and suspicious server process execution for exploitation and web shell activity.

Remediation

Patch, then assume compromise.

Install Microsoft's March 2, 2021 security update addressing CVE-2021-26858, or a subsequent applicable update that includes the fix. The original patch prerequisites were Exchange Server 2013 CU23, Exchange Server 2016 CU18 or CU19, and Exchange Server 2019 CU7 or CU8; installations on older cumulative updates required an appropriate prerequisite upgrade. Apply updates with administrator privileges and verify successful installation. Investigate potentially exposed servers for historical exploitation, web shells, unauthorized account changes, and persistence. Patching does not remove an existing compromise: isolate compromised systems, preserve forensic evidence, eradicate attacker access, and reset compromised credentials as part of incident response.

Public exploits

Exploits

No validated public exploits yet. Hidden: 2 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationExchange Serverapplication
FAQ

Frequently asked questions

Is CVE-2021-26858 exploited in the wild?
Yes. As of Nov 11, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
Is there a public exploit for CVE-2021-26858?
As of Nov 11, 2026, Mallory has found no public exploit for CVE-2021-26858.
Is there a patch for CVE-2021-26858?
Install Microsoft's March 2, 2021 security update addressing CVE-2021-26858, or a subsequent applicable update that includes the fix. The original patch prerequisites were Exchange Server 2013 CU23, Exchange Server 2016 CU18 or CU19, and Exchange Server 2019 CU7 or CU8; installations on older cumulative updates required an appropriate prerequisite upgrade.
What products are affected by CVE-2021-26858?
Microsoft Corporation Exchange Server.
How severe is CVE-2021-26858?
CVE-2021-26858 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 93.7% (100th percentile) as of Nov 11, 2026.
Activity feed

Recent activity

77 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+54 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence72Every report linking this CVE to a named adversary.
Associated malware72Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.