Mandiant published MNDT-2026-0048 on November 18, 2026, after finding the flaw during an incident response engagement. The vulnerable component is an anti-CSRF library for ASP.NET WebForms whose last official build is dated December 2008. It sits in a bin directory, loads through Web.config, and turns a single unauthenticated POST into code execution inside the IIS worker process.

The project has no maintainer. There is no vendor, no patch, and no fixed version to install.

TL;DR

  • CVE-2026-131914 is an insecure deserialization flaw (CWE-502) in Idunno.AntiCsrf 0.9.1 Beta, scored 9.3 under CVSS 4.0.
  • AntiCsrfModule deserializes the configured CSRF form field with an unkeyed ObjectStateFormatter before Page_Load runs, checking only that the cookie and the form field are non-empty.
  • A single POST with no authentication and no valid CSRF token executes code as w3wp.exe. Any anonymously reachable .aspx page exposes the sink, even one without a server-side form.
  • Mandiant confirmed exploitation in the wild. CISA added the CVE to its KEV catalog on November 24 and set a federal remediation deadline of November 27, 2026.
  • There is no patch. Removal and replacement is the fix, and exposed hosts should be treated as potentially compromised.

Why this matters

Dependency scanners look at package manifests. This library never had one. It was distributed as a DLL from CodePlex, copied into bin/, and registered by hand in Web.config. That makes it invisible to the tooling most teams rely on for third-party risk: no packages.config entry, no NuGet lockfile, no transitive dependency graph.

The affected applications are the ones that stay in production for a decade: internal portals, claims systems, older line-of-business WebForms apps. They often sit behind a VPN or an application gateway, which is why nobody has rewritten them.

Mandiant’s timeline says the root-cause analysis was completed on November 4, during an incident response investigation. The bug was not found by scanning; it was found by looking at a compromised server.

How the module reaches the sink

Idunno.AntiCsrf registers an IHttpModule in Web.config:

<add name="AntiCsrf"
type="Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf" />

The module subscribes to PreRequestHandlerExecute. That event fires before the ASP.NET page lifecycle, before Page_Load, and before any session or application-level authorization check the page performs. When the request is a POST to a System.Web.UI.Page handler, the module looks up its configuration: cookieName defaults to __CSRFCOOKIE, formFieldName to __CSRFTOKEN, and detectionResult to RaiseException.

It then checks two things. The cookie must be non-empty, and the form field must be non-empty. Nothing else is checked. The cookie is not parsed as a GUID at this stage, and the request does not need a <form runat="server">.

With both values present, the module does this:

var formatter = new ObjectStateFormatter();
object token = formatter.Deserialize(Request.Form[formFieldName]);

The parameterless constructor is the problem. It performs no MAC check, no signature verification, no encryption, and it applies no SerializationBinder restrictions. The Base64 blob in the form field is deserialized as-is. A .NET gadget chain delivered there runs inside w3wp.exe, before the application’s own code gets a chance to reject the request.

There is a second bug in the configuration handling. If the <csrfSettings> section is missing from Web.config, a setter defect in CsrfSettings.DetectionResult overwrites the fallback form field name with the string RaiseException. That changes which form key the module reads, but it does not remove the sink.

After Deserialize() returns, the module reports the failed comparison. With detectionResult="Redirect" it sends a 302 to the configured error page. With the default RaiseException it throws PotentialCsrfException, which becomes a 302 to the customErrors redirect when custom errors are on, or an HTTP 500 when they are off. Both responses look like ordinary application errors in a log that only records status codes.

What the exploit requires, and what it does not

Mandiant’s advisory is precise about exposure. Pipeline authentication modules that run in AuthenticateRequest or AuthorizeRequest execute before the sink, so a page protected at that stage is not anonymously exploitable. A page that relies on a session check inside Page_Load is. So is any anonymous .aspx endpoint, including ones that render no form.

The advisory does not publish a gadget chain. Mandiant describes the sink and the conditions, not a working payload. That limits copy-and-paste attacks but not the risk: .NET object state gadget chains are well documented, and the module hands any of them a deserialization sink that runs before the page can object.

watchTowr reported probes against vulnerable applications on November 24. Its telemetry showed requests that triggered the redirect path, which the firm read as validation attempts. Probes are not the same as a confirmed compromise, but they usually arrive before one.

What You Can Do Today

  1. Search every ASP.NET application for the DLL and the module registration. Look for Idunno.AntiCsrf.dll in each application’s bin directory and for Idunno.AntiCsrf.AntiCsrfModule in Web.config, applicationHost.config, and any transformed config. Search by name, not only by hash: internally recompiled copies keep the vulnerable sink but have different file hashes. Mandiant lists SHA-256 values for the official 2008 build and two rebuilt variants, which help confirm the common case.

  2. Remove the module, the configuration, and the DLL together. Delete the <add name="..." type="Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf" /> entry from <httpModules> or <modules>, remove the csrfSettings section declaration and element, remove references to ISuppressCsrfCheck and [SuppressCsrfCheck], and delete the DLL. Removing only the DLL leaves a config that references a missing type and breaks the application; removing only the config leaves the DLL for the next deployment to re-register.

  3. Replace the protection before you remove it. Use System.Web.Helpers.AntiForgery (AntiForgery.GetHtml() and AntiForgery.Validate()), Page.ViewStateUserKey with MAC-verified and encrypted ViewState on postback forms, or IAntiforgery in ASP.NET Core. For WebForms, confirm that ViewState MAC is enabled and that the machineKey is not a static value copied from documentation.

  4. Treat exploitation as a server compromise. If IIS logs show POST requests to .aspx endpoints returning 302 or 500 with unusually large request bodies, preserve the logs and the application’s bin and Web.config before changing anything. Rotate every secret that lived in Web.config or applicationHost.config: machineKey validation and decryption keys, connection strings, API keys, and certificate passwords. Recycle the application pool and check the webroot and App_Data for files that do not belong to the deployment.

  5. Hunt the redirect pattern, not just the payload. The module’s failure path produces a redirect or a 500 even for a probe. A burst of POSTs to unrelated .aspx pages from one address, each followed by a 302 or 500, is worth investigating even when no payload is visible in the log. Enable request-body logging only where you can handle the privacy and storage cost, and keep the retention long enough to cover the KEV deadline and the weeks before it.

The uncomfortable part

Plenty of old code is safe. This module is not, because it deserializes untrusted data with no key, in a pipeline stage that runs before the application can defend itself, and nobody owns it.

Replacing it is a code change in applications that may have no active developer. That is the real remediation cost, and it is why the KEV deadline matters more than usual here: there is no upgrade path to wait for.

Sources