CVE-2021-26858: Post-authentication arbitrary file write in Microsoft Exchange Server
- Vendor
- Microsoft Corporation
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.
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.
Exploits
No validated public exploits yet. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
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.
References
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.
Recent activity
77 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.