Idunno.AntiCsrf: unauthenticated RCE via insecure deserialization (CVE-2026-131914)
Severity: critical · Patch status: unpatched · Since 2026-11-23 · CVE-2026-114938, CVE-2026-131914, CVE-2026-99312
A critical insecure deserialization vulnerability in the defunct Idunno.AntiCsrf ASP.NET anti-CSRF library is being exploited in the wild. Tracked as CVE-2026-131914 with a CVSS score of 9.3, the flaw affects versions 0.9.1.0 and 0.9.1 Beta. The AntiCsrfModule deserializes untrusted CSRF form token data using an unkeyed .NET System.Web.UI.ObjectStateFormatter without MAC or signature verification. A remote attacker can send a single unauthenticated HTTP POST request with any non-empty CSRF cookie and a Base64-encoded ObjectStateFormatter gadget chain to execute arbitrary code in the IIS worker process (w3wp.exe), compromising the web application server. Google Mandiant observed active exploitation. The project has not been updated since December 2008 and no official patch exists; organizations are advised to remove the library and migrate to supported anti-CSRF alternatives.
What to do
- Audit all ASP.NET Web.config files and bin/ directories for references to Idunno.AntiCsrf or AntiCsrfModule.
- Discontinue use of Idunno.AntiCsrf and replace it with a supported anti-CSRF mechanism such as System.Web.Helpers.AntiForgery, Page.ViewStateUserKey with MAC-verified/encrypted ViewState, or ASP.NET Core IAntiforgery.
- Review IIS logs for anomalous POST requests to .aspx endpoints returning HTTP 302 or HTTP 500 with elevated cs-bytes.
- If exploitation is suspected, rotate all secrets stored in Web.config and applicationHost.config, including machineKey keys, encryption keys, and database credentials.
- Inspect webroots for unauthorized files and investigate the IIS worker process for signs of compromise.
Sources
All live incidents on Threat Watch