← Vulnerability feed

Vulnerability record · CVE-2021-27065 · published 3 March 2021

CVE-2021-27065: Microsoft Exchange Server path traversal leading to remote code execution

Microsoft · Exchange Server

CVE-2021-27065 is a path traversal (CWE-22) flaw in Microsoft Exchange Server that allows an attacker to write files to arbitrary locations, which can be leveraged to achieve remote code execution. It is part of the ProxyLogon exploit chain and is listed in CISA's Known Exploited Vulnerabilities catalog, so it matters to any organization still running unpatched Exchange.

7.8 CVSS 3.1 High CISA KEV since 3 Nov 2021 Known ransomware use EPSS 100% · top 0.1% CWE-22 · Path traversal
7.8CVSS 3.1 base score, v2 6.8
100%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
5References, 2 tagged exploit
19 Aug 2026Last modified by NVD

Description

Microsoft Exchange Server Remote Code Execution Vulnerability

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

Automated analysis

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

critical priorityIt is in CISA KEV with known ransomware use, has near-certain EPSS probability, and public exploit code exists, making unpatched Exchange servers an immediate compromise risk.

What it is

CVE-2021-27065 is a path traversal (CWE-22) flaw in Microsoft Exchange Server that allows an attacker to write files to arbitrary locations, which can be leveraged to achieve remote code execution. It is part of the ProxyLogon exploit chain and is listed in CISA's Known Exploited Vulnerabilities catalog, so it matters to any organization still running unpatched Exchange.

Impact

An attacker can write attacker-controlled files to arbitrary paths on the Exchange server and execute code, gaining a foothold with the privileges of the Exchange service. CISA records known ransomware campaign use, so a successful compromise can escalate to broader network intrusion and ransomware deployment.

Attack surface

The CVSS vector is AV:L/PR:N/UI:R, indicating the flaw is reached locally with no privileges but requires user interaction; the description and ProxyLogon references indicate the Exchange web-facing service is the practical entry point. No authentication is required per the vector, but the record does not detail the exact request path.

Exploitation

CISA KEV lists it as actively exploited with known ransomware campaign use, and EPSS is 0.99876 (99.963rd percentile), so exploitation is effectively certain. Public exploit code is referenced on Packet Storm, confirming weaponized availability.

What to do

  • Apply the Microsoft Exchange security updates referenced in the MSRC advisory immediately.
  • Run the Microsoft Exchange On-Premises Mitigation Tool or the ProxyLogon detection script to find and remediate compromised servers.
  • Isolate or rebuild any Exchange server showing indicators of compromise before returning it to service.
  • Restrict external access to Exchange OWA/ECP endpoints until patching is complete.
  • Rotate credentials and review for persistence mechanisms after patching, since exploitation may have already occurred.

Detection

  • Hunt for suspicious file writes to Exchange web directories (e.g., aspnet_client, owa, ecp) outside normal deployment windows.
  • Monitor for w3wp.exe spawning child processes such as cmd.exe, powershell.exe, or net.exe.
  • Review Exchange logs for anomalous ECP/OWA requests matching known ProxyLogon patterns.
  • Alert on creation of webshell-like files (.aspx, .ashx) in Exchange virtual directories.

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

Exploitation in the wild

CISA added CVE-2021-27065 to the Known Exploited Vulnerabilities catalog on 3 November 2021 as "Microsoft Exchange Server Remote Code Execution Vulnerability". CISA reports known use in ransomware campaigns. Required action: Apply updates per vendor instructions. Federal deadline 3 May 2022.

Affected products

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

References

Track CVE-2021-27065 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-27065), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.