An ASP.NET vulnerability in an old security library is already being exploited, and there is no official patch. The affected component is Idunno.AntiCsrf, a third-party module that protects ASP.NET WebForms applications against cross-site request forgery. According to Mandiant, the flaw, tracked as CVE-2026-131914, scores 9.3 on the CVSS scale and lets an unauthenticated attacker run code on the web server with a single HTTP request. Mandiant reports exploitation in the wild. The researchers’ advice is therefore not to patch the library but to remove it.
What the ASP.NET vulnerability allows
Idunno.AntiCsrf is an IIS HTTP module that first appeared on the CodePlex platform and protects WebForms applications with a double-submit cookie. According to Mandiant advisory MNDT-2026-0048, the module deserializes the token data sent with every POST request to a WebForms page using an unkeyed ObjectStateFormatter instance. There is no MAC, no signature and no restriction on the types that may be created. That is a textbook case of insecure deserialization (CWE-502).
According to the advisory, the attack is simple: the attacker sends any non-empty value in the CSRF cookie plus a Base64-encoded .NET gadget chain in the token’s form field. The module processes both before the actual page is even loaded. The code then runs in the context of the IIS worker process w3wp.exe, which Mandiant says leads to complete compromise of the web application server. Neither a prior login nor a valid CSRF token is required.
Affected versions and the missing patch
Versions 0.9.1.0 and 0.9.1 Beta are affected. According to Mandiant the project is defunct: the official build dates from December 2008, and there is no maintainer and no patch. Anyone still using the library should not treat this as a side issue, because the flaw sits in the module itself rather than in a particular configuration. According to the analysis, even pages without a visible form are reachable as long as they neither implement the ISuppressCsrfCheck interface nor carry the [SuppressCsrfCheck] attribute. Internally customized or recompiled builds with different hashes keep the vulnerable code.
Mandiant says it found the flaw during an incident response investigation, and credits teams at Google Cloud and Mandiant Incident Response. The advisory gives no details about the attacks. The Hacker News also reports that it has not yet received further details from Google. How many systems are affected and who is behind the attacks is not public.
Technical details of the flaw
The advisory describes the sequence precisely. The module hooks into request processing in the PreRequestHandlerExecute phase, before the page lifecycle with Page_Load. For a POST request it only checks that both the CSRF cookie and the form field are non-empty. By default they are named __CSRFCOOKIE and __CSRFTOKEN. Whether the cookie actually holds a valid GUID is only checked later, when the page renders, never before deserialization. That is why a cookie such as __CSRFCOOKIE=1 is enough to reach the dangerous code path. It also explains why any reachable .aspx page can become an entry point, even if it contains no form with runat="server".
Only after deserialization does the module compare the result with the cookie and raise an error or a redirect if they do not match. By then the code has long since run on the server. That is the reason for the advice to look for suspicious 302 and 500 responses in the logs. Mandiant also lists the size and hashes of known builds, such as 69,632 bytes for the official 0.9.1.0 release from 2008, so that findings can be matched. The team rates the severity at 9.3, critical, under CVSS 4.0.
How to remove Idunno.AntiCsrf
The advisory recommends replacing the library entirely. The steps at a glance:
- Remove the entries: delete all entries for
Idunno.AntiCsrf.AntiCsrfModulefrom thehttpModulesandmodulessections ofWeb.config, and thecsrfSettingssection including its configuration definition. - Clean up the code: remove references to
ISuppressCsrfCheckand[SuppressCsrfCheck], and deleteIdunno.AntiCsrf.dllfrom thebin/directory. - Add a replacement: Mandiant names
System.Web.Helpers.AntiForgery, for WebForms thePage.ViewStateUserKeyproperty combined with MAC-verified or encrypted ViewState, and for ASP.NET Core theIAntiforgeryinterface.
For background on the double-submit cookie pattern the module is built on, see the OWASP CSRF prevention guide.
How to check whether you are affected
- Search your files: search every
Web.configfile andbin/directory forIdunno.AntiCsrfandAntiCsrfModule. This also applies to recompiled variants, which can only be found by name. - Review the logs: in IIS logs, look for unusual POST requests to
.aspxpages that were answered with HTTP 302 or 500 and unusually large responses (cs-bytes), where that is logged. - Rotate secrets if in doubt: rotate every secret stored in
Web.configandapplicationHost.config, includingmachineKeyvalues, encryption keys and database credentials. Also check the web root for unfamiliar files.
Why old security components become a risk
The case follows a familiar pattern: a component meant to provide security becomes the point of attack because nobody has maintained it for years. WebForms applications still run in many companies, and with them dependencies from a time before built-in protections existed. A module like this may live only as a single DLL in the bin/ folder and an entry in Web.config, not in a package manager. Anyone taking inventory of their applications should therefore also look for standalone DLLs in bin/.
We recently described similar cases where a protective layer itself turns into the weakness in the middleware bypass flaws in Fastify and Livewire. The React Router vulnerabilities and the Java4Shell flaw in OpenJDK’s Base64 decoder belong in the same series, where errors in widely used base components affect many applications. Insecure deserialization itself has been a known problem for years: as soon as data supplied by a client is turned back into objects without being signed first, a door stands open.
In the short term there is only one safe answer: remove the module and replace it with a supported protection. If that is not possible right away, take the affected applications off the public internet or restrict them with an upstream access control until the swap is done. The Mandiant advisory names no interim workaround.



