Full unauthenticated RCE chain for Windows Server 2022 by chaining CVE-2026-56190 (RCE) and CVE-2026-42908 (Info Leak). Bypasses ASLR, CFG, XFG, and DEP.
This repository documents the discovery and weaponization of an exploit chain against Windows Server 2022 (Build prior to the June 2026 patch cycle).
While the public Proof-of-Concept (PoC) for CVE-2026-56190 achieved RIP control and Denial of Service (DoS), the original researchers explicitly stated that full RCE was not achieved due to modern Windows mitigations (DEP, CFG, XFG) and the lack of a clean stack pivot gadget.
This research bypasses ASLR and XFG, and achieves RIP control using an XFG-valid Confused Deputy gadget. The DEP bypass was achieved with debugger assistance (WinDbg + VirtualAllocEx), as documented in Phase 4.
CVE-2026-56190 relies on an uninitialized pointer in CConnectionEx (offset +0x670) reading from a freed heap chunk (0x4930 bytes). Windows ASLR randomizes the heap and module addresses, requiring a memory leak. (See docs/01-ASLR-Wall.md)
By sending a malformed MCS packet, the unpatched server leaks RDPSERVERBASE.dll vtable pointers back to the client.
The build lacks a clean push rax; ret gadget with a valid XFG hash. We used BasicInputPlugin::Release as a Confused Deputy to pivot execution into our shellcode. (See docs/03-XFG-Bypass-Confused-Deputy.md)
The DEP bypass was achieved with debugger assistance: VirtualAllocEx allocated RWX memory in the target process, and the shellcode executed from there. (See docs/04-DEP-Bypass.md)

This repository is for educational and defensive research purposes only. The vulnerabilities discussed here have been patched by Microsoft. Do not use this code against systems you do not own or have explicit permission to test.