Authenticated code execution via unsafe mailbox deserialization
Published Nov 10, 2021 · Updated Aug 19, 2026
Remote code execution in Microsoft Exchange Server 2016 and 2019 allows remote authenticated users to execute code through Exchange Web Services. Exchange accepts crafted serialized data in the ExtensionMasterTable mailbox configuration, and incomplete ChainedSerializationBinder restrictions permit a ClaimsPrincipal gadget chain. A valid mailbox account and access to Exchange Web Services are required; successful exploitation runs attacker-controlled commands on the server.
Summary
What happened
Remote code execution in Microsoft Exchange Server 2016 and 2019 allows remote authenticated users to execute code through Exchange Web Services. Exchange accepts crafted serialized data in the ExtensionMasterTable mailbox configuration, and incomplete ChainedSerializationBinder restrictions permit a ClaimsPrincipal gadget chain. A valid mailbox account and access to Exchange Web Services are required; successful exploitation runs attacker-controlled commands on the server.
The record
- CVE
- CVE-2021-42321
- Published
- Nov 10, 2021
- Updated
- Aug 19, 2026
- Vendor
- Microsoft
- Product
- Microsoft Exchange Server 2016 Cumulative Update 21
- Classifications
- CWE-502, CWE-184, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 10, 2021CVE publishedPublication date reported by the CVE source.
- Aug 19, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=15.01.0 <15.01.2308.020
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Microsoft Exchange Server ChainedSerializationBinder RCE Metasploit moduleweaponized · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA ransomware-campaign associationransomware
- CISA Known Exploited Vulnerabilities listingknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo