CVE-2026-125136 – Windows Network Connected Devices Auto-Setup Service Remote Code Execution Vulnerability
On a shared network, a fake device is all it takes. No password, no click, and your Windows machine could be running someone else's code.
CVE-2026-125136 is a heap-based buffer overflow in the Windows Network Connected Devices Auto-Setup Service, the feature that finds and sets up devices like printers on the local network. An attacker on the same network can advertise a specially crafted fake device, and if network device discovery is turned on, the affected system may run the attacker's code. No login and no user action are needed, which is why Microsoft rates it Critical.
CVSS Score: 8.8
SEVERITY: Critical
THREAT: Anyone who can reach the same local network segment, such as a rogue insider, a guest on office Wi-Fi, or an attacker on a hotel or coffee shop network, could take over a Windows device. They would gain the ability to run code on that device without any credentials.
EXPLOITS: This vulnerability is not known to be actively exploited. It was not publicly disclosed before the fix, and no public proof-of-concept code is known.
TECHNICAL SUMMARY: The flaw is a heap-based buffer overflow (CWE-122) in the Network Connected Devices Auto-Setup Service. When Windows discovers a device on the network, the service processes information the device advertises about itself. A specially crafted device announcement can cause the service to write past the end of a heap buffer, corrupting memory and letting the attacker run code. The CVSS vector shows an adjacent network attack (AV:A), low complexity, no privileges, and no user interaction, with High impact on confidentiality, integrity, and availability.
EXPLOITABILITY: Affected systems include Windows 10 versions 1607, 1809, 21H2, and 22H2, and Windows 11 versions 23H2, 24H2, 25H2, 26H1, and 26H2. An unauthenticated attacker on the same local network advertises a malicious device to a system with network device discovery enabled. No user interaction is required.
BUSINESS IMPACT: Laptops move between offices, homes, airports, and hotels, and many of those networks are shared with strangers. A flaw that turns a fake printer announcement into code execution gives attackers a quiet way in. Once inside, they could steal data, plant ransomware, or move deeper into the corporate network the next time the device connects. The result can be data loss, downtime, and costly incident response.
WORKAROUND: Microsoft lists no workaround or mitigation. If the update cannot be applied right away, consider turning off network discovery on untrusted networks or disabling the Network Connected Devices Auto-Setup service where it is not needed, and keep devices off shared or public networks where possible.
URGENCY: Microsoft rates this Critical. The attack needs no credentials and no user action, only a spot on the same network, and the service runs across a wide range of Windows 10 and Windows 11 releases. Mobile users and devices on shared networks face the highest risk, so they should be patched first.
Key Details
- Attack Vector
- Adjacent
- Attack Complexity
- Low
- Privileges Required
- None
- User Interaction
- None
- CWE Classification
- CWE-122