← Vulnerability feed

Vulnerability record · CVE-2021-31195 · published 11 May 2021

CVE-2021-31195: Microsoft Exchange Server remote code execution flaw

Microsoft · Exchange Server

CVE-2021-31195 is a remote code execution vulnerability in Microsoft Exchange Server, per the vendor description. The record is thin: it gives no root-cause detail beyond a generic RCE label and a CWE entry for authentication bypass by spoofing, so the exact mechanism is not established by the supplied facts. It matters because Exchange is an internet-facing mail and collaboration service, and the CVSS vector indicates a network-reachable issue requiring user interaction.

6.5 CVSS 3.1 Medium EPSS 74% · top 0.5% CWE-290 · Authentication bypass by spoofing
6.5CVSS 3.1 base score, v2 6.8
74%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

Description

Microsoft Exchange Server Remote Code Execution Vulnerability

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: medium.

high priorityThe flaw is a network-reachable RCE in internet-facing Exchange with a very high EPSS score, though the record lacks KEV listing, exploit tags and technical detail.

What it is

CVE-2021-31195 is a remote code execution vulnerability in Microsoft Exchange Server, per the vendor description. The record is thin: it gives no root-cause detail beyond a generic RCE label and a CWE entry for authentication bypass by spoofing, so the exact mechanism is not established by the supplied facts. It matters because Exchange is an internet-facing mail and collaboration service, and the CVSS vector indicates a network-reachable issue requiring user interaction.

Impact

The stated impact is remote code execution, which would let an attacker run code in the context of the Exchange service. The CVSS vector scores only confidentiality as high (C:H/I:N/A:N), so the record does not substantiate integrity or availability effects.

Attack surface

Reachable over the network (AV:N) with no privileges required (PR:N), but user interaction is required (UI:R), so exploitation depends on a victim triggering the malicious action. No specific Exchange endpoint, protocol or component is named in the record.

Exploitation

Not listed in CISA KEV and no ransomware use is documented, but EPSS is very high at 0.73676 (99.4th percentile), indicating strong predicted exploitation activity. The only references are Microsoft patch and vendor advisory links, with no public exploit or in-the-wild reporting tags.

What to do

  • Apply the Microsoft security update for CVE-2021-31195 referenced in the vendor advisory as the first action.
  • Confirm Exchange Server builds are current, since this CVE was published alongside other Exchange fixes in the May 2021 cycle.
  • Restrict external exposure of Exchange services (OWA, ECP, Autodiscover) to reduce reachable attack surface.
  • Treat inbound mail and links as untrusted and reinforce user awareness, because the vector requires user interaction.
  • Monitor for anomalous child processes or web-shell-like activity spawned by Exchange worker processes.

Detection

  • Hunt for unexpected processes spawned by Exchange IIS or worker processes (w3wp.exe, MSExchange*) on mailbox and CAS servers.
  • Review Exchange and IIS logs for unusual requests or authentication patterns around the time of suspected activity.
  • Alert on new or modified files in Exchange web directories and on suspicious script files written there.
  • Correlate endpoint telemetry for command-shell or scripting activity originating from Exchange service accounts.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-31195 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-21410Microsoft Exchange Server improper authentication privilege escalationCVE-2024-21410 is an improper authentication (CWE-287) elevation of privilege flaw in Microsoft Exchange Server. It is network-reachable with no priv…KEVEPSS 13%analysed9.1CVE-2021-34473Microsoft Exchange Server SSRF Enables Remote Code ExecutionCVE-2021-34473 is a critical server-side request forgery (SSRF) flaw in Microsoft Exchange Server that leads to remote code execution. It is part of …KEVEPSS 100%analysed9.1CVE-2021-26855Microsoft Exchange Server SSRF enabling remote code executionCVE-2021-26855 is a server-side request forgery (CWE-918) in Microsoft Exchange Server that is part of the ProxyLogon exploit chain and can lead to r…KEVEPSS 100%analysed9.0CVE-2021-34523Microsoft Exchange Server privilege escalation flawCVE-2021-34523 is a privilege escalation vulnerability in Microsoft Exchange Server. It is a component of the ProxyShell exploit chain, where it is u…KEVEPSS 100%analysed8.8CVE-2023-21529Microsoft Exchange Server deserialization flaw enables remote code executionCVE-2023-21529 is a deserialization of untrusted data vulnerability (CWE-502) in Microsoft Exchange Server that allows remote code execution. It carr…KEVEPSS 59%analysed8.8CVE-2022-41080Microsoft Exchange Server elevation of privilegeCVE-2022-41080 is an elevation of privilege vulnerability in Microsoft Exchange Server. A network-reachable attacker with low privileges can exploit …KEVEPSS 77%analysed8.8CVE-2022-41040Microsoft Exchange Server SSRF elevation of privilegeCVE-2022-41040 is a server-side request forgery (SSRF) flaw in Microsoft Exchange Server that allows an authenticated attacker to escalate privileges…KEVEPSS 100%analysed8.8CVE-2021-42321Microsoft Exchange Server remote code execution flawCVE-2021-42321 is a remote code execution vulnerability in Microsoft Exchange Server. It is remotely reachable over the network with low complexity, …KEVEPSS 92%analysed

Source: NIST National Vulnerability Database (record CVE-2021-31195), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.