Unauthenticated Remote Code Execution on Active Directory Domain Controllers via stack-based buffer overflow in the Netlogon service.
A technical breakdown of an exceptionally critical vulnerability residing deep within the Windows Netlogon service. The flaw is rooted in a severe stack-based buffer overflow (CWE-121). By sending specially crafted CLDAP requests to a vulnerable Domain Controller, an unauthenticated attacker can force memory corruption and potentially execute arbitrary code at SYSTEM level.
Zero user interaction. Zero prior authentication. A direct, frictionless path to complete Active Directory compromise — a prime target for APTs and ransomware syndicates.
Officially tracked — May 2026 Patch Tuesday
Stack-based Buffer Overflow
NetpLogonPutUnicodeString — CLDAP handler
Fully remote, unauthenticated CLDAP ping
Unauthenticated — no credentials needed
From any foothold on the internal network, the path to domain compromise is dangerously short:
Python-based diagnostic script to test domain controllers for susceptibility to the Netlogon CLDAP overflow. Use only on systems you own or have written authorization to test.
# 1. Safe connectivity check (short username, no overflow) python3 CVE-2026-41089.py 10.0.50.21 corp.local -l 10 # 2. Default vulnerability check (300 chars, overflows 528-byte buffer) python3 CVE-2026-41089.py 10.0.50.21 corp.local # 3. Custom payload with legacy NtVer and extended timeout python3 CVE-2026-41089.py 10.0.50.21 corp.local -l 300 -n 0x02000000 -t 10
Monitor the following high-fidelity indicators in your environment:
lsass.exe process.netlogon.dll hash and KB installation across all DCs.This vulnerability analysis and associated PoC code are provided for authorized defensive research and system administration only. Exploiting CVE-2026-41089 on systems or networks without explicit, written authorization is strictly illegal. The author assumes no liability for any misuse of this information. Ransomware deployment, unauthorized lateral movement, and Active Directory manipulation carry severe legal consequences. Always patch early and test responsibly in isolated laboratory environments.