Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2025-49704: Microsoft SharePoint Server Code Injection RCE (ToolShell)

Published Jul 8, 2025 · Updated 6 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days11 mentions · peak 5 in a dayToday
CVSS8.8High · v3.1
EPSS100.0%100th percentile
CISA KEVYesAdded Jul 22, 2025
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2025-49704CWE-94 · Improper Control of Generation of…

CVE-2025-49704 is a code injection vulnerability in on-premises Microsoft SharePoint Server that allows an authorized attacker to execute code over a network. It forms the remote code execution component of the original ToolShell exploit chain, alongside the spoofing vulnerability CVE-2025-49706. Chained exploitation enables unauthorized access to SharePoint servers and compromise of their content, file systems, and internal configurations. Active exploitation was documented in July 2025. CVE-2025-53770 subsequently addressed a bypass of the original CVE-2025-49704 patch.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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 permits server-side code execution and access to or alteration of sensitive SharePoint information and configurations. ToolShell intrusions have involved webshell installation, theft of ASP.NET machine keys, malicious IIS module persistence, lateral movement, and Warlock ransomware deployment. Stolen machine keys and installed backdoors can preserve attacker access after patching. These post-exploitation outcomes are associated with the vulnerability chain and are not automatic consequences of CVE-2025-49704 alone.

Mitigation

If you can’t patch tonight, do this now.

Enable SharePoint Antimalware Scan Interface protections according to Microsoft guidance and deploy antivirus and endpoint detection and response on every SharePoint server. If AMSI cannot be enabled, disconnect affected internet-facing servers from service until protections or remediation are available. Restrict external access, segment SharePoint from internal networks, minimize administrative privileges, and update web application firewall and intrusion prevention rules for exploitation patterns. Monitor SharePoint requests, IIS module changes, unexpected web-worker activity, and machine-key access. Discontinue unsupported, publicly exposed SharePoint deployments.

Remediation

Patch, then assume compromise.

Apply the latest applicable Microsoft SharePoint security updates, including fixes for CVE-2025-49704 and the related patch-bypass vulnerability CVE-2025-53770; do not rely solely on the original July 8, 2025 updates. The July emergency updates include KB5002768 for Subscription Edition, KB5002754 and KB5002753 for SharePoint Server 2019, and KB5002760 and KB5002759 for SharePoint Enterprise Server 2016, as applicable. Investigate exposed servers for compromise rather than treating patching as sufficient. Remove malicious payloads and IIS module registrations, rotate ASP.NET machine keys before patching and again afterward, and restart IIS on every affected server. Ensure malicious module registrations are removed before restarting so that backdoors cannot reload.

Exposure surface

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.

VendorProductType
Microsoft CorporationSharepoint Serverapplication
Microsoft CorporationSharepoint Server 2016application
Microsoft CorporationSharepoint Server 2019application
FAQ

Frequently asked questions

Is CVE-2025-49704 exploited in the wild?
Yes. As of Nov 12, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jul 22, 2025.
Is there a public exploit for CVE-2025-49704?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2025-49704, the earliest disclosed Jul 8, 2025.
Is there a patch for CVE-2025-49704?
Apply the latest applicable Microsoft SharePoint security updates, including fixes for CVE-2025-49704 and the related patch-bypass vulnerability CVE-2025-53770; do not rely solely on the original July 8, 2025 updates. The July emergency updates include KB5002768 for Subscription Edition, KB5002754 and KB5002753 for SharePoint Server 2019, and KB5002760 and KB5002759 for SharePoint Enterprise Server 2016, as applicable.
What products are affected by CVE-2025-49704?
Microsoft Corporation Sharepoint Server, Microsoft Corporation Sharepoint Server 2016, and Microsoft Corporation Sharepoint Server 2019.
How severe is CVE-2025-49704?
CVE-2025-49704 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 100.0% (100th percentile) as of Nov 12, 2026.
Activity feed

Recent activity

200 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
zeropath blogNews · Nov 11, 2026Overview of CVE-2026-80095: Stored Cross-Site Scripting in SharePoint Server Subscription Edition Enabling Elevation of Privilege - ZeroPath Blog | ZeroPathA historical on-premises SharePoint vulnerability discussed as background. The article associates the 2025 vulnerability set with exploitation by Linen Typhoon and Violet Typhoon, and ransomware deployment by Storm-2603. Security updates and incident-specific remediation guidance were issued. These incidents and actor associations do not apply to CVE-2026-80095.Read more ↗zeropath blogNews · Nov 11, 2026Brief Summary: Microsoft SharePoint Server CVE-2026-123390 Authenticated Deserialization Remote Code Execution - ZeroPath Blog | ZeroPathAn earlier SharePoint vulnerability involved in the historical 2025 ToolShell exploitation. The article associates that activity with Linen Typhoon, Violet Typhoon, and Storm-2603, including Storm-2603's deployment of Warlock ransomware. Microsoft issued security updates and additional defensive guidance.Read more ↗zeropath blogNews · Nov 11, 2026Overview of CVE-2026-120002: SharePoint Server Secure Store Incorrect Authorization Leading to Elevation of Privilege - ZeroPath Blog | ZeroPathA SharePoint remote code execution vulnerability mentioned as historical background concerning exploitation of internet-facing servers. The historical investigation attributed espionage activity to Linen Typhoon and Violet Typhoon and separately described Storm-2603 deploying Warlock ransomware after SharePoint compromise. This history does not establish exploitation or attribution for CVE-2026-120002.Read more ↗zeropath blogNews · Nov 10, 2026Brief Summary: CVE-2026-109502, a SharePoint Server SSRF That Exposes Farm Service Account Credentials - ZeroPath Blog | ZeroPathAn on-premises SharePoint vulnerability cited as historical context for active exploitation in 2025. The content provides no technical details and explicitly separates these incidents from CVE-2026-109502.Read more ↗
+82 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence63Every report linking this CVE to a named adversary.
Associated malware51Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity105Community discussion across Reddit, Mastodon, and other social sources.