Microsoft SharePoint Flaw Lets Low-Privilege Attackers Execute Remote Code

Microsoft has confirmed that a SharePoint Server vulnerability originally logged as a low-severity spoofing issue is, in fact, a high-severity remote code execution flaw that low-privileged, authenticated attackers can exploit to run arbitrary code on affected servers.

The vulnerability, tracked as CVE-2026-65660, carries a CVSS score of 8.8 and stems from a code-injection weakness (CWE-94) in how SharePoint validates server-side controls against its SafeControls allowlist.

Researcher Dinh Ho Anh Khoa of Viettel Cyber Security published details on September 22, 2026, showing that the root cause lies in ToolPane.

Microsoft SharePoint Flaw

GetPartPreviewAndPropertiesFromMarkup(), a function that parses Web Part markup submitted through pages such as AddGallery.aspx.

SharePoint separates incoming markup into a “Register” block and a “Tag” block, verifying each independently with EditingPageParser.VerifyControlOnSafeList().

The flaw sits in the RegisterDirective.GetHtml() method, which writes attribute values into the reconstructed markup without escaping embedded quote characters.

Because an attacker can smuggle unescaped double and single quotes inside an attribute like Src, they can break out of the intended directive and inject a second, attacker-controlled Register directive containing an arbitrary .NET namespace, splitting the payload across both markup blocks so that neither individual check catches the full malicious string.

Once the injected directive slips past validation, an attacker can register dangerous classes that SharePoint’s template parser was never meant to reach.

By wrapping System.Xaml.XamlServices inside a generic ExpandedWrapper alongside System.Windows.Data.ObjectDataProvider, the attacker avoids ASP.NET Web Part lifecycle checks that would normally block unsafe control instantiation, since only getter, setter, and static parsing methods are reachable this way.

The exploit chain ultimately deserializes a LosFormatter payload through XamlServices.Parse(), enabling an in-memory web shell that leaves minimal forensic traces on disk.

Affected Versions and Patch Status

The vulnerability affects on-premises SharePoint Server 2016, 2019, and Subscription Edition, and the researcher notes it also impacts SharePoint 2013, though Microsoft’s advisory only lists the three supported versions.

Microsoft shipped fixes in its August 11, 2026 security updates, bringing patched builds to 16.0.5565.1001 for SharePoint 2016, 16.0.10417.20198 for SharePoint 2019, and 16.0.19725.20522 for Subscription Edition.

SharePoint 2016 administrators may need to apply both listed update packages to be fully protected. This mismatch likely caused many organizations to underprioritize patching, since spoofing-rated bulletins typically receive lower urgency than confirmed RCE issues.

Mitigation

Organizations running affected SharePoint versions should apply the August 11 patches immediately if they have not already, and review contributor-level and higher-privileged accounts across site collections to revoke unnecessary access.

No in-the-wild exploitation has been confirmed as of September 22, 2026, and the flaw does not yet appear in CISA’s Known Exploited Vulnerabilities catalog, but defenders should not treat that as a reason to delay remediation given the vulnerability’s severity and the public availability of technical exploit details.

Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team 

Tamilselvan
Tamilselvanhttps://cyberpress.org/
Tamilselvan is an Investigative cybersecurity journalist dedicated to breaking stories on ransomware cartels, data breaches, and state-sponsored espionage.

Trending News

Related Stories