The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-41082

CVE-2022-41082: Microsoft Exchange Server RCE Vulnerability

CVE-2022-41082 is a remote code execution vulnerability in Microsoft Exchange Server that enables attackers to execute arbitrary code on vulnerable systems. This article covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2022-41082 Overview

CVE-2022-41082 is a critical Remote Code Execution vulnerability affecting Microsoft Exchange Server, commonly known as part of the "ProxyNotShell" exploit chain. This vulnerability allows authenticated attackers with network access to execute arbitrary code on vulnerable Exchange servers through insecure deserialization. The flaw resides in the PowerShell backend of Exchange Server and can be exploited in conjunction with CVE-2022-41040 (an SSRF vulnerability) to achieve full remote code execution.

Critical Impact

This vulnerability is actively exploited in the wild and listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. Attackers can achieve remote code execution on vulnerable Microsoft Exchange servers, potentially leading to complete server compromise, data exfiltration, and lateral movement within enterprise networks.

Affected Products

  • Microsoft Exchange Server 2013 Cumulative Update 23
  • Microsoft Exchange Server 2016 Cumulative Update 22 and 23
  • Microsoft Exchange Server 2019 Cumulative Update 11 and 12

Discovery Timeline

  • 2022-10-03 - CVE-2022-41082 published to NVD
  • 2025-10-30 - Last updated in NVD database

Technical Details for CVE-2022-41082

Vulnerability Analysis

CVE-2022-41082 exploits insecure deserialization (CWE-502) within Microsoft Exchange Server's PowerShell Remoting interface. The vulnerability allows an authenticated attacker to invoke arbitrary PowerShell commands through the Exchange backend, ultimately leading to remote code execution with SYSTEM privileges on the target server.

The attack requires the adversary to have valid credentials for the Exchange server and adjacent network access. While this may seem limiting, enterprise environments often have compromised credentials available through phishing or other attacks. Once exploitation is successful, the attacker gains full control over the Exchange server, which typically contains sensitive email communications and serves as a high-value target for lateral movement.

This vulnerability is particularly dangerous because Exchange servers are often exposed to internal networks and may have elevated privileges within Active Directory environments. The combination with CVE-2022-41040 (SSRF) creates a complete attack chain known as "ProxyNotShell," which has been observed in active exploitation campaigns.

Root Cause

The root cause of CVE-2022-41082 is insecure deserialization (CWE-502) in Microsoft Exchange Server's PowerShell backend. The vulnerability exists because the Exchange Server improperly validates serialized data before deserializing it, allowing attackers to craft malicious payloads that execute arbitrary code during the deserialization process.

When an authenticated user sends a specially crafted request to the PowerShell Remoting endpoint, the server deserializes untrusted data without proper validation, enabling code execution in the context of the Exchange Server process.

Attack Vector

The attack requires adjacent network access and low-privilege authenticated access to the Exchange environment. The exploitation flow typically involves:

  1. Attacker obtains valid Exchange credentials through phishing, credential stuffing, or other means
  2. The attacker leverages CVE-2022-41040 (SSRF) to access the PowerShell backend
  3. A malicious serialized payload is crafted and sent to the Exchange PowerShell endpoint
  4. The server deserializes the untrusted payload, triggering arbitrary code execution
  5. The attacker achieves SYSTEM-level access on the Exchange server

The vulnerability can be exploited remotely through the Autodiscover endpoint, making internet-exposed Exchange servers particularly vulnerable targets.

Detection Methods for CVE-2022-41082

Indicators of Compromise

  • Suspicious requests to /autodiscover/autodiscover.json endpoints containing PowerShell in the URL
  • Unexpected child processes spawning from w3wp.exe (IIS worker process) on Exchange servers
  • Evidence of web shell deployment in Exchange web directories
  • Unusual PowerShell command execution originating from Exchange server processes

Detection Strategies

  • Monitor IIS logs for requests containing patterns like /autodiscover/autodiscover.json?@evil.com/&Email=autodiscover/autodiscover.json%3f@evil.com
  • Implement detection rules for suspicious process creation chains involving w3wp.exe spawning cmd.exe, powershell.exe, or other command interpreters
  • Enable PowerShell script block logging and monitor for encoded or obfuscated commands executed in Exchange contexts
  • Deploy network-based detection for anomalous traffic patterns to Exchange AutoDiscover endpoints

Monitoring Recommendations

  • Enable and review Exchange Server HttpProxy logs for unusual Autodiscover requests
  • Configure SIEM alerts for process creation events where w3wp.exe is the parent process
  • Monitor Exchange server file system for unauthorized modifications, particularly in web-accessible directories
  • Review authentication logs for failed or successful login attempts from unexpected sources or at unusual times

How to Mitigate CVE-2022-41082

Immediate Actions Required

  • Apply Microsoft's security updates immediately from the Microsoft Update Guideline
  • If patching is not immediately possible, implement URL Rewrite rules to block known exploitation patterns
  • Restrict network access to Exchange servers from untrusted networks
  • Review Exchange server logs for signs of previous exploitation attempts

Patch Information

Microsoft has released security updates to address CVE-2022-41082 as part of the November 2022 Patch Tuesday. Organizations should apply the latest cumulative updates for their Exchange Server version. Refer to the Microsoft Security Advisory for detailed patching guidance and download links.

Additional technical resources:

  • CERT Vulnerability Advisory
  • CISA Known Exploited Vulnerabilities Entry

Workarounds

  • Implement URL Rewrite rules to block requests matching ProxyNotShell exploitation patterns
  • Disable remote PowerShell access for non-administrative users where possible
  • Use network segmentation to limit access to Exchange management interfaces
  • Consider placing Exchange servers behind a web application firewall (WAF) configured to detect deserialization attacks
bash
# IIS URL Rewrite rule to mitigate CVE-2022-41082 (ProxyNotShell)
# Add this rule in IIS Manager > Default Web Site > URL Rewrite > Add Rule(s)
# Block pattern: .*autodiscover\.json.*PowerShell.*

# Alternative: PowerShell command to add mitigation rule
New-WebConfigurationProperty -PSPath "IIS:\Sites\Default Web Site" -Filter "system.webServer/rewrite/rules" -Name "." -Value @{name='ProxyNotShell-Mitigation';stopProcessing='true'}
Set-WebConfigurationProperty -PSPath "IIS:\Sites\Default Web Site" -Filter "system.webServer/rewrite/rules/rule[@name='ProxyNotShell-Mitigation']/match" -Name "url" -Value ".*autodiscover\.json.*PowerShell.*"
Set-WebConfigurationProperty -PSPath "IIS:\Sites\Default Web Site" -Filter "system.webServer/rewrite/rules/rule[@name='ProxyNotShell-Mitigation']/action" -Name "type" -Value "AbortRequest"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Exchange

  • SeverityHIGH

  • CVSS Score8.0

  • EPSS Probability91.69%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-502
  • Technical References
  • Packet Storm Exploit

  • CERT Vulnerability ID

  • SecPod Blog Patch Analysis

  • Vicarius Detection Script

  • Vicarius Mitigation Script

  • CISA Known Exploited Vulnerabilities
  • Vendor Resources
  • Microsoft Update Guideline

  • Microsoft Security Advisory
  • Related CVEs
  • CVE-2020-16875: Microsoft Exchange Server RCE Vulnerability

  • CVE-2021-26858: Microsoft Exchange Server RCE Vulnerability

  • CVE-2021-27065: Microsoft Exchange Server RCE Vulnerability

  • CVE-2021-26857: Microsoft Exchange Server RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English