CVE-2021-26857: Microsoft Exchange Unified Messaging Insecure Deserialization RCE
- Vendor
- Microsoft Corporation
CVE-2021-26857 is an insecure deserialization vulnerability in the Unified Messaging service of on-premises Microsoft Exchange Server. An attacker with administrator permissions, or equivalent access obtained through another vulnerability such as CVE-2021-26855, can exploit unsafe deserialization to execute arbitrary code as SYSTEM on the Exchange server. The vulnerability was exploited in March 2021 attacks attributed to HAFNIUM and is associated with the ProxyLogon vulnerability chain, not ProxyShell. 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 the Exchange server with SYSTEM privileges, threatening the confidentiality, integrity, and availability of its data and services. This level of access enables malware deployment, credential theft, mailbox and file access, and further intrusion into connected networks. Campaigns exploiting the broader ProxyLogon chain deployed persistent web shells and ransomware; these are follow-on activities rather than intrinsic effects of this individual flaw.
Mitigation
If you can’t patch tonight, do this now.
As a temporary measure, disable the Exchange Unified Messaging service in accordance with Microsoft's mitigation guidance, accounting for resulting functionality loss. Disconnect unpatched internet-facing Exchange servers or restrict untrusted access through isolation, access controls, or a VPN to reduce exposure to the initial ProxyLogon compromise stage. Perimeter restrictions do not prevent exploitation by attackers who already have internal or administrative access. Temporary mitigations are not substitutes for patching and do not remediate existing compromise.
Remediation
Patch, then assume compromise.
Apply Microsoft's security update addressing CVE-2021-26857, originally released on March 2, 2021, or a superseding update applicable to the installed Exchange version. Install any required cumulative-update prerequisites and execute updates with administrator privileges. Verify successful installation and service operation. Investigate potentially exposed servers for historical compromise: patching does not remove existing web shells, malware, stolen credentials, or other persistence. If exploitation is discovered, initiate incident response, preserve forensic evidence, and assess network identity compromise.
Exploits
1 exploit validated by Mallory's analysis. 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-26857 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-26857?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2021-26857, the earliest disclosed Mar 11, 2021.
- Is there a patch for CVE-2021-26857?
- Apply Microsoft's security update addressing CVE-2021-26857, originally released on March 2, 2021, or a superseding update applicable to the installed Exchange version. Install any required cumulative-update prerequisites and execute updates with administrator privileges.
- What products are affected by CVE-2021-26857?
- Microsoft Corporation Exchange Server.
- How severe is CVE-2021-26857?
- CVE-2021-26857 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 95.8% (100th percentile) as of Nov 11, 2026.
Recent activity
72 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.