Critical RCE Vulnerability in Microsoft WSUS via Unsafe Cookie Deserialization
Patch & Detection Intelligence · 38 sources · Updated 5mo ago · First seen Oct 24, 2025

Microsoft has released emergency out-of-band security updates to address a critical remote code execution (RCE) vulnerability in Windows Server Update Services (WSUS), tracked as CVE-2025-59287. The flaw, rated CVSS 9.8, allows unauthenticated attackers to exploit unsafe deserialization in the WSUS AuthorizationCookie mechanism, enabling arbitrary code execution with SYSTEM privileges. Proof-of-concept exploit code for this vulnerability is publicly available, increasing the urgency for organizations to patch affected systems immediately. The vulnerability affects only Windows servers with the WSUS Server Role enabled, and Microsoft has provided security updates for all supported Windows Server versions, along with workarounds for those unable to patch immediately.
Security researcher Batuhan Er from HawkTrace detailed that the vulnerability arises from the unsafe deserialization of AuthorizationCookie objects sent to the GetCookie() endpoint, where encrypted cookie data is decrypted and deserialized without proper type validation. This flaw exposes WSUS servers to remote, unauthenticated attacks that require no user interaction and could potentially be wormable between WSUS servers. Microsoft strongly advises administrators to install the provided patches or apply recommended mitigations to prevent exploitation of this critical vulnerability.
Why it matters
Impact assessment
CVE-2025-59287 is a critical, unauthenticated RCE in Microsoft WSUS that affects organizations running the WSUS Server Role on Windows Server 2012/2012 R2, 2016, 2019, 2022/23H2, and 2025. Impact is severe because successful exploitation yields SYSTEM-level execution on patch infrastructure, creating risk of direct server compromise, internal reconnaissance, data exfiltration, operational disruption, and potential downstream abuse of enterprise patch distribution.
Active exploitation in the wild is confirmed by multiple vendors and government agencies, and at least 50 organizations were reportedly compromised. Exposure is targeted to WSUS-enabled servers rather than all Windows systems, but internet-facing WSUS instances remain numerous, with reporting citing roughly 2,600 to 5,500 exposed hosts on ports 8530/8531.
Supporting details
- Affected products:
- Microsoft Windows Server Update Services with WSUS Server Role enabled
- Windows Server 2012, 2012 R2, 2016, 2019, 2022, 2022 23H2 Edition, 2025
- Not affected:
- Windows servers without the WSUS Server Role enabled
- Affected populations:
- Enterprises using WSUS for internal patch management
- Sectors explicitly reported among victims: technology, manufacturing, healthcare, higher education
- Most reported victims were in the United States
- Severity:
- SYSTEM-level arbitrary code execution
- Potential compromise of patch management infrastructure
- Potential internal supply-chain style abuse if attackers gain control of WSUS update distribution
- Reconnaissance and data exfiltration already observed
- Scope:
- Narrower than a general Windows flaw because WSUS is not enabled by default
- Still material due to thousands of internet-exposed WSUS servers
- Exploitation status:
- Public proof-of-concept available
- Active exploitation observed within hours of the out-of-band fix
- CISA added CVE-2025-59287 to KEV on 2025-10-24
- Reported compromises: at least 50 organizations
- Threat activity linked by reporting to UNC6512 and at least two additional threat actors


