Skip to content
Server Security Center
KEVhigh7.8 Used in ransomware campaigns

CVE-2021-27065: Microsoft Exchange Server Remote Code Execution

Microsoft Exchange Server · listed in the CISA catalog of actively exploited vulnerabilities since 2021-11-03.

CVSS v3.1 (CVE record)
7.8
high
EPSS (exploit probability, 30 days)
99.8%
among the highest 0.1% of all CVEs
Added to CISA KEV
2021-11-03
US federal due date 2022-05-03
Automatable (CISA SSVC)
yes
technical impact: total

CVE-2021-27065 explained

CVE-2021-27065 is a remote code execution vulnerability in Microsoft Exchange Server, classified as a path traversal weakness (CWE-22). It is part of the ProxyLogon exploit chain. CISA lists it as known exploited, including in ransomware campaigns, which makes patching unpatched Exchange servers a priority.

Impact

Successful exploitation allows code execution on the Exchange server, with high impact on confidentiality, integrity and availability. The CVSS vector lists a local attack vector, no privileges and required user interaction. CISA rates it automatable, meaning attackers can exploit it at scale. Its technical impact is total, meaning full control of the affected component. Attackers are known to use it, including in ransomware campaigns.

Who is affected

The record lists Microsoft Exchange Server 2013 Cumulative Update 21, 22 and 23 and Service Pack 1, and Exchange Server 2016 Cumulative Update 10 through 17, all on x64. Each release has its own fixed build. Examples are 15.00.1497.012 for 2013 CU23, 15.00.0847.064 for 2013 SP1 and 15.01.2044.013 for 2016 CU17. Earlier builds of each release are affected. The page lists 13 further products.

Written with AI from the data on this page and checked against it automatically.

Official description

Microsoft Exchange Server contains an unspecified vulnerability that allows for remote code execution. This vulnerability is part of the ProxyLogon exploit chain.

CISA required action: Apply updates per vendor instructions.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Microsoft Exchange Server 2013 Cumulative Update 21x64
    Affected
    • < 15.00.1395.012
    Fixed in
    • 15.00.1395.012
  • Microsoft Exchange Server 2013 Cumulative Update 22x64
    Affected
    • < 15.00.1473.006
    Fixed in
    • 15.00.1473.006
  • Microsoft Exchange Server 2013 Cumulative Update 23x64
    Affected
    • < 15.00.1497.012
    Fixed in
    • 15.00.1497.012
  • Microsoft Exchange Server 2013 Service Pack 1x64
    Affected
    • < 15.00.0847.064
    Fixed in
    • 15.00.0847.064
  • Microsoft Exchange Server 2016 Cumulative Update 10x64
    Affected
    • < 15.01.1531.012
    Fixed in
    • 15.01.1531.012
  • Microsoft Exchange Server 2016 Cumulative Update 11x64
    Affected
    • < 15.01.1591.018
    Fixed in
    • 15.01.1591.018
  • Microsoft Exchange Server 2016 Cumulative Update 12x64
    Affected
    • < 15.01.1713.010
    Fixed in
    • 15.01.1713.010
  • Microsoft Exchange Server 2016 Cumulative Update 13x64
    Affected
    • < 15.01.1779.008
    Fixed in
    • 15.01.1779.008
  • Microsoft Exchange Server 2016 Cumulative Update 14x64
    Affected
    • < 15.01.1847.012
    Fixed in
    • 15.01.1847.012
  • Microsoft Exchange Server 2016 Cumulative Update 15x64
    Affected
    • < 15.01.1913.012
    Fixed in
    • 15.01.1913.012
Show 15 more products
  • Microsoft Exchange Server 2016 Cumulative Update 16x64
    Affected
    • < 15.01.1979.008
    Fixed in
    • 15.01.1979.008
  • Microsoft Exchange Server 2016 Cumulative Update 17x64
    Affected
    • < 15.01.2044.013
    Fixed in
    • 15.01.2044.013
  • Microsoft Exchange Server 2016 Cumulative Update 18x64
    Affected
    • < 15.01.2106.013
    Fixed in
    • 15.01.2106.013
  • Microsoft Exchange Server 2016 Cumulative Update 19x64
    Affected
    • < 15.01.2176.009
    Fixed in
    • 15.01.2176.009
  • Microsoft Exchange Server 2016 Cumulative Update 8x64
    Affected
    • < 15.01.1415.010
    Fixed in
    • 15.01.1415.010
  • Microsoft Exchange Server 2016 Cumulative Update 9x64
    Affected
    • < 15.01.1466.016
    Fixed in
    • 15.01.1466.016
  • Microsoft Exchange Server 2019x64
    Affected
    • < 15.02.0221.018
    Fixed in
    • 15.02.0221.018
  • Microsoft Exchange Server 2019 Cumulative Update 1x64
    Affected
    • < 15.01.1979.006
    Fixed in
    • 15.01.1979.006
  • Microsoft Exchange Server 2019 Cumulative Update 2x64
    Affected
    • < 15.02.0397.011
    Fixed in
    • 15.02.0397.011
  • Microsoft Exchange Server 2019 Cumulative Update 3x64
    Affected
    • < 15.02.0464.015
    Fixed in
    • 15.02.0464.015
  • Microsoft Exchange Server 2019 Cumulative Update 4x64
    Affected
    • < 15.02.0659.012
    Fixed in
    • 15.02.0659.012
  • Microsoft Exchange Server 2019 Cumulative Update 5x64
    Affected
    • < 15.02.0595.008
    Fixed in
    • 15.02.0595.008
  • Microsoft Exchange Server 2019 Cumulative Update 6x64
    Affected
    • < 15.02.0529.013
    Fixed in
    • 15.02.0529.013
  • Microsoft Exchange Server 2019 Cumulative Update 7x64
    Affected
    • < 15.02.0721.013
    Fixed in
    • 15.02.0721.013
  • Microsoft Exchange Server 2019 Cumulative Update 8x64
    Affected
    • < 15.02.0792.010
    Fixed in
    • 15.02.0792.010

How to fix it

  • Update to the fixed version for your product:
    • Microsoft Exchange Server 2013 Cumulative Update 21: 15.00.1395.012
    • Microsoft Exchange Server 2013 Cumulative Update 22: 15.00.1473.006
    • Microsoft Exchange Server 2013 Cumulative Update 23: 15.00.1497.012
    • Microsoft Exchange Server 2013 Service Pack 1: 15.00.0847.064
    • Microsoft Exchange Server 2016 Cumulative Update 10: 15.01.1531.012
    • Microsoft Exchange Server 2016 Cumulative Update 11: 15.01.1591.018
    Fixed versions for 19 more products are in the table above.
  • Vendor advisory: msrc.microsoft.com/update-guide/vulnerability/CVE-2021-27065
  • CISA's deadline for US federal agencies: 2022-05-03 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Identify all Exchange servers and their cumulative update and build numbers.
  2. Install Microsoft's security update so each server reaches the fixed build listed for its cumulative update.
  3. Follow the Microsoft advisory for the correct update package for each release.
  4. Check servers for signs of compromise, since this flaw is known to be exploited, including by ransomware operators.
  5. Restrict network exposure of Exchange servers, keeping administrative interfaces off the internet.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Questions about CVE-2021-27065

Is CVE-2021-27065 being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2021-11-03 and notes known ransomware use. US federal agencies had to apply updates by 2022-05-03.
How does it relate to ProxyLogon?
The description states that this vulnerability is part of the ProxyLogon exploit chain affecting Microsoft Exchange Server.
What does CISA require?
CISA's required action is to apply updates per vendor instructions.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.