Mandiant has disclosed CVE-2026-131914 (CVSS 4.0 9.3, advisory MNDT-2026-0048), an insecure deserialization bug in Idunno.AntiCsrf. This is a legacy ASP.NET WebForms module that adds double-submit-cookie CSRF protection. Google Cloud’s FLARE team found the root cause on November 4, 2026, during an incident response engagement. The advisory says “Active exploitation in the wild has been observed.” The project was last released on CodePlex in 2008 and has no maintainer, so there is no patch and there won’t be one. The only fix is to remove the module.
The library is old, but it ended up in internal portals, line-of-business apps and vendor products built on .NET Framework WebForms that are still running on IIS. A security control that becomes a pre-auth RCE sink is exactly the kind of bug that sits unnoticed in a bin/ folder for 15 years.
Technical details
The flaw is in AntiCsrfModule.PreRequestHandlerExecute. This is an IHttpModule hook that runs on POSTs to any System.Web.UI.Page endpoint before the page lifecycle (Init, Page_Load) starts:
- The module checks only that the CSRF cookie and the CSRF form field are non-empty.
- It then passes the form field to
new ObjectStateFormatter().Deserialize(...). The parameterless constructor applies no MAC, no encryption, nomachineKeyvalidation and noSerializationBinder. ViewState protections do not apply here, and rotating machine keys does nothing. - The GUID format check on the cookie only runs later, in
PagePreRender, which is too late to matter. - Deserialization runs before the token comparison. The gadget chain fires inside
w3wp.exeeven though the request is then rejected as a CSRF failure.
Exploitation takes one POST. The attacker sends any cookie value (for example __CSRFCOOKIE=1) and a Base64 ObjectStateFormatter gadget chain, which off-the-shelf tooling such as ysoserial.net can generate, in the __CSRFTOKEN form field. The default names are __CSRFCOOKIE and __CSRFTOKEN. Mandiant also notes a setter bug in CsrfSettings.DetectionResult. When <csrfSettings> is absent, the bug can overwrite the fallback form field name with the literal string RaiseException, so defenders should not assume the default field name.
A target needs three things:
Idunno.AntiCsrf.dll0.9.1.0 (“0.9.1 Beta”), or any recompiled or forked build that keeps theObjectStateFormatter.Deserializesink.- A page reachable without authentication, or one that only enforces auth inside
Page_Load. That check runs too late. - No
ISuppressCsrfCheck/[SuppressCsrfCheck]opt-out on that page. The page does not need a<form runat="server">.
The server typically responds with an HTTP 302 or 500, depending on detectionResult and customErrors. An error response does not mean the attack failed.
Impact
The attacker gets code execution as the IIS application pool identity. From there the usual post-exploitation applies: dropping web shells into the webroot, reading Web.config and applicationHost.config for connection strings and machineKey material, and moving on to backend SQL servers and the domain. Because the module runs on every WebForms page, one forgotten anonymous endpoint (a login page, a health check, a legacy upload form) is enough. Brandefense reported that the CVE was not in CISA KEV as of November 23. Don’t wait for it to be added.
What to do now
Find it. Search every IIS host and every deployed app package, including vendor appliances and third-party products, for:
| |
Mandiant published SHA-256 hashes for known builds. Hash matching will miss custom rebuilds, though, so search by name and by type reference as well:
- Official 0.9.1.0:
da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06 - Rebuilt Release:
c5c994891783453ae85f3ef8efb48592b7c560aeb56f531ee9ea5736518246eb - Rebuilt Debug:
aa7bbad4a7ebc38519955ac65517716569508ee4f61fc2f1276086940501e9bf
Remove it. Delete the AntiCsrfModule entries from both <system.web><httpModules> and <system.webServer><modules>. Remove the csrfSettings section declaration and element, and any ISuppressCsrfCheck / [SuppressCsrfCheck] references. Then delete the DLL from bin/. Restore CSRF protection with System.Web.Helpers.AntiForgery, MAC-protected and encrypted ViewState with ViewStateUserKey, or IAntiforgery if the app has moved to ASP.NET Core.
If you can’t remove it today, put a WAF rule in front of the app that blocks POSTs where the CSRF form field holds large Base64 blobs. Treat this as a stopgap only.
Hunt. Review IIS logs for anonymous POSTs to .aspx endpoints that returned 302 or 500 with unusually large cs-bytes. Look for w3wp.exe spawning cmd.exe, powershell.exe or csc.exe, and for new .aspx/.ashx files in webroots. If you find any sign of compromise, rotate machineKey, encryption keys and every credential in Web.config and applicationHost.config. An attacker who already holds the machineKey can forge ViewState long after the module is gone.
References
- Mandiant advisory MNDT-2026-0048: https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0048.md
- GitHub Advisory GHSA-pj2m-2r8v-h9cp: https://github.com/advisories/GHSA-pj2m-2r8v-h9cp
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-131914
- Original project archive: https://codeplexarchive.org/project/AntiCSRF