Skip to main content
Vulnerability Database/CVE-2026-69802

CVE-2026-69802: Network Device Enrollment Service RCE Flaw

CVE-2026-69802 is a remote code execution vulnerability in Network Device Enrollment Service caused by weak authentication mechanisms. Attackers can exploit this flaw to execute unauthorized code remotely. This article covers technical details, affected systems, impact assessment, and mitigation strategies.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-69802 Overview

CVE-2026-69802 is a weak authentication vulnerability in the Microsoft Network Device Enrollment Service (NDES). The flaw lets an unauthenticated attacker execute code over a network against an affected NDES endpoint. NDES is a role service of Active Directory Certificate Services (AD CS) that issues certificates to network devices using the Simple Certificate Enrollment Protocol (SCEP). The weakness maps to [CWE-1390: Weak Authentication], which Microsoft documents in the Microsoft Security Update guidance.

Critical Impact

An unauthenticated network attacker who successfully exploits CVE-2026-69802 can execute code against NDES with full confidentiality, integrity, and availability impact, placing the broader AD CS trust chain at risk.

Affected Products

  • Microsoft Network Device Enrollment Service (NDES)
  • Active Directory Certificate Services (AD CS) role deploying NDES
  • Windows Server hosts exposing SCEP enrollment endpoints

Discovery Timeline

  • 2026-10-13 - CVE-2026-69802 published to the National Vulnerability Database
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-69802

Vulnerability Analysis

NDES brokers certificate enrollment between network devices and an enterprise Certificate Authority (CA) using SCEP. The service accepts enrollment requests over HTTP/HTTPS and validates requesters before forwarding Certificate Signing Requests (CSRs) to the CA. CVE-2026-69802 stems from weak authentication logic in that request-handling path. An attacker who reaches the NDES endpoint over the network can bypass the intended authentication checks and drive the service into executing attacker-controlled code.

The attack vector is network-based and requires no privileges or user interaction. Microsoft classifies the attack complexity as high, meaning the attacker must satisfy specific preconditions, such as timing, request shaping, or environment state, before the weak authentication path is reached. Successful exploitation yields high impact across confidentiality, integrity, and availability on the host running NDES.

Root Cause

The root cause is improper enforcement of authentication on an NDES code path reachable before identity is fully established. Under [CWE-1390], the service treats a request as sufficiently authenticated when the supplied credentials or protocol state do not meet the security guarantees required for the downstream action, in this case code execution within the NDES process context.

Attack Vector

Exploitation targets the NDES HTTP(S) listener used for SCEP enrollment. An attacker sends crafted enrollment-style requests to the NDES URL (commonly /certsrv/mscep/) from any network-reachable position. Because NDES typically runs under a service account with permissions to interact with the enterprise CA, code execution on the NDES host also exposes certificate issuance capabilities and the surrounding AD CS infrastructure. No verified public proof-of-concept is available at publication time, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

// No verified exploit code is published for CVE-2026-69802.
// Refer to the Microsoft Security Response Center advisory for
// authoritative technical details and updated guidance:
// https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-69802

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-69802

Indicators of Compromise

  • Unexpected SCEP enrollment requests to /certsrv/mscep/ or /certsrv/mscep_admin/ from untrusted source IPs or non-device user agents.
  • New processes spawned by the NDES application pool identity (w3wp.exe hosting the NDES app pool) that are not part of normal certificate issuance.
  • Certificates issued through NDES to subjects or templates that do not match the organization's device enrollment policy.

Detection Strategies

  • Baseline normal NDES request patterns and alert on anomalies in request volume, source network, or SCEP operation types (GetCACaps, GetCACert, PKIOperation).
  • Correlate IIS logs for the NDES virtual directory with Windows Security event IDs 4886 and 4887 on the CA to link suspicious enrollments to certificate issuance.
  • Hunt for child processes of the NDES w3wp.exe instance such as cmd.exe, powershell.exe, or rundll32.exe, which indicate code execution within the service.

Monitoring Recommendations

  • Enable IIS request logging and forward NDES logs plus AD CS CA audit logs to a centralized analytics platform for long-term retention.
  • Monitor outbound network connections from the NDES host; the service should not initiate arbitrary egress traffic.
  • Alert on changes to NDES configuration keys under HKLM\SOFTWARE\Microsoft\Cryptography\MSCEP and on modifications to associated certificate templates.

How to Mitigate CVE-2026-69802

Immediate Actions Required

  • Apply the Microsoft security update referenced in the MSRC advisory for CVE-2026-69802 to all Windows Server hosts running NDES.
  • Inventory every NDES deployment, including stand-alone and co-located AD CS servers, and prioritize internet-exposed instances for immediate patching.
  • Review certificate issuance logs for the period before patching and revoke any certificates issued to unexpected subjects.

Patch Information

Microsoft published the fix through its standard security update channel. Install the update that corresponds to the Windows Server version hosting NDES, as listed in the Microsoft Security Update guide. Restart the IIS worker process or the server after installation to ensure the patched NDES binaries are loaded.

Workarounds

  • Restrict network access to NDES endpoints to known device management networks using firewall rules or an authenticating reverse proxy.
  • Require client certificate authentication or an upstream authentication gateway in front of the NDES virtual directories until patching is complete.
  • Disable the NDES role temporarily on hosts where device enrollment is not actively required.
bash
# Example: block external access to NDES SCEP endpoints at the Windows firewall
New-NetFirewallRule -DisplayName "Block external NDES SCEP" `
  -Direction Inbound `
  -Protocol TCP `
  -LocalPort 80,443 `
  -RemoteAddress Internet `
  -Program "%SystemRoot%\System32\inetsrv\w3wp.exe" `
  -Action Block

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.