Unauthenticated remote code execution in Microsoft Windows Server Update Service

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2025-59287?

CVE-2025-59287 is a vulnerability classified as Deserialization of Untrusted Data, affecting Windows Server 2012 (affected versions: 6.2.9200.0 – < 6.2.9200.25728), Windows Server 2012 (Server Core installation) (affected versions: 6.2.9200.0 – < 6.2.9200.25728), Windows Server 2012 R2 (affected versions: 6.3.9600.0 – < 6.3.9600.22826), and 9 more products. This vulnerability is rated Critical, with a CVSS score of 9.8. This vulnerability has been observed being exploited in the wild.

Overview

Original source data

Deserialization of untrusted data in Windows Server Update Service allows an unauthorized attacker to execute code over a network.

Affected products and scope

The following Microsoft Windows Server branches are marked as affected:

  • Windows Server 2012 and Windows Server 2012 Server Core installation: starting at 6.2.9200.0 and less than 6.2.9200.25728.
  • Windows Server 2012 R2 and Windows Server 2012 R2 Server Core installation: starting at 6.3.9600.0 and less than 6.3.9600.22826.
  • Windows Server 2016 and Windows Server 2016 Server Core installation: starting at 10.0.14393.0 and less than 10.0.14393.8524.
  • Windows Server 2019 and Windows Server 2019 Server Core installation: starting at 10.0.17763.0 and less than 10.0.17763.7922.
  • Windows Server 2022: starting at 10.0.20348.0 and less than 10.0.20348.4297.
  • Windows Server 2022, 23H2 Edition Server Core installation: starting at 10.0.25398.0 and less than 10.0.25398.1916.
  • Windows Server 2025 and Windows Server 2025 Server Core installation: starting at 10.0.26100.0 and less than 10.0.26100.6905.

The supplied record does not establish the status of unlisted branches or configurations.

Technical details

The confirmed weakness is CWE-502 unsafe deserialization in Windows Server Update Service. An attacker can send data over the network to a WSUS web-service path that processes serialized objects without sufficient safety validation, allowing deserialization to reach code execution. Public technical analyses returned for this vulnerability describe different internal paths: one names AuthorizationCookie, GetCookie(), and BinaryFormatter, while another names event-history processing, ReportEventBatch, and SoapFormatter; these details should not be treated as one confirmed cross-version chain. The consistent exposure condition is that the WSUS Server Role is enabled; Microsoft guidance reflected in the returned material states that servers without that role enabled are not vulnerable. The reported result is code execution with SYSTEM privileges, but the exact implementation detail that applies to each affected branch remains uncertain.

Exploitability

Reachability is over the network, and the record's attack characteristics indicate no authentication, no user interaction, and low attack complexity. The supplied record marks the vulnerability as known exploited and publicly exploitable. The returned KEV entry marks it as confirmed exploited, while other returned reporting describes public PoC code together with scanning and exploitation attempts; one report described a customer compromise, while noting that Microsoft's advisory had not confirmed active exploitation at that time. The relevant exposure is concentrated on servers with the WSUS Server Role enabled, which is not enabled by default. The supplied record does not identify a specific ransomware campaign.

Technical impact

Exploitation can result in remote code execution under SYSTEM on the WSUS host, giving the attacker high control over the confidentiality, integrity, and availability of that server. A compromised WSUS server could potentially be used to interfere with update administration or as a pivot to other systems; these are realistic consequences, not evidence of a specific incident. If WSUS is disabled or its default ports are blocked, local clients can lose access to their configured update source. The record does not establish exploitation of downstream clients or a particular propagation path.

Business impact

Successful exploitation can give an attacker code execution with SYSTEM-level privileges on a vulnerable WSUS server. This can expose or alter information handled by the server, disrupt update-management operations, and potentially provide a foothold for further internal activity. Disabling WSUS or blocking its default service ports can remove the immediate network path, but endpoints may stop receiving updates from their local WSUS server. The available evidence does not establish a specific breach, victim, or ransomware campaign.

Remediation

  1. Apply the Microsoft cumulative security update for the installed branch and confirm that the post-update build is not less than the applicable boundary:
  • Windows Server 2012: KB5070887; build not less than 6.2.9200.25728.
  • Windows Server 2012 R2: KB5070886; build not less than 6.3.9600.22826.
  • Windows Server 2016: KB5070882; build not less than 10.0.14393.8524.
  • Windows Server 2019: KB5070883; build not less than 10.0.17763.7922.
  • Windows Server 2022: KB5070884; build not less than 10.0.20348.4297.
  • Windows Server 2022, 23H2 Edition Server Core installation: KB5070879; build not less than 10.0.25398.1916.
  • Windows Server 2025: KB5070881; build not less than 10.0.26100.6905.
  1. Reboot the server after installation and verify that WSUS operates correctly. The updates are described as cumulative, so earlier updates superseded by them do not need to be installed first.
  2. If immediate patching is not possible, temporarily disable the WSUS Server Role to remove the attack path. This makes the host unavailable as a WSUS service for dependent endpoints.
  3. If the role cannot be disabled, block inbound traffic to 8530/TCP and 8531/TCP on the host firewall as a temporary exposure-reduction measure. This renders WSUS non-operational and may stop endpoints from receiving updates from the local server.
  4. Prioritize hosts with the WSUS Server Role enabled and reachable from untrusted networks, especially servers that act as update sources for other WSUS systems.

Detection

  1. Inventory all Windows Server hosts and determine which systems have the WSUS Server Role installed and enabled; systems without that role are outside the described exposure condition.
  2. Record the installed build for each WSUS host and compare it with the branch boundaries in affected_summary.
  3. Check update history or patch-management tooling to confirm that the applicable cumulative update in remediation is installed, then verify that the server was rebooted if required.
  4. Check listeners and firewall rules for the default WSUS ports 8530/TCP and 8531/TCP. Reachability from an untrusted network is a priority exposure indicator, but it does not by itself prove that the host is vulnerable or exploited.
  5. Review WSUS web-service access logs for unusual unauthenticated requests and correlate them with unexpected process creation or other system changes after those requests. This is precautionary monitoring; the available evidence does not provide a confirmed IOC or log signature, and the absence of such events does not prove safety.
Sources (24)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.