A CSRF protection library that nobody has updated since 2008 is now a working way into IIS servers. Mandiant says a single unauthenticated POST request can run code on any ASP.NET WebForms site that still loads Idunno.AntiCsrf, and attackers are already doing it.
In short: Idunno.AntiCsrf CVE-2026-131914 is an exploited, unpatchable remote code execution flaw in an abandoned third-party module, and the only fix is to rip it out. CISA added it to the Known Exploited Vulnerabilities catalog on 24 November 2026. If your organisation runs older WebForms applications, the first job today is to find out whether this DLL is sitting in any bin folder.
- What is Idunno.AntiCsrf CVE-2026-131914?
- How does the vulnerability work?
- Who is affected and how do you check exposure?
- Who is exploiting it and what is known so far?
- How do you detect exploitation of CVE-2026-131914?
- How do you fix it? A prioritised plan
- How does it compare with other ASP.NET deserialization attacks?
- Is it as bad as it sounds? The limits
- Open questions
- The bottom line
- Sources
What is Idunno.AntiCsrf CVE-2026-131914?
CVE-2026-131914 is an insecure deserialization vulnerability (CWE-502) in Idunno.AntiCsrf.dll, version 0.9.1.0, also published as 0.9.1 Beta. Mandiant published it as advisory MNDT-2026-0048 on 18 November 2026 and scores it 9.3 Critical under CVSS 4.0.
Insecure deserialization means a program turns attacker-supplied bytes back into live objects without checking where they came from. In .NET, the right sequence of objects, called a gadget chain, can make that conversion step run code.
Here, the vulnerable code sits in the module’s AntiCsrfModule HTTP module. When a WebForms page receives a POST, the module takes the CSRF token from the form and deserializes it with a System.Web.UI.ObjectStateFormatter that was created without any key. According to Mandiant, that formatter performs no MAC, signature, encryption or machineKey validation and restricts no types. The result is code execution inside w3wp.exe, the IIS worker process, which Mandiant describes as complete compromise of the web application server.
What did the library do in the first place?
Idunno.AntiCsrf is an IHttpModule, a component that plugs into the ASP.NET request pipeline and sees every request before the page code does. It was published on Microsoft’s old CodePlex hosting site to add double-submit cookie CSRF protection to WebForms applications.
Cross-site request forgery (CSRF) is an attack where a malicious site makes a logged-in user’s browser send an unwanted request to another site. The double-submit cookie pattern defends against it by placing the same random value in a cookie and in a hidden form field, then checking that the two match on each POST.
In this library, the hidden field holds a serialized copy of the cookie’s GUID. That design choice is what turned a security control into an entry point.
How does the vulnerability work?
The flaw is an ordering mistake plus a missing key. The module deserializes the form value first and only compares it with the cookie afterwards, so the dangerous step happens before any check can fail.
The conceptual chain
Mandiant’s advisory describes the sequence at the level of the ASP.NET pipeline:
- The module registers for the
PreRequestHandlerExecuteevent, which fires before the page’s ownPreInit,InitandPage_Loadcode. - On a POST to any WebForms page, it checks only that the configured CSRF cookie and the configured CSRF form field are both non-empty. It does not check that the cookie looks like a GUID.
- It creates a parameterless
ObjectStateFormatterand callsDeserializeon the form field. - Any code carried in the payload runs at that moment, under the IIS application pool identity.
- Only then does the comparison fail. Depending on configuration, the module redirects with HTTP 302 or throws an exception that surfaces as HTTP 302 or HTTP 500.
Why a missing key matters
ASP.NET’s own ViewState uses the same ObjectStateFormatter class, but it protects the data with the server’s machine key, so a forged blob is rejected. The library called the formatter without that protection. In plain terms, it trusted a Base64 string from the internet as if the server had written it.
Details that change who is exposed
Two lines in the advisory are easy to miss and matter a lot for scoping:
- No form needed. The sink is reachable on POST even when the page has no
<form runat="server">element. - A configuration bug moves the field name. By default the cookie is
__CSRFCOOKIEand the form field is__CSRFTOKEN. Mandiant found that if the<csrfSettings>section is missing fromWeb.configentirely, a setter bug overwrites the fallback form field name with the stringRaiseException. Hunting only for__CSRFTOKENin request data can therefore miss attacks.
Who is affected and how do you check exposure?
Any ASP.NET WebForms application that registers Idunno.AntiCsrf.AntiCsrfModule in Web.config and ships Idunno.AntiCsrf.dll is affected. Applications that never installed the module are not, and ASP.NET itself is not vulnerable.
Which pages are reachable without logging in?
Mandiant is precise here. Pipeline-level authentication and authorization rules, such as <authorization> blocks enforced through AuthenticateRequest and AuthorizeRequest, run before the module. Pages locked behind those rules are not anonymously reachable.
The exposed set is:
- any
.aspxpage that anonymous users can reach, such as a login, contact or search page; - any page that checks the session inside
Page_Loadinstead of at the pipeline level, because the module runs beforePage_Load; - excluding pages that implement
ISuppressCsrfCheckor carry the[SuppressCsrfCheck]attribute, which the module skips.
In practice, almost every public WebForms site has at least one anonymous page, so treat any internet-facing application using the module as exposed.
How to find the library
| Check | Where | What to look for |
|---|---|---|
| Configuration | Every Web.config |
Idunno.AntiCsrf, AntiCsrfModule, a <csrfSettings> section |
| Binaries | Every application bin/ folder |
Idunno.AntiCsrf.dll (69,632 bytes for the official build) |
| Code | Source repositories | ISuppressCsrfCheck, [SuppressCsrfCheck] |
| Hash | File inventory or EDR | Official 0.9.1.0 build SHA-256 da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06 |
Mandiant also lists hashes for two rebuilds of the CodePlex source, linked in the sources below. It warns that teams who recompiled or customised the library will have different hashes but the same vulnerable code, so name-based searches matter more than hash matching.
Who is exploiting it and what is known so far?
Mandiant’s advisory states that active exploitation in the wild has been observed, and its timeline shows the bug was found during an incident response engagement. Google’s threat intelligence team gave no further detail and told The Hacker News it had nothing more to share.
watchTowr, in a post on X on 24 November, said its honeypots had caught probes using what it called “creative .NET compiled gadget payloads”. The Hacker News reports that a successful probe makes the server redirect to a unique URL, which tells the attacker the target is vulnerable. watchTowr suggested WAF rules as a stopgap.
No source names an actor, a campaign or any victim. CISA’s alert does not say who is behind the exploitation either.
Timeline
| Date | Event | Source |
|---|---|---|
| December 2008 | Official 0.9.1 Beta build, the last release | Mandiant |
| 4 November 2026 | Google Cloud FLARE completes root-cause analysis during an IR case | Mandiant |
| 11 November 2026 | Mandiant, acting as CNA, starts CVE assignment | Mandiant |
| 18 November 2026 | Advisory MNDT-2026-0048 and CVE-2026-131914 published | Mandiant |
| 24 November 2026 | CISA adds CVE-2026-131914 to KEV | CISA |
| 24 November 2026 | watchTowr reports in-the-wild probes | The Hacker News |
The Hacker News reports a federal remediation deadline of 27 November 2026. CISA’s alert page itself does not show a due date, so check the KEV catalog entry for the authoritative value.
Mandiant credits LDB, Genwei Jiang and Dhanesh Kizhakkinan of Google Cloud FLARE, and Brian Bahtiarian and Lucas Kossack of Mandiant Incident Response, with the discovery.
How do you detect exploitation of CVE-2026-131914?
Start with IIS logs, then move to the endpoint. The sources publish no network indicators, so detection has to be behavioural.
IIS logs
Mandiant’s specific guidance is to look for anomalous POST requests to .aspx pages that return HTTP 302 or HTTP 500 with elevated cs-bytes. The cs-bytes field records the size of the request and is not logged by default, so enable it now if it is missing.
Useful filters:
- POSTs from a single source to many different
.aspxpages, which suggests scanning; - POSTs to pages that normally only receive GET traffic;
- a burst of 302 responses to the module’s configured error page, or 500 responses carrying
PotentialCsrfExceptionin application logs.
Endpoint and server telemetry
Because code runs inside w3wp.exe, the usual web-shell and post-exploitation signals apply:
w3wp.exespawningcmd.exe,powershell.exeor other shells;- new
.aspx,.ashxor.dllfiles written into the webroot orbinfolder; - reads of
Web.configorapplicationHost.configby unexpected processes.
ATT&CK mapping
The sources do not publish ATT&CK techniques. Our own mapping of the described behaviour is T1190 (Exploit Public-Facing Application) for initial access, with T1505.003 (Web Shell) and T1552.001 (Credentials In Files) as the likely next steps that defenders should hunt for, based on Mandiant’s advice to inspect webroots and rotate stored secrets.
How do you fix it? A prioritised plan
There is no version to upgrade to. Mandiant’s resolution is to stop using the library.
- Inventory today. Search every
Web.configandbinfolder on IIS servers, including staging and forgotten legacy hosts, for the names in the table above. - Hunt before you change anything. Pull IIS logs back to at least early November and apply the detection filters. Preserve logs and a disk image if anything looks wrong.
- Block at the edge as a stopgap. If removal will take time, add WAF rules as watchTowr suggests, or take the application offline. Legitimate postbacks carry the same cookie and form field, so a useful rule has to look at the size or content of the field rather than its presence.
- Remove the module. Delete the
AntiCsrfModuleentries from<httpModules>and<modules>, thecsrfSettingssection declaration and element, all code references toISuppressCsrfCheckand[SuppressCsrfCheck], and the DLL itself. - Replace the protection. Mandiant lists
System.Web.Helpers.AntiForgery,Page.ViewStateUserKeywith MAC-verified or encrypted ViewState, or ASP.NET CoreIAntiforgery. Removing CSRF protection without a replacement trades one bug for another. - Rotate if you find evidence. Rotate every secret in
Web.configandapplicationHost.config, including<machineKey>values, encryption keys and database credentials, and inspect the webroot for unauthorised files.
Step 6 deserves emphasis. A stolen machine key lets an attacker come back through ViewState later, even after this module is gone, which is exactly the attack described in the next section.
How does it compare with other ASP.NET deserialization attacks?
The closest relative is the ViewState machine key abuse that Microsoft Threat Intelligence described in February 2025. Microsoft saw limited activity in December 2024 in which an unattributed actor used a publicly disclosed machine key to forge ViewState and load the Godzilla post-exploitation framework into w3wp.exe. Microsoft said it had identified more than 3,000 publicly disclosed keys.
| Idunno.AntiCsrf CVE-2026-131914 | ViewState with public machine keys (2024-2025) | |
|---|---|---|
| Root cause | Library deserializes with no key at all | Server uses a key that attackers already know |
| Attacker needs | Nothing beyond network access | A matching leaked or copied key |
| Code runs in | w3wp.exe |
w3wp.exe |
| Patch available | No, library is abandoned | Not a bug: rotate or regenerate keys |
| Reported by | Mandiant, November 2026 | Microsoft, February 2025 |
| Fix | Remove library, adopt supported anti-forgery | Remove static keys, rotate, rebuild if exploited |
The comparison shows why this CVE is worse in one way: Microsoft’s scenario needs the defender to have made a key-handling mistake, while this one needs only the DLL to be present. It also shows the link between them. Microsoft warned that after a successful compromise, rotating keys alone is not enough because attackers may have left persistence, and the same caution applies here.
Same week, same KEV batch
CVE-2026-131914 arrived in CISA’s 24 November batch alongside two other bugs we have covered: the Drupal installer flaw in Drupal Fail2Install: Why the First Patch Was Not Enough and the Optimizely flaw behind the Optimizely supply chain attack on 178 brands. Of the three, it is the only one with no vendor to fix it.
The pattern of old, forgotten code being exploited also echoes Apache Roller CVE-2026-129448, where deserialization in long-unmaintained versions turned into a live risk.
Is it as bad as it sounds? The limits
It is serious, but scope is narrower than a framework bug:
- Only sites using this module are affected. It is a niche third-party component from 2008, not part of ASP.NET.
- Pipeline-level authentication helps. Pages protected by
<authorization>rules are not anonymously reachable, though most sites still have some public pages. - Code runs as the application pool identity, not SYSTEM by default. What that identity can reach, such as database credentials in
Web.config, decides the real blast radius.
The real danger is visibility. A DLL added to a project in 2009 rarely shows up in a modern dependency scanner, has no package manager entry to flag, and may live on servers nobody has touched in years.
Open questions
The sources leave several things unanswered:
- Who is exploiting it? Neither Mandiant, CISA nor watchTowr names an actor, a sector or a victim.
- How many sites use it? No source gives an install count or internet exposure figure.
- What was the score? Mandiant scores it 9.3 under CVSS 4.0; the CVE Brief aggregator lists 9.5. Use Mandiant’s figure as the authoritative one.
- What happened after exploitation? Mandiant describes no post-exploitation activity, and the one public honeypot report describes only probes.
- What is the deadline? The Hacker News reports 27 November for federal agencies, which CISA’s alert page does not show.
The bottom line
Idunno.AntiCsrf CVE-2026-131914 turns an 18-year-old security module into a one-request path to code execution on IIS, and no patch will ever ship. Find the DLL, hunt your logs for odd POSTs ending in 302 or 500, remove it, replace it with supported anti-forgery and rotate secrets if anything looks wrong. Abandoned code does not stop being your attack surface just because nobody remembers installing it.
Sources
- Mandiant advisory MNDT-2026-0048 (CVE-2026-131914)
- CISA: CISA Adds Three Known Exploited Vulnerabilities to Catalog (24 November 2026)
- CISA Known Exploited Vulnerabilities Catalog
- The Hacker News: Hackers Exploit Critical ASP.NET Anti-CSRF Library Flaw Allowing Unauthenticated RCE
- CVE Brief archive, 28 November 2026
- Microsoft Threat Intelligence: Code injection attacks using publicly disclosed ASP.NET machine keys
- cve.org record for CVE-2026-131914
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.