CVE-2025-49704 is an improper control of code generation vulnerability in Microsoft Office SharePoint. An authorized attacker can exploit the flaw remotely to execute arbitrary code on a SharePoint server. Technical analysis of ToolShell exploitation describes malicious WebPart markup processed through the ToolPane endpoint, where attacker-controlled data can reach unsafe deserialization handling in an ExcelDataSet control and lead to arbitrary method execution. The vulnerability can be chained with CVE-2025-49706, an authentication-related SharePoint flaw; unauthenticated ToolShell compromise claims apply to the combined chain or subsequent patch-bypass vulnerabilities rather than CVE-2025-49704 alone.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a single Metasploit module, 'sharepoint_toolpane_rce.rb', which exploits unauthenticated remote code execution vulnerabilities in Microsoft SharePoint Server (CVE-2025-49704, CVE-2025-49706, and CVE-2025-53771). The exploit leverages a combination of authentication bypass and unsafe deserialization to execute arbitrary commands as the SharePoint site user. The module constructs a malicious serialized .NET DataSet object, compresses it, and embeds it in a crafted XML payload sent via a POST request to the '/_layouts/15/ToolPane.aspx' endpoint. The exploit is unauthenticated and weaponized, allowing for custom command execution. The code is written in Ruby and is structured as a standard Metasploit exploit module, making it easy to use within the Metasploit framework. The repository is highly focused, containing only the exploit module file, and targets vulnerable, unpatched SharePoint Server instances on Windows.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
171 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Microsoft SharePoint Server vulnerability used as part of the ToolShell exploit chain to obtain unauthorized access and achieve remote code execution on on-premises SharePoint servers.
One of the Microsoft SharePoint Server vulnerabilities comprising the ToolShell exploit chain used by Longlegs/Storm-2603 for initial access before Warlock ransomware deployment.
A previously known SharePoint vulnerability mentioned only as background comparison for insecure deserialization risks.
A SharePoint vulnerability referenced only as related content and not discussed in the main article.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.