Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-30161

CVE-2022-30161: Windows 10 LDAP RCE Vulnerability

CVE-2022-30161 is a remote code execution vulnerability in Windows 10 Lightweight Directory Access Protocol (LDAP) that enables attackers to execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-30161 Overview

CVE-2022-30161 is a Remote Code Execution vulnerability affecting the Windows Lightweight Directory Access Protocol (LDAP) implementation across multiple versions of Microsoft Windows operating systems. This vulnerability allows remote attackers to execute arbitrary code on affected systems by exploiting weaknesses in how Windows processes LDAP requests.

The vulnerability requires user interaction to exploit, meaning an attacker would need to convince a user to connect to a malicious LDAP server or interact with specially crafted LDAP content. Once successfully exploited, an attacker could gain complete control over the affected system with the privileges of the targeted user.

Critical Impact

Successful exploitation enables remote code execution with full system compromise potential, allowing attackers to execute arbitrary code with user-level privileges on affected Windows systems.

Affected Products

  • Microsoft Windows 10 (all versions including 1607, 1809, 20H2, 21H1, 21H2)
  • Microsoft Windows 11 (x64 and ARM64 architectures)
  • Microsoft Windows 7 SP1
  • Microsoft Windows 8.1
  • Microsoft Windows RT 8.1
  • Microsoft Windows Server 2008 SP2 and R2 SP1
  • Microsoft Windows Server 2012 and R2
  • Microsoft Windows Server 2016 (including 20H2)
  • Microsoft Windows Server 2019
  • Microsoft Windows Server 2022 (including Azure edition)

Discovery Timeline

  • 2022-06-15 - CVE-2022-30161 published to NVD
  • 2025-01-02 - Last updated in NVD database

Technical Details for CVE-2022-30161

Vulnerability Analysis

This vulnerability exists within the Windows LDAP client implementation. LDAP (Lightweight Directory Access Protocol) is a critical protocol used extensively in enterprise environments for directory services, authentication, and authorization queries against Active Directory and other directory services.

The vulnerability is classified as a Remote Code Execution (RCE) flaw that can be exploited over the network. While no authentication is required on the attacker's part to attempt exploitation, user interaction is necessary for successful execution. This typically manifests when a user or application on the vulnerable system initiates a connection to a malicious LDAP server controlled by the attacker.

Given the widespread use of LDAP in enterprise environments for Active Directory integration, authentication workflows, and application configurations, this vulnerability poses significant risk to organizational infrastructure. The potential for full system compromise makes this a priority for remediation.

Root Cause

The root cause involves improper handling of LDAP responses within the Windows LDAP client. When processing specially crafted LDAP data, the client fails to properly validate or sanitize the input, allowing an attacker to manipulate memory or program flow in a way that enables arbitrary code execution.

The vulnerability specifically impacts the wldap32.dll library and related LDAP client components that process directory service responses. The lack of proper bounds checking or input validation on certain LDAP response fields creates the exploitable condition.

Attack Vector

The attack vector is network-based and requires user interaction. A typical attack scenario involves:

  1. The attacker sets up a malicious LDAP server designed to send crafted responses
  2. The attacker lures a victim to connect to this server through social engineering, phishing, or by compromising network configurations
  3. When the victim's system sends an LDAP query to the malicious server, the crafted response triggers the vulnerability
  4. The malicious code executes in the context of the user running the LDAP client application

This vulnerability may be exploited through various means including malicious links in emails, compromised web pages that trigger LDAP connections, or man-in-the-middle attacks on LDAP traffic. Applications that perform automatic LDAP lookups based on user-controlled input are particularly at risk.

Detection Methods for CVE-2022-30161

Indicators of Compromise

  • Unusual outbound connections from Windows systems to unknown LDAP servers (port 389/TCP or 636/TCP for LDAPS)
  • Unexpected process spawning from applications performing LDAP operations
  • Crash events or exceptions in wldap32.dll or related LDAP components visible in Windows Event logs
  • Network traffic containing malformed or unusually large LDAP responses from external servers

Detection Strategies

  • Monitor network traffic for LDAP connections to non-corporate or unexpected external LDAP servers
  • Implement endpoint detection rules to identify suspicious child process creation from LDAP-utilizing applications
  • Configure Windows Event logging to capture application crashes and exceptions related to directory services components
  • Deploy network intrusion detection signatures for malformed LDAP response patterns

Monitoring Recommendations

  • Enable enhanced logging for LDAP client operations through Windows Event Viewer under Applications and Services Logs
  • Implement network segmentation to restrict outbound LDAP connections to authorized directory servers only
  • Deploy SIEM rules to correlate LDAP-related events with other suspicious activity indicators
  • Regularly audit applications and services that utilize LDAP functionality to ensure they connect only to trusted servers

How to Mitigate CVE-2022-30161

Immediate Actions Required

  • Apply the Microsoft security update released as part of the June 2022 Patch Tuesday immediately
  • Audit all systems running affected Windows versions and prioritize patching based on exposure
  • Review network configurations to identify systems with outbound LDAP access to untrusted networks
  • Implement application whitelisting to prevent unauthorized code execution

Patch Information

Microsoft has released security updates addressing this vulnerability as part of the June 2022 security release cycle. Patches are available through Windows Update, Microsoft Update Catalog, and Windows Server Update Services (WSUS) for all affected operating systems.

Organizations should reference the Microsoft Security Update Guide for CVE-2022-30161 for specific KB articles corresponding to their Windows versions. Enterprise environments should test patches in non-production environments before broad deployment while maintaining urgency given the remote code execution impact.

Workarounds

  • Restrict outbound LDAP traffic (ports 389 and 636) at the firewall to only authorized directory servers
  • Implement network segmentation to isolate systems that require LDAP functionality from general user networks
  • Configure proxy or application-layer filtering for LDAP connections where possible to inspect and validate traffic
  • Educate users about phishing risks and the dangers of clicking unknown links that could redirect to malicious servers
bash
# Windows Firewall configuration to restrict outbound LDAP
# Allow LDAP only to known Active Directory servers
netsh advfirewall firewall add rule name="Block Outbound LDAP" dir=out action=block protocol=tcp localport=any remoteport=389,636
netsh advfirewall firewall add rule name="Allow LDAP to AD Server" dir=out action=allow protocol=tcp remoteip=<AD_SERVER_IP> remoteport=389,636

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWindows

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability8.83%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Microsoft CVE-2022-30161 Update
  • Vendor Resources
  • Microsoft Security Advisory CVE-2022-30161
  • Related CVEs
  • CVE-2026-33826: Windows Active Directory RCE Vulnerability

  • CVE-2026-32183: Windows Snipping Tool RCE Vulnerability

  • CVE-2026-32149: Windows Hyper-V RCE Vulnerability

  • CVE-2026-31995: Openclaw Command Injection Vulnerability
Default Legacy - Prefooter | 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