RCE ASP.NET AntiCsrf Library (CVE-2026-131914)

A critical remote code execution flaw in Idunno.AntiCsrf, an abandoned anti-CSRF library for ASP.NET WebForms, is being actively exploited. There's no patch, and the fix is to remove the library and replace it.

Vulnerability

A critical vulnerability affects Idunno.AntiCsrf, a third-party anti-CSRF library for ASP.NET WebForms applications. The open-source project is defunct and hasn’t been updated since December 2008, so there’s no patch.

The flaw sits in the library’s Idunno.AntiCsrf.AntiCsrfModule HTTP module, which provides double-submit cookie CSRF protection.

When the module handles incoming HTTP POST requests to ASP.NET WebForms (System.Web.UI.Page) endpoints, it deserializes untrusted CSRF form token data using an unkeyed System.Web.UI.ObjectStateFormatter. There’s no cryptographic MAC or signature check.

Per the CVE data, the endpoint conditions are a POST to an ASP.NET Page endpoint that doesn’t implement ISuppressCsrfCheck or use the SuppressCsrfCheck attribute. It isn’t stated whether any non-default configuration is needed.

CVE and severity

The vulnerability is tracked as CVE-2026-131914.

It’s rated critical. No CVSS score is given.

Impact

A remote attacker needs no authentication and no valid CSRF token. A single POST can execute arbitrary code in the context of the IIS worker process (w3wp.exe).

The POST needs to contain any non-empty value in the configured CSRF cookie, plus a Base64-encoded .NET ObjectStateFormatter gadget chain in the configured CSRF form field.

This results in complete compromise of the web application server. Because the module is the target, any WebForms application that loads it is exposed, regardless of what the application itself does.

Exploit status

As of November 24, 2026, the flaw is being actively exploited in the wild.

Affected component and versions

Idunno.AntiCsrf (Idunno.AntiCsrf.dll), used in ASP.NET WebForms applications on IIS, is affected in these versions:

  • 0.9.1.0
  • 0.9.1 Beta

The CVE record lists versions through 0.9.1 Beta.

No fixed version exists, and the project is abandoned.

Fix and mitigation

Organizations still using the library are advised to stop using it. Remove Idunno.AntiCsrf and replace it with an actively supported anti-CSRF mechanism. Suggested alternatives are:

  • System.Web.Helpers.AntiForgery
  • ASP.NET WebForms Page.ViewStateUserKey combined with MAC-verified or encrypted ViewState on postback forms
  • ASP.NET Core Anti-Request Forgery (IAntiforgery)

To find the library, audit all ASP.NET Web.config files and bin/ directories for references to Idunno.AntiCsrf or AntiCsrfModule. Include older or rarely touched applications, since the library hasn’t been updated since 2008.

Review IIS logs for anomalous POST requests to .aspx endpoints that return HTTP 302 or HTTP 500, particularly with elevated cs-bytes where it’s logged.

Where exploitation is suspected or confirmed:

  • In environments with evidence of exploitation, rotate all secrets stored in Web.config and applicationHost.config, including <machineKey> keys, encryption keys and database credentials.
  • Inspect webroots for unauthorized files in any environment where exploitation is suspected.
  • Treat an affected server as fully compromised if exploitation is confirmed, since attacker code runs as the IIS worker process and can reach everything that process can.

References