CVE-2019-0604: Microsoft SharePoint XML Deserialization Remote Code Execution
- Vendor
- Microsoft Corporation
CVE-2019-0604 is a remote code execution vulnerability in Microsoft SharePoint involving insecure XML deserialization and insufficient validation of application-package source markup. Crafted input can cause arbitrary code execution in the context of the SharePoint application pool and server farm account. Affected products include SharePoint Server 2019, SharePoint Enterprise Server 2016, SharePoint Server and Foundation 2013 SP1, and SharePoint Server and Foundation 2010 SP2. The vulnerability has been actively exploited to install web shells and facilitate subsequent malware deployment.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the affected SharePoint server within the permissions of its application pool and farm account, exposing accessible information and permitting unauthorized modification and command execution. Observed follow-on activity includes persistent web shells, reconnaissance, data exfiltration, Cobalt Strike deployment, and Hello/WickrMe ransomware. Attackers have also used compromised SharePoint servers to reach domain controllers and exploit Zerologon; domain-wide compromise requires additional access or vulnerabilities and is not an intrinsic outcome of CVE-2019-0604 alone.
Mitigation
If you can’t patch tonight, do this now.
Until all required updates are installed, restrict network access to vulnerable SharePoint services, particularly internet-facing deployments. Correlate IIS request logs with endpoint alerts to identify web-shell installation and activity, suspicious commands launched by IIS worker processes, and unexpected server-side scripts. Investigate suspected compromise and initiate containment and recovery procedures. Access restrictions and monitoring reduce exposure but do not correct the underlying vulnerability.
Remediation
Patch, then assume compromise.
Install all Microsoft security updates applicable to the affected SharePoint installation, or supported superseding updates. Relevant updates include KB4462199 for SharePoint Server 2019; KB4462211 for SharePoint Enterprise Server 2016; KB4462202 and KB4462143 for applicable SharePoint 2013 products; and KB4462184 and KB4461630 for applicable SharePoint 2010 products. Microsoft issued additional updates on March 12, 2019, and clarified on April 25, 2019, that some installations require two update downloads for full protection. Do not assume the initial February 2019 update alone is sufficient. Investigate previously exposed servers for compromise and remove attacker persistence; patching does not remove existing web shells or backdoors.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2019-0604 exploited in the wild?
- Yes. As of Nov 5, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2019-0604?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2019-0604, the earliest disclosed Mar 23, 2019.
- Is there a patch for CVE-2019-0604?
- Install all Microsoft security updates applicable to the affected SharePoint installation, or supported superseding updates. Relevant updates include KB4462199 for SharePoint Server 2019; KB4462211 for SharePoint Enterprise Server 2016; KB4462202 and KB4462143 for applicable SharePoint 2013 products; and KB4462184 and KB4461630 for applicable SharePoint 2010 products.
- What products are affected by CVE-2019-0604?
- Microsoft Corporation Sharepoint Enterprise Server, Microsoft Corporation Sharepoint Server, and Microsoft Corporation Sharepoint Foundation.
- How severe is CVE-2019-0604?
- CVE-2019-0604 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.9% (100th percentile) as of Nov 5, 2026.
Recent activity
44 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.