CVE-2025-49706: Authentication bypass in Microsoft SharePoint Server (ToolShell)
- Vendor
- Microsoft Corporation
CVE-2025-49706 is an improper authentication vulnerability in on-premises Microsoft SharePoint Server that allows an unauthenticated remote attacker to perform spoofing and gain unauthorized access. Exploitation abuses request handling at a web-part editing endpoint using a crafted HTTP Referer header associated with a sign-out page. The vulnerability forms the authentication-bypass component of the original ToolShell chain; when combined with the remote code execution vulnerability CVE-2025-49704, it enables unauthenticated server-side code execution. Microsoft initially patched the issue on July 8, 2025; CVE-2025-53771 subsequently addressed a bypass of that authentication fix.
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 bypasses authentication protections and enables unauthorized access to SharePoint functionality. When chained with CVE-2025-49704, it can expose SharePoint content, server file systems, and internal configurations and permit arbitrary code execution. Observed ToolShell compromises have involved webshell deployment, ASP.NET machine-key theft, persistent malicious IIS modules, lateral movement, and Warlock ransomware. These broader outcomes depend on the exploit chain and subsequent attacker activity rather than CVE-2025-49706 alone.
Mitigation
If you can’t patch tonight, do this now.
Enable SharePoint Antimalware Scan Interface protection, deploy current antivirus and endpoint detection and response protections, and update WAF and IPS rules to block known exploit patterns. Restrict external access and segment SharePoint servers from internal systems. If AMSI cannot be enabled, disconnect affected internet-facing servers from service pending remediation. Monitor anomalous web-part editing requests, unexpected IIS module registrations, suspicious web-worker behavior, and machine-key access. Disconnect unsupported public-facing SharePoint installations and discontinue their use.
Remediation
Patch, then assume compromise.
Apply the latest applicable Microsoft SharePoint security updates, including fixes for the original vulnerability and its patch bypass, rather than relying solely on the July 8, 2025 updates. The July 2025 enhanced updates include KB5002768 for SharePoint Server Subscription Edition; KB5002754 and KB5002753 for SharePoint Server 2019 Core and Language Pack; and KB5002760 and KB5002759 for SharePoint Enterprise Server 2016 and its Language Pack. Investigate exposed servers for compromise because patching does not remove established persistence. Remove malicious artifacts and IIS module registrations, rotate ASP.NET machine keys before patching, apply the update, rotate the keys again, and restart IIS on every affected server.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
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-2025-49706 exploited in the wild?
- Yes. As of Nov 26, 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-49706?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2025-49706, the earliest disclosed Jul 8, 2025.
- Is there a patch for CVE-2025-49706?
- Apply the latest applicable Microsoft SharePoint security updates, including fixes for the original vulnerability and its patch bypass, rather than relying solely on the July 8, 2025 updates. The July 2025 enhanced updates include KB5002768 for SharePoint Server Subscription Edition; KB5002754 and KB5002753 for SharePoint Server 2019 Core and Language Pack; and KB5002760 and KB5002759 for SharePoint Enterprise Server 2016 and its Language Pack.
- What products are affected by CVE-2025-49706?
- Microsoft Corporation Sharepoint Server, Microsoft Corporation Sharepoint Enterprise Server, Microsoft Corporation Sharepoint Server 2016, and Microsoft Corporation Sharepoint Server 2019.
- How severe is CVE-2025-49706?
- CVE-2025-49706 has a CVSS v3.1 score of 6.5 (Medium) and an EPSS score of 3.4% (90th percentile) as of Nov 26, 2026.
Recent activity
213 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.