Back to Articles
critical CVE-2026-131914

CRITICAL: Idunno.AntiCsrf Flaw Exploited for Unauthenticated RCE on IIS

Mandiant confirmed active exploitation of CVE-2026-131914, a CVSS 9.3 insecure deserialization flaw in the abandoned Idunno.AntiCsrf library for ASP.NET WebForms that allows unauthenticated code execution in IIS with a single POST request. No patch exists, so organizations must find and remove the library.

By Danny Mercer, CISSP — Lead Security Analyst • Nov 23, 2026
Is your business exposed? Our McKinney-based security team can assess your risk for free.
Share:

Somewhere out there, a web application written during the second Bush administration is still quietly protecting its forms with a library nobody has touched since December 2008. That application is now a target. Mandiant has confirmed active exploitation of CVE-2026-131914, a critical insecure deserialization flaw in Idunno.AntiCsrf, an abandoned anti-CSRF module for ASP.NET WebForms. A single unauthenticated HTTP POST request is enough to run code inside the IIS worker process. There is no patch, and there never will be, because there is nobody left to write one.

This is the kind of vulnerability that makes asset inventory people feel vindicated and everyone else feel slightly ill. The library was built to stop cross-site request forgery. Instead it hands an anonymous attacker a remote code execution primitive on the server, which is a little like installing a deadbolt that opens for anyone who knocks politely.

What Mandiant found

The flaw came to light the hard way, during an incident response engagement. According to Mandiant's advisory MNDT-2026-0048, the Google Cloud FLARE team completed its root cause analysis on November 4, 2026. Because the upstream project is defunct and has no maintainer to coordinate with, Mandiant acted as the CVE Numbering Authority and began assignment on November 11 so defenders would at least have an identifier to search for. The advisory and the CVE went public on November 18. The advisory states plainly that "active exploitation in the wild has been observed," and Mandiant rates exploitability as High.

The vulnerability carries a CVSS 4.0 score of 9.3, with a vector that reads like a defender's worst wish list. It is network reachable, low complexity, requires no privileges and no user interaction, and delivers high impact to confidentiality, integrity and availability. The vector also carries the E:A exploit maturity flag, meaning attacked, which is the CVSS way of saying this is not theoretical. The weakness is classified as CWE-502, deserialization of untrusted data.

Affected code is the Idunno.AntiCsrf.dll assembly at version 0.9.1.0, which shipped publicly as 0.9.1 Beta. That was the last release ever made. The project lived on CodePlex, which Microsoft shut down years ago, and today it survives mainly in archives and, apparently, in production web servers that nobody has looked at closely in a very long time.

How the attack works

Idunno.AntiCsrf implements the double-submit cookie pattern. It registers an HTTP module, Idunno.AntiCsrf.AntiCsrfModule, that hooks the PreRequestHandlerExecute stage of the ASP.NET pipeline and compares a CSRF cookie against a hidden form field on postback. The problem is in how it reads that form field. The module hands the token data to an unkeyed System.Web.UI.ObjectStateFormatter and deserializes it with no MAC or signature verification of any kind.

Anyone who has followed .NET security over the past decade knows exactly where this goes. ObjectStateFormatter is the same serializer that sits behind ViewState, and it is a well understood gadget chain sink. Feed it a crafted Base64 payload and it will cheerfully instantiate whatever object graph you describe, including ones that end in arbitrary code execution. Public tooling for generating these payloads has existed for years.

What makes CVE-2026-131914 so ugly is how little the attacker needs. Per Mandiant, the only validation the module performs is that the cookie, named __CSRFCOOKIE by default, and the form field, named __CSRFTOKEN by default, are both non-empty. A cookie value of 1 is perfectly acceptable. The attacker places a gadget chain in the token field, sends one POST, and the payload executes as w3wp.exe with whatever privileges the application pool identity holds. Mandiant describes the result as complete compromise of the web application server.

There is a nasty subtlety around authentication that deserves attention. Because the module runs before Page_Load, an application that checks for a logged-in session inside the page code is still exposed. The login prompt you see in the browser means nothing if the dangerous code has already run by the time the page decides you are not welcome. Only authentication enforced earlier in the ASP.NET pipeline, before the module fires, will stop anonymous requests from reaching the sink. Mandiant also notes that the target page does not even need a server side form element. Any anonymously reachable .aspx page is enough. The only pages spared are those implementing ISuppressCsrfCheck or decorated with the SuppressCsrfCheck attribute.

It is also worth being clear about what this is not. This is not a flaw in ASP.NET WebForms itself, and Microsoft has nothing to patch. It is also not a machine key attack, so rotating your machineKey will not close the hole. The deserialization happens without any key at all, which is precisely the problem.

Who is exposed

Mandiant has not named a threat actor, a victim count or a target sector, and Google had not shared further details at the time of writing. That leaves defenders working from first principles, and those principles are not comforting.

The realistic population of affected systems is legacy line of business software. Think internal portals built by a contractor in 2009, vendor supplied web applications that bundled the library and were never refactored, intranet tools that quietly graduated to being internet facing during a remote work scramble, and older ecommerce or customer portals still running on Windows Server with the .NET Framework. These are precisely the systems that tend to sit outside regular vulnerability scanning, run under over privileged service accounts, and keep database credentials in plain view inside Web.config.

That last point matters. Once an attacker has code execution inside w3wp.exe, Web.config and applicationHost.config are right there, and they routinely contain connection strings, machine keys and API secrets. The web server becomes a launch point into the database tier and often into the domain. A low profile web shell dropped into the webroot can survive for months on a server that nobody wants to touch because it still works.

What to do right now

The first job is finding out whether you run this thing at all. Search every IIS server you are responsible for, including the ones you inherited and the ones you would rather forget about, for Web.config references to Idunno.AntiCsrf or AntiCsrfModule, and check application bin folders for Idunno.AntiCsrf.dll. Mandiant published hashes for known builds, including the official 2008 release with a SHA-256 of da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06, but warns that custom rebuilds will hash differently. Search by file name as well as by hash, because plenty of shops compiled this from source back in the day.

If you find it, remove it completely. Mandiant's guidance is to delete the module registration from both the httpModules and modules sections, remove the csrfSettings section declarations and the csrfSettings element itself, strip out any ISuppressCsrfCheck or SuppressCsrfCheck references from the code, and delete the DLL from bin. Then replace the protection with something that is actually maintained. System.Web.Helpers.AntiForgery works for classic ASP.NET, Page.ViewStateUserKey combined with MAC verified or encrypted ViewState is the native WebForms approach, and IAntiforgery is the answer if the application is ever migrated to ASP.NET Core. Removing the library without a replacement leaves the forms unprotected against CSRF, which is a much smaller problem than unauthenticated RCE but still a problem.

If removal has to wait for a change window, buy time at the edge. A web application firewall rule that blocks POST requests carrying a __CSRFTOKEN field with an unusually large or Base64 shaped value is a reasonable stopgap, as is moving authentication earlier in the pipeline or restricting the application to known networks. Treat these as tourniquets, not cures.

Then assume you might already be compromised and go hunting. Mandiant recommends reviewing IIS logs for anomalous POST requests to .aspx endpoints that return HTTP 302 or HTTP 500 with elevated cs-bytes values, keeping in mind that the cs-bytes field is not logged by default. A 302 usually means customErrors or a redirect detection setting caught the exception after the payload already fired, and a 500 typically means errors are surfacing directly. Neither status code means the attack failed. On the endpoint side, any child process spawned by w3wp.exe, particularly cmd.exe or powershell.exe, deserves immediate scrutiny, as do recently created .aspx, .ashx or .asmx files in the webroot and unexpected modules registered in IIS.

If you find evidence of exploitation, removing the DLL closes the door but does nothing about anyone already inside. Preserve the logs, sweep the webroot for unauthorized files, and rotate every secret stored in Web.config and applicationHost.config, including machineKey values, encryption keys and database credentials. Then follow the credentials downstream and check where they were used.

The bigger lesson

Every few years the industry relearns that abandoned dependencies are not dormant, they are just unmonitored. Idunno.AntiCsrf did its job quietly for over seventeen years, and the people who added it to their projects were doing the responsible thing at the time. The failure is not that someone used it in 2009. The failure is that nobody had a reliable way to know it was still running in 2026. Software bills of materials, dependency inventories and periodic reviews of legacy applications are not glamorous work, but this is exactly the scenario they exist for. When a CVE drops with no vendor and no patch, the only people who can respond quickly are the ones who already know what they own.

If an IT provider manages your systems

If your business runs an older web application on a Windows IIS server, it may include Idunno.AntiCsrf, a library that has no patch and no one maintaining it. Mandiant has confirmed that attackers are already exploiting CVE-2026-131914 to take over these servers without logging in.

  • Have you searched all our IIS servers, including older ones, for Idunno.AntiCsrf.dll or AntiCsrfModule in Web.config?
  • If you find it, when will it be removed and replaced with protection that is still maintained, and what protects us until then?
  • Have you checked our IIS logs and web folders for signs that someone has already exploited it?

A good answer is a finished search with a clear result and a date for removal. If the library turns up and no one can rule out an earlier break-in, bring in incident response to investigate and change the passwords and keys stored on that server.

If you are an IT provider yourself, see how we partner with MSPs.

References

Happening right now?

Business email taken over, or a payment sent to the wrong account?

Call us now. The first hours matter most: your bank may still be able to recall the payment, and whoever is in the mailbox keeps access until it is locked down. We handle the lockout and help trace the payment.

Not an emergency? Get a free security assessment instead.