CVE-2026-131914: Idunno.AntiCsrf ASP.NET Library Exploited
An exploited, unpatched RCE in Idunno.AntiCsrf, a 2008 ASP.NET WebForms library. ASP.NET is not vulnerable. How to find it and what to replace it with.

Mandiant disclosed CVE-2026-131914 on November 18, 2026: unauthenticated remote code execution in Idunno.AntiCsrf, an anti-CSRF library for ASP.NET WebForms whose last release is dated December 2008.
It scores 9.3, it is being exploited in the wild, and there is no patch coming.
Some of the coverage makes it sound like ASP.NET is vulnerable. ASP.NET is not. Idunno.AntiCsrf is a third-party module that a handful of WebForms apps registered in Web.config a long time ago and never touched again.
Below: how the bug works, why it is the same mistake ASP.NET itself closed in 2014, what to replace it with, and where NES for .NET fits.
TL;DR
- CVE-2026-131914 is unauthenticated remote code execution in Idunno.AntiCsrf 0.9.1 Beta (0.9.1.0), a third-party HTTP module for ASP.NET WebForms. CVSS 4.0 score: 9.3.
- It is not a vulnerability in ASP.NET, .NET Framework, or modern .NET.
- Mandiant has seen it exploited in the wild. The project has no maintainer and no patch, so the fix is removing it.
- The bug is an unkeyed ObjectStateFormatter.Deserialize() call on attacker-controlled form data, the same class of flaw Microsoft closed in ASP.NET's own ViewState in 2014.
- Replace it with the anti-CSRF built into the framework: System.Web.Helpers.AntiForgery or Page.ViewStateUserKey on .NET Framework, or IAntiforgery in ASP.NET Core.
- IAntiforgery ships in the ASP.NET Core runtime, and Microsoft stopped patching .NET 8 and .NET 9 on November 10, 2026. NES for .NET keeps .NET 6, 8, and 9 patched.
What is Idunno.AntiCsrf?
Idunno.AntiCsrf is a small IHttpModule that adds double-submit cookie CSRF protection to WebForms pages. It puts a random token in a cookie and the same token in a hidden form field, then checks that they match on every POST.
Barry Dorrans published it on CodePlex in 2008 as AntiCSRF, while he was a Microsoft MVP. He later joined Microsoft and spent years as the .NET security lead. The last official build, 0.9.1 Beta, is from December 2008, and CodePlex itself has since been retired.
In 2008 a drop-in module was easier than wiring ViewStateUserKey into every page, and a handful of teams added it and moved on.
Bugs from 2008 are normal. A 2008 module still sitting in bin/ in 2026, with nobody watching it, is the actual risk.
How does CVE-2026-131914 work?
The module hooks PreRequestHandlerExecute, which runs before the WebForms page lifecycle: before PreInit, Init, and Page_Load.
On every POST to a Page, it checks just two things: the CSRF cookie is not empty, and the CSRF form field is not empty. Then it creates a parameterless ObjectStateFormatter and calls Deserialize() on the form field. Only after that does it compare the result to the cookie.
A parameterless ObjectStateFormatter has no machineKey, no MAC, no signature, no encryption, and no SerializationBinder. So, it will deserialize whatever an attacker hands it.
The attack is one request:
- Send any non-empty cookie, like __CSRFCOOKIE=1.
- Put a Base64-encoded ObjectStateFormatter gadget chain in __CSRFTOKEN.
- POST it to any .aspx page.
The gadget chain runs inside Deserialize(), as the IIS worker process, w3wp.exe. Then the module notices the token does not match and redirects with a 302 or throws a 500. By then it is too late.
A few details make it worse, per Mandiant's advisory:
- The check runs before Page_Load, so a page that checks the session inside Page_Load is still exposed.
- The page does not need a <form runat="server">.
- Any anonymously reachable .aspx page works. Pages protected by pipeline-level authentication are only reachable after login.
Mandiant rates the impact Critical and exploitability High. The CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N with E:A, which means exploitation has been observed.
How was CVE-2026-131914 found?
Google's FLARE team finished the root-cause analysis on November 4, 2026, during an incident response investigation. Credit goes to LDB, Genwei Jiang and Dhanesh Kizhakkinan of Google Cloud FLARE, and Brian Bahtiarian and Lucas Kossack of Mandiant Incident Response.
With no maintainer to notify, Mandiant's CNA requested a CVE on November 11 for public awareness. It published advisory MNDT-2026-0048 on November 18, and the CVE record went live on November 19.
As of November 23, 2026, CVE-2026-131914 is not in CISA's KEV catalog and NVD analysis is pending. Mandiant has not said who is exploiting it, and The Hacker News is still waiting on Google for details.
Is this the same as the old ViewState attacks?
Idunno.AntiCsrf and ViewState attacks use the same sink, with a different missing key.
ASP.NET ViewState uses ObjectStateFormatter too. The difference is that ASP.NET signs ViewState with a MAC derived from the machineKey, so tampered ViewState fails validation before anything is deserialized. The history of ViewState attacks is a history of that key:
- 2013 and 2014: Microsoft warned in December 2013 that EnableViewStateMac=false could let an attacker run code. ASP.NET 4.5.2 ignored the setting, and in September 2014 Microsoft forced it off for ASP.NET 1.1 through 4.5.1 through Windows Update.
- 2020: CVE-2020-0688. Every Exchange Server install shipped the same validationKey, so any authenticated user could sign malicious ViewState and run code as SYSTEM.
- 2025: Microsoft Threat Intelligence found more than 3,000 machine keys published in documentation and code repositories, and saw one used in December 2024 to drop the Godzilla post-exploitation framework.
Microsoft spent a decade making sure ASP.NET never deserializes client state without a MAC. Idunno.AntiCsrf calls the same formatter with no key at all, so none of those fixes reach it. An attacker does not need to steal a machineKey. There is no key to steal.
How do I know if I am affected?
Search for it. From the root of each web app:
Mandiant lists hashes for the 2008 build and two rebuilds of the CodePlex source, however, a copy someone recompiled in-house will have its own hash. Search by name too.
Then check IIS logs for POST requests to .aspx pages that returned a 302 or a 500 with unusually large request sizes (cs-bytes, if you log it).
If you find signs of exploitation, rotate every secret in Web.config and applicationHost.config, including machineKey values, encryption keys, and database credentials, and look through the web root for files you did not put there. New keys do not remove a web shell.
What should I replace Idunno.AntiCsrf with?
Remove it first:
- Delete the Idunno.AntiCsrf.AntiCsrfModule entries from <httpModules> and <modules>.
- Delete the <csrfSettings> element and its <section> entry in <configSections>.
- Remove references to ISuppressCsrfCheck and [SuppressCsrfCheck].
- Delete Idunno.AntiCsrf.dll from bin/.
Then use the anti-CSRF protection built into the framework you run. All of these are keyed: the token is protected by the machineKey or by ASP.NET Core Data Protection, so a forged token fails validation instead of getting deserialized.
Where does NES for .NET fit?
HeroDevs does not patch Idunno.AntiCsrf. It is not part of .NET, it is not in our .NET Essentials Plus catalog, and removing it is the right fix.
Where NES for .NET comes in is what you replace it with.
WebForms only runs on .NET Framework, which Microsoft still services as part of Windows, so the System.Web options above stay patched by Microsoft.
A team using this as the push to move a WebForms app to ASP.NET Core and IAntiforgery should check which runtime it lands on. .NET 8 and .NET 9 reached end of support on November 10, 2026. IAntiforgery on .NET 8 now ships in a runtime Microsoft no longer patches.
NES for .NET keeps .NET 6, 8, and 9 patched after Microsoft stops: the SDK, the runtime, and the ASP.NET Core runtime, IAntiforgery included. They are drop-in builds of the same versions, so your code does not change.
After .NET 6 reached end of support, NES for .NET 6 shipped a fix for CVE-2026-114151, a remote code execution bug in the Microsoft.DiaSymReader.Native component of the shared framework, using the build Microsoft shipped to fix it on supported versions. The release notes list every fix.
.NET Essentials Plus covers the other half of the problem: the third-party libraries .NET apps depend on. It includes MessagePack, NHibernate, NodaTime, Polly, SendGrid, SkiaSharp, StackExchange.Redis, Swashbuckle.AspNetCore, NUnit, and xUnit, among others. One recent MessagePack fix was CVE-2026-48509, an insecure deserialization default in the MVC input formatter.
What is the oldest dependency you are running?
Idunno.AntiCsrf sat in bin/ folders for nearly 18 years. Nobody updated it, because nothing ever told them to: no new release, no advisory, and no CVE until November 2026.
That is normal for old dependencies. Scanners match known CVEs to known packages. A DLL copied into bin/ by hand has no package reference to match, and a project with no maintainer has nobody to file a CVE until someone like Mandiant finds it the hard way, in an incident.
So, it is worth asking about your most important app: what is the oldest dependency in it, and who would tell you if it broke?
Frequently asked questions
Is ASP.NET vulnerable to CVE-2026-131914?
No. The bug is in Idunno.AntiCsrf, a third-party library. ASP.NET, .NET Framework, and modern .NET are not affected. An app is affected only if it loads Idunno.AntiCsrf.
Is ASP.NET Core affected?
No. Idunno.AntiCsrf is an IHttpModule for System.Web, which ASP.NET Core does not use.
Is there a patch?
No. The project has had no release since December 2008 and has no maintainer. Mandiant recommends removing it.
Can a WAF block it?
A rule can catch gadget payloads in __CSRFTOKEN, but the cookie and field names are configurable in <csrfSettings>, so check what your app uses. Treat it as a stopgap while you remove the module.
Does HeroDevs patch Idunno.AntiCsrf?
No. NES for .NET covers the .NET SDK, runtime, and ASP.NET Core runtime, and .NET Essentials Plus covers a specific set of third-party libraries. Idunno.AntiCsrf is currently in neither, and the right fix is removing it.
Security fixes for .NET after end of support
If your apps run on .NET 6, 8, or 9, NES for .NET keeps the runtime and ASP.NET Core patched while you plan the next upgrade. Talk to our team about coverage.
Resources
View All Articles


