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-85371 Overview
CVE-2026-85371 is a use-after-free vulnerability [CWE-416] in Microsoft Network Policy Server (NPS). An unauthenticated attacker can trigger the flaw remotely to execute arbitrary code on an affected server. NPS is the Microsoft implementation of a Remote Authentication Dial-In User Service (RADIUS) server and proxy, commonly deployed to authenticate VPN, 802.1X, and wireless access requests. Successful exploitation can give an attacker code execution in the context of the NPS process, which typically runs with high privileges on domain-connected infrastructure.
Critical Impact
Remote, unauthenticated attackers can execute code on NPS hosts, placing authentication and network access control services at risk of full compromise.
Affected Products
- Microsoft Windows Server deployments running the Network Policy Server (NPS) role
- Environments using NPS as a RADIUS server for VPN, 802.1X, or wireless authentication
- Microsoft NPS proxy configurations forwarding RADIUS traffic
Discovery Timeline
- 2026-10-13 - CVE-2026-85371 published to the National Vulnerability Database (NVD)
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-85371
Vulnerability Analysis
The issue is a use-after-free condition in the Network Policy Server service. The service accepts and parses RADIUS protocol messages over the network. During message handling, an object is freed while a reference to that memory remains reachable. Subsequent operations dereference the stale pointer, allowing an attacker to influence control flow or data at the freed location.
Because NPS listens on the network and no authentication is required to send RADIUS requests, an attacker can reach the vulnerable code path remotely. The attack complexity is high, which indicates that reliable exploitation requires specific conditions such as race timing, heap layout manipulation, or precise message sequencing. When those conditions align, the attacker can achieve code execution in the NPS service context.
Root Cause
The root cause is improper lifetime management of a heap-allocated object within the NPS request processing path. The object is released, but a dangling pointer continues to be used. Use-after-free bugs of this class [CWE-416] often arise from error-handling branches, asynchronous callbacks, or shared state between concurrent request handlers.
Attack Vector
The attack vector is network based. An attacker sends crafted RADIUS traffic to a reachable NPS endpoint. No credentials and no user interaction are required. Exploitation targets the service process, so a successful attempt yields code execution on the NPS host without any local foothold.
No verified public proof-of-concept code is available at the time of writing. Readers should consult the Microsoft Security Update Guide for authoritative technical details.
Detection Methods for CVE-2026-85371
Indicators of Compromise
- Unexpected crashes, restarts, or access violations in the IAS or NPS service (ias.exe / iashost.exe) on Windows Server
- RADIUS requests from unknown or non-approved source addresses hitting UDP ports 1812, 1813, 1645, and 1646
- Child processes spawned by the NPS service, such as cmd.exe, powershell.exe, or other LOLBins
- Outbound network connections initiated by the NPS service to attacker-controlled infrastructure
Detection Strategies
- Alert on process-creation events where the parent process is the NPS/IAS service, as this is not normal operational behavior
- Correlate Windows Event Log entries from the NPS service (Event IDs in the 6272–6280 range) with abnormal request volume or malformed packet errors
- Monitor for crash dumps and Windows Error Reporting (WER) events tied to the NPS process, which can indicate attempted exploitation
Monitoring Recommendations
- Baseline the set of RADIUS clients permitted to send requests to each NPS server and alert on new or unauthorized sources
- Capture and retain network telemetry for RADIUS UDP ports to support retrospective hunting
- Forward NPS, security, and system event logs to a centralized SIEM or data lake for correlation with endpoint telemetry
How to Mitigate CVE-2026-85371
Immediate Actions Required
- Apply the Microsoft security update referenced in the Microsoft Security Update Guide to all servers running the NPS role
- Inventory every Windows Server running NPS, including domain controllers and dedicated RADIUS servers, and prioritize internet-exposed or DMZ-facing hosts
- Restrict RADIUS traffic at the network layer so only approved RADIUS clients can reach NPS endpoints on UDP 1812, 1813, 1645, and 1646
- Review NPS service logs and endpoint telemetry for signs of exploitation attempts prior to patching
Patch Information
Microsoft has published guidance and updates for CVE-2026-85371 through the Microsoft Security Response Center. Refer to the Microsoft Security Update Guide for the specific KB articles, product builds, and supersedence information applicable to your Windows Server versions.
Workarounds
- If patching cannot be completed immediately, limit NPS exposure using host-based and network firewalls, allowing RADIUS only from trusted authenticators
- Where feasible, temporarily stop the NPS service on non-essential systems until the patch is applied
- Place NPS servers behind IPsec or network segmentation so untrusted networks cannot deliver RADIUS packets to the service
# Example: restrict RADIUS traffic to approved clients using Windows Firewall
New-NetFirewallRule -DisplayName "Allow RADIUS from approved NAS" `
-Direction Inbound -Protocol UDP -LocalPort 1812,1813,1645,1646 `
-RemoteAddress 10.0.0.0/24,10.0.1.0/24 -Action Allow
New-NetFirewallRule -DisplayName "Block RADIUS from all others" `
-Direction Inbound -Protocol UDP -LocalPort 1812,1813,1645,1646 `
-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

