Skip to main content
Mallory
← Back to News
actively-exploited-vulnerabilitywidely-deployed-product-advisoryprivilege-escalation-methodendpoint-security-bypass

Microsoft Exchange Server Flaws Enabled Spoofing, Security Bypass, and SYSTEM-Level Access

Active Exploitation · 3 sources · Updated 5mo ago · First seen May 25, 2026

Microsoft Exchange Server Flaws Enabled Spoofing, Security Bypass, and SYSTEM-Level Access

Microsoft disclosed multiple vulnerabilities in on-premises Exchange Server, including CVE-2021-31207 (security feature bypass), CVE-2021-31209 (spoofing), and CVE-2022-41040 (elevation of privilege). The issues affected Exchange deployments rather than Exchange Online, extending a pattern of high-impact weaknesses in the mail platform that could undermine trust boundaries, enable impersonation, and weaken built-in protections.

Among them, CVE-2022-41040 was rated Critical with a CVSS 3.1 score of 8.8, and Microsoft said exploitation had been detected in the wild before public disclosure. The flaw required an authenticated attacker with low privileges and no user interaction, and successful exploitation could allow the attacker to run PowerShell as SYSTEM. Microsoft later released security updates and directed Exchange Server customers to apply mitigations and patches for the reported zero-day issues.

Why it matters

Impact assessment

On-premises Microsoft Exchange Server deployments are affected; Exchange Online is not. The most severe issue in this story, CVE-2022-41040, enables an authenticated low-privilege attacker to escalate to SYSTEM and execute PowerShell, creating high risk of mailbox compromise, server takeover, lateral movement, and operational disruption.

Microsoft confirmed exploitation in the wild for CVE-2022-41040 before public disclosure, which raises urgency for any organization still operating vulnerable on-premises Exchange. The exposure is broad across Exchange Server customers rather than a single vertical, with especially high impact for enterprises, government, education, healthcare, and other sectors that rely on self-managed Exchange for core communications.

Supporting facts

  • Affected product: Microsoft Exchange Server on-premises.
  • Not affected: Exchange Online customers do not need to take action for CVE-2022-41040.
  • Vulnerability themes in this story: security feature bypass, spoofing, and elevation of privilege.
  • Named CVEs: CVE-2021-31207, CVE-2021-31209, CVE-2022-41040.
  • Known exploitation: Microsoft assessed CVE-2022-41040 as Exploitation Detected and stated it was exploited in the wild at initial publication.
  • Business impact of SYSTEM-level PowerShell on Exchange: potential unauthorized mailbox access, persistence, message impersonation, abuse of trusted mail infrastructure, and follow-on compromise of adjacent Windows systems.
This is being exploited nowSee which actors are running it and whether you're in range.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · May 11, 2021 – Nov 8, 2022
  1. Nov 8, 20224y ago

    Microsoft releases security updates for CVE-2022-41040

    Microsoft later released security updates addressing CVE-2022-41040. The fixes were made available on 2022-11-08.

  2. Sep 30, 20224y ago

    Microsoft discloses Exchange Server vulnerability CVE-2022-41040

    Microsoft disclosed CVE-2022-41040, an elevation-of-privilege vulnerability affecting Microsoft Exchange Server. Microsoft said exploitation had been detected in the wild and advised Exchange Server customers to follow mitigation guidance for the reported Exchange zero-days.

  3. May 11, 20216y ago

    Microsoft publishes Exchange Server fixes for CVE-2021-31207 and CVE-2021-31209

    Microsoft listed CVE-2021-31207, a Microsoft Exchange Server security feature bypass vulnerability, and CVE-2021-31209, a Microsoft Exchange Server spoofing vulnerability, in its Security Update Guide. Both advisories were published on 2021-05-11.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?Correlate live exploitation activity against the software you actually run, and see where you're exposed.
See Who's Exploiting This
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.