A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-21236

CVE-2026-21236: Windows 10 1607 Privilege Escalation Flaw

CVE-2026-21236 is a heap-based buffer overflow in Windows 10 1607 Ancillary Function Driver for WinSock that enables local privilege escalation. This article covers technical details, affected systems, and mitigation.

Updated: May 16, 2026

CVE-2026-21236 Overview

CVE-2026-21236 is a heap-based buffer overflow in the Windows Ancillary Function Driver for WinSock (afd.sys). The flaw allows an authorized local attacker to elevate privileges to SYSTEM on affected Windows and Windows Server releases. Microsoft published the advisory on February 10, 2026, covering Windows 10, Windows 11 (through 25H2), and Windows Server editions from 2012 through 2025. The vulnerability is tracked under [CWE-122] (heap-based buffer overflow) and [CWE-787] (out-of-bounds write).

Critical Impact

A local attacker with low-privileged authenticated access can corrupt kernel heap memory through afd.sys and gain SYSTEM-level code execution, leading to full compromise of confidentiality, integrity, and availability.

Affected Products

  • Microsoft Windows 10 (1607, 1809, 21H2, 22H2) across x86, x64, and ARM64 builds
  • Microsoft Windows 11 (23H2, 24H2, 25H2) across x64 and ARM64 builds
  • Microsoft Windows Server 2012, 2012 R2, 2016, 2019, 2022, 2022 23H2, and 2025

Discovery Timeline

  • 2026-02-10 - CVE-2026-21236 published to NVD
  • 2026-02-11 - Last updated in NVD database

Technical Details for CVE-2026-21236

Vulnerability Analysis

The Ancillary Function Driver for WinSock (afd.sys) is the kernel-mode driver that backs user-mode WinSock socket operations through the \Device\Afd device object. The driver processes IOCTL requests issued by socket APIs such as WSAIoctl and NtDeviceIoControlFile. CVE-2026-21236 stems from improper validation of a size or length value used during a heap allocation or copy inside afd.sys, resulting in an out-of-bounds write on a kernel pool buffer.

Because afd.sys executes in kernel context, corrupting an adjacent pool chunk allows an attacker to overwrite kernel object fields. Practical exploitation paths against similar AFD bugs have targeted pool header metadata or pipe attribute objects to gain arbitrary read/write primitives, then replaced the current process token with the SYSTEM token.

Root Cause

The root cause is a heap-based buffer overflow ([CWE-122]) combined with an out-of-bounds write ([CWE-787]) inside the WinSock ancillary driver. A length value derived from attacker-controlled IOCTL input is trusted without sufficient bounds checking, causing the driver to write past the end of a kernel heap allocation.

Attack Vector

Exploitation requires local, authenticated access. The attacker opens a handle to the AFD device, then issues a crafted IOCTL with malformed input or output buffer parameters. No user interaction is required, and the attack runs in a single security context. Microsoft has not reported in-the-wild exploitation, and the CVE is not listed in the CISA Known Exploited Vulnerabilities catalog as of publication.

No verified public proof-of-concept exists for CVE-2026-21236 at the time of writing. Refer to the Microsoft Security Update Guide entry for CVE-2026-21236 for vendor technical details.

Detection Methods for CVE-2026-21236

Indicators of Compromise

  • Unexpected child processes (for example cmd.exe, powershell.exe) spawned from low-privileged user processes running as NT AUTHORITY\SYSTEM.
  • Process token replacement events where a non-elevated process suddenly references the SYSTEM token.
  • Kernel bugchecks referencing afd.sys or pool corruption stop codes such as BAD_POOL_HEADER (0x19) shortly after suspicious IOCTL activity.

Detection Strategies

  • Hunt for unusual local processes opening handles to \Device\Afd followed by privilege transitions in the same parent-child chain.
  • Correlate Windows Security event ID 4688 (process creation) with sudden integrity-level elevation from Medium to System on the same user session.
  • Apply behavioral identification rules that flag user-mode binaries triggering kernel pool corruption telemetry from Event Tracing for Windows (ETW) kernel providers.

Monitoring Recommendations

  • Enable command-line auditing and PowerShell script block logging on all endpoints to capture local elevation tooling.
  • Forward Windows kernel and security event logs to a central SIEM or data lake for cross-host correlation.
  • Monitor patch deployment status of the February 2026 Microsoft security rollup across the Windows estate and alert on hosts that remain unpatched.

How to Mitigate CVE-2026-21236

Immediate Actions Required

  • Apply the February 2026 Microsoft security update for every affected Windows and Windows Server SKU listed in the advisory.
  • Prioritize multi-user systems, terminal servers, virtual desktop hosts, and developer workstations where local accounts are most prevalent.
  • Audit local account membership and remove unnecessary interactive logon rights to reduce the population of users who can trigger the flaw.

Patch Information

Microsoft has released cumulative security updates that address CVE-2026-21236. Refer to the Microsoft Security Update Guide for CVE-2026-21236 for the specific KB article and build numbers that apply to each supported Windows and Windows Server release.

Workarounds

  • No vendor-supplied workaround exists; patching is the only supported remediation.
  • Restrict local logon and Remote Desktop access to administrators only on servers that cannot be patched immediately.
  • Enforce application allowlisting (for example Windows Defender Application Control) to block execution of unsigned local elevation tools while patching is in progress.
bash
# Verify patch installation status on a Windows host
wmic qfe list brief /format:table

# Or with PowerShell, list installed updates and filter by KB
Get-HotFix | Sort-Object -Property InstalledOn -Descending | Select-Object -First 20

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechWindows

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122

  • CWE-787
  • Vendor Resources
  • Microsoft Security Update CVE-2026-21236
  • Related CVEs
  • CVE-2026-41088: Windows 10 21h2 Privilege Escalation Flaw

  • CVE-2026-41095: Windows Server 2012 Privilege Escalation

  • CVE-2026-40382: Windows 10 1607 Privilege Escalation Flaw

  • CVE-2026-40397: Windows 10 1607 Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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