CVE-2022-41082
CVE-2022-41082 is a high-severity vulnerability in Microsoft Exchange Server with a CVSS 3.x base score of 8.0. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2022-09-30). The underlying weakness is classified as CWE-502.
Key facts
- Severity: High (CVSS 3.x base score 8.0)
- EPSS exploit prediction: 100% (100th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2022-09-30)
- EU (EUVD) id: EUVD-2022-44326
- EU exploitation: Flagged exploited in the ENISA EU Vulnerability Database (since 2022-09-30)
- Weakness: CWE-502
- Affected product: Microsoft Exchange Server
- Published:
- Last modified:
Description
Microsoft Exchange Server Remote Code Execution Vulnerability
CVE-2022-41082: Microsoft Exchange Server ProxyNotShell Remote Code Execution
AI-generated analysis based on the vulnerability data on this page.
| Attribute | Value |
|---|---|
| CVE ID | CVE-2022-41082 |
| CWE | CWE-502: Deserialization of Untrusted Data |
| CVSS v3.1 | 8.0 (HIGH) |
| Vector | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 0.99964 (99.975th percentile) |
| KEV | Yes — added 2022-09-30 |
| EU Exploited | Yes — EUVD-2022-44326 |
| Published | 2022-10-03 |
| Assigner | [email protected] |
Summary
CVE-2022-41082 is a remote code execution (RCE) vulnerability in Microsoft Exchange Server. It was disclosed alongside CVE-2022-41040 as part of the attack chain publicly dubbed ProxyNotShell. An authenticated attacker with access to the Exchange environment can exploit this flaw to execute arbitrary commands with SYSTEM-level privileges on the target server.
Background
In late September 2022, security researchers and incident responders observed in-the-wild exploitation of two zero-day vulnerabilities in on-premises Microsoft Exchange Server. The first, CVE-2022-41040, is a server-side request forgery (SSRF) vulnerability. The second, CVE-2022-41082, is the post-authentication RCE vulnerability detailed in this advisory. When chained together, an attacker can achieve unauthenticated remote code execution by first bypassing authentication via the SSRF, then leveraging the deserialization flaw to run arbitrary PowerShell commands.
Root Cause
The vulnerability stems from CWE-502: Deserialization of Untrusted Data. Specifically, the Exchange PowerShell remoting endpoint accepts and deserializes attacker-controlled data without adequate validation. By sending a specially crafted serialized object to the remote PowerShell endpoint (/powershell), an authenticated attacker can trigger unsafe deserialization, leading to arbitrary code execution in the context of the Exchange server process (running as SYSTEM).
The attack vector is adjacent network (AV:A), meaning the attacker must have network access to the Exchange server — typically from an internal network position or via a prior SSRF pivot such as CVE-2022-41040.
Impact
The CVSS v3.1 score of 8.0 (HIGH) reflects the severe confidentiality, integrity, and availability impact:
- Confidentiality: HIGH — Full access to all mailboxes and stored data.
- Integrity: HIGH — Ability to modify, delete, or forge emails and configuration.
- Availability: HIGH — Server can be taken offline or repurposed for further attacks.
The attacker requires low privileges (PR:L) and no user interaction (UI:N), making this highly exploitable once initial access is achieved.
With an EPSS score of 0.99964 and inclusion in both CISA's KEV catalog and the EU's exploited vulnerabilities database, this vulnerability is considered critically likely to be exploited and should be prioritized for immediate remediation.
Exploitation Walkthrough
⚠️ Ethics & Legal Notice: The following is a defensive, high-level description for understanding attack flow. No weaponized exploit code is provided. Unauthorized testing against systems you do not own is illegal.
- Reconnaissance: The attacker identifies an on-premises Exchange Server instance reachable over the network.
- Authentication Bypass (CVE-2022-41040): Using the SSRF flaw, the attacker crafts a request that tricks the Exchange server into authenticating to its own internal PowerShell remoting endpoint on the attacker's behalf.
- Deserialization Payload Delivery: Through the authenticated PowerShell remoting session, the attacker sends a malicious serialized object.
- Code Execution: The Exchange server deserializes the untrusted object, triggering the payload and executing arbitrary commands as
SYSTEM.
From this point, the attacker may deploy webshells, exfiltrate mailboxes, establish persistence, or move laterally within the network.
Affected and Patched Versions
Affected:
- Microsoft Exchange Server 2013 — Cumulative Update 23
- Microsoft Exchange Server 2016 — Cumulative Update 22, Cumulative Update 23
- Microsoft Exchange Server 2019 — Cumulative Update 11, Cumulative Update 12
Patched: Microsoft released security updates in the November 2022 Patch Tuesday cycle. Administrators should apply the latest cumulative update for their Exchange version. Specific patch KB numbers are documented in the Microsoft Security Response Center advisory (see References).
Remediation
- Apply Patches Immediately: Install the November 2022 (or later) cumulative security update for your Exchange Server version. This is the only complete fix.
- Enable Microsoft-recommended URL Rewrite Mitigations: Until patching is possible, Microsoft published IIS URL Rewrite rules to block known ProxyNotShell exploitation patterns. These mitigations are temporary and not a substitute for patching.
- Disable Remote PowerShell for Non-Admin Users: Restrict remote PowerShell access to only those accounts that explicitly require it.
- Network Segmentation: Limit Exchange server exposure to the internet. Require VPN or WAF filtering for all external access.
- EDR / Defender: Ensure Microsoft Defender for Endpoint or equivalent EDR is active on Exchange servers to detect post-exploitation activity.
Detection
- IIS Logs: Look for suspicious
POSTrequests to/autodiscover/autodiscover.json(CVE-2022-41040) followed byPOSTto/powershell. - PowerShell Remoting Logs: Monitor Windows Event ID 400 (PowerShell remoting session start) for anomalous source IPs or non-admin users.
- Process Spawning: Alert on
w3wp.exespawning unusual child processes (e.g.,cmd.exe,powershell.exe). - File System: Hunt for new or modified
.aspx,.ashx, or.svcfiles in Exchange web directories — indicators of webshell deployment. - Network: Suricata/Snort signatures and Microsoft Defender detections for ProxyNotShell activity are available via the references below.
Assessment
CVE-2022-41082 is not merely a theoretical RCE — it is a confirmed, actively exploited zero-day with near-certain exploit probability (EPSS ~99.96%). Its pairing with CVE-2022-41040 created a devastating attack chain that compromised numerous organizations before patches were available.
Key lessons:
- Deserialization is a critical attack surface — Any endpoint that deserializes untrusted input must be treated as high-risk and rigorously audited.
- Zero-day chains amplify risk — The SSRF-to-RCE combination demonstrates how seemingly "lower severity" bugs (e.g., SSRF) can enable catastrophic outcomes when adjacent flaws exist.
Organizations still running unpatched Exchange Server instances should treat this as a critical patching priority and simultaneously hunt for signs of prior compromise.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-41082
- http://packetstormsecurity.com/files/170066/Microsoft-Exchange-ProxyNotShell-Remote-Code-Execution.html
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-41082
- https://www.kb.cert.org/vuls/id/915563
- https://www.secpod.com/blog/microsoft-november-2022-patch-tuesday-patches-65-vulnerabilities-including-6-zero-days/
- https://www.vicarius.io/vsociety/posts/cve-2022-41082-microsoft-exchange-server-remote-code-execution-vulnerability-detection-script
- https://www.vicarius.io/vsociety/posts/cve-2022-41082-microsoft-exchange-server-remote-code-execution-vulnerability-mitigation-script
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-41082
Frequently asked questions
- What is CVE-2022-41082?
- Microsoft Exchange Server Remote Code Execution Vulnerability
- How severe is CVE-2022-41082?
- CVE-2022-41082 has a CVSS 3.x base score of 8.0, rated high severity. It is exploitable over an adjacent network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2022-41082 being actively exploited?
- Yes. CVE-2022-41082 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2022-09-30, which means active exploitation has been confirmed. It should be prioritised for remediation.
- What products are affected by CVE-2022-41082?
- CVE-2022-41082 primarily affects Microsoft Exchange Server. In total, 5 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2022-41082?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
- Does CVE-2022-41082 have an EU (EUVD) identifier?
- Yes. CVE-2022-41082 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2022-44326. It is also flagged as exploited in the EUVD (since 2022-09-30).
- When was CVE-2022-41082 published?
- CVE-2022-41082 was published on 2022-10-03 and last updated on 2026-06-17.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-41082
- http://packetstormsecurity.com/files/170066/Microsoft-Exchange-ProxyNotShell-Remote-Code-Execution.html
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-41082
- https://www.kb.cert.org/vuls/id/915563
- https://www.secpod.com/blog/microsoft-november-2022-patch-tuesday-patches-65-vulnerabilities-including-6-zero-days/
- https://www.vicarius.io/vsociety/posts/cve-2022-41082-microsoft-exchange-server-remote-code-execution-vulnerability-detection-script
- https://www.vicarius.io/vsociety/posts/cve-2022-41082-microsoft-exchange-server-remote-code-execution-vulnerability-mitigation-script
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-41082
Affected products (5)
- cpe:2.3:a:microsoft:exchange_server:2013:cumulative_update_23:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_22:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_23:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2019:cumulative_update_11:*:*:*:*:*:*
- cpe:2.3:a:microsoft:exchange_server:2019:cumulative_update_12:*:*:*:*:*:*
More vulnerabilities in Microsoft Exchange Server
- CVE-2007-0213 — Critical (CVSS 10.0): Microsoft Exchange Server 2000 SP3, 2003 SP1 and SP2, and 2007 does not properly decode certain MIME encoded e-mails,…
- CVE-2004-0840 — Critical (CVSS 10.0): The SMTP (Simple Mail Transfer Protocol) component of Microsoft Windows XP 64-bit Edition, Windows Server 2003, Windows…
- CVE-2004-0574 — Critical (CVSS 10.0): The Network News Transfer Protocol (NNTP) component of Microsoft Windows NT Server 4.0, Windows 2000 Server, Windows…
- CVE-1999-0385 — Critical (CVSS 10.0): The LDAP bind function in Exchange 5.5 has a buffer overflow that allows a remote attacker to conduct a denial of…
- CVE-2024-21410 — Critical (CVSS 9.8): Microsoft Exchange Server Elevation of Privilege Vulnerability
- CVE-2023-21709 — Critical (CVSS 9.8): Microsoft Exchange Server Elevation of Privilege Vulnerability
All CVEs affecting Microsoft Exchange Server →
Other CWE-502 (Deserialization of Untrusted Data) vulnerabilities
- CVE-2026-41104 — Critical (CVSS 10.0): Deserialization of untrusted data in Microsoft Planetary Computer Pro allows an unauthorized attacker to disclose…
- CVE-2026-43633 — Critical (CVSS 10.0): HestiaCP versions 1.9.0 through 1.9.4 contain a deserialization vulnerability in the web terminal component caused by a…
- CVE-2026-33819 — Critical (CVSS 10.0): Deserialization of untrusted data in Microsoft Bing allows an unauthorized attacker to execute code over a network.
- CVE-2026-20131 — Critical (CVSS 10.0): A vulnerability in the web-based management interface of Cisco Secure Firewall Management Center (FMC) Software could…
- CVE-2026-25632 — Critical (CVSS 10.0): EPyT-Flow is a Python package designed for the easy generation of hydraulic and water quality scenario data of water…
- CVE-2025-14931 — Critical (CVSS 10.0): Hugging Face smolagents Remote Python Executor Deserialization of Untrusted Data Remote Code Execution Vulnerability.…
Browse all CWE-502 (Deserialization of Untrusted Data) vulnerabilities →