Key Takeaways
- CVE-2026-131914 is a critical insecure deserialization flaw in the legacy ASP.NET anti-CSRF library Idunno.AntiCsrf, rated CVSS 9.3.
- A single unauthenticated HTTP POST request lets a remote attacker execute arbitrary code in the IIS worker process.
- The module deserializes the CSRF form field with an unkeyed ObjectStateFormatter before it validates the token.
- Attackers exploit the flaw in the wild, and probes confirm vulnerable servers by triggering a redirect.
- No patch exists because the project is defunct, so organizations must remove and replace the library.
- IIS logs showing POST requests to .aspx pages that return HTTP 302 or 500 can indicate exploitation attempts.
- The Picus Platform helps security teams simulate CVE-2026-131914 attacks and validate their security controls.
CVE-2026-131914 is a critical insecure deserialization vulnerability in Idunno.AntiCsrf, a legacy anti-CSRF library for ASP.NET WebForms, that lets an unauthenticated remote attacker execute arbitrary code on the web server with a single HTTP POST request.
The flaw carries a CVSS 4.0 score of 9.3 (Critical) and affects Idunno.AntiCsrf.dll version 0.9.1.0, also labeled 0.9.1 Beta, which is the last release of the project [1]. The public advisory appeared on November 18, 2026, two weeks after an incident response investigation produced the root-cause analysis, and it confirms active exploitation in the wild. Within a week of publication, honeypots recorded exploit probes that confirm a vulnerable target by forcing it to redirect to a unique URL [2]. The project is defunct and has seen no update since December 2008, so no patch exists.
In this blog, we explain how CVE-2026-131914 works, how to remove and replace the vulnerable library, and how to simulate the attack with the Picus Platform.
What Is Idunno.AntiCsrf?
Idunno.AntiCsrf is a third-party, open-source library that adds Cross-Site Request Forgery (CSRF) protection to ASP.NET WebForms applications. The project lived on CodePlex, a hosting platform that has since shut down, and its last release, 0.9.1 Beta, dates from December 2008 [1].
The library implements the double-submit cookie pattern. In this pattern, the server sets a random value in a cookie and expects the client to send the same value back in a form field or header, then rejects any request where the two do not match [3]. Idunno.AntiCsrf generates a GUID when a browser has no CSRF cookie yet, stores it in the cookie, and writes a serialized copy of it into a hidden field of each server-side form.
The library ships as a single assembly, Idunno.AntiCsrf.dll, in the application's bin/ directory. It runs as an HTTP module, a component that ASP.NET loads into its request pipeline so that it can inspect requests before any page code runs. An administrator registers the module once in Web.config, and it then covers every WebForms page in the application without changes to the pages themselves. That position in the pipeline is also what makes the vulnerability so widely reachable.
A library this old is easy to overlook. It can sit inside internally developed applications as well as packaged ASP.NET products [2], and organizations that recompiled or customized it carry the same vulnerable code under different file hashes.
What Is CVE-2026-131914?
CVE-2026-131914 is an insecure deserialization vulnerability (CWE-502: Deserialization of Untrusted Data) in the HTTP module of Idunno.AntiCsrf. Deserialization rebuilds live objects in memory from a stream of bytes. When an application deserializes data that an attacker controls without verifying it first, the attacker can supply objects that run code while the application rebuilds them.
The module deserializes the CSRF token of incoming POST requests without any cryptographic check that the application itself issued that token [1]. An attacker replaces the token with a malicious serialized object and gains arbitrary code execution in the IIS worker process (w3wp.exe), which means complete compromise of the web application server.
The attack has few preconditions:
- The attacker needs network access to the application and nothing else: no credentials, no user interaction and no valid CSRF token.
- One reachable WebForms page is enough, as long as the request passes any authentication that the server enforces before the module runs and the page has not opted out of the CSRF check.
- A single HTTP POST request completes the attack.
|
Attribute |
Detail |
|
CVE ID |
CVE-2026-131914 |
|
Advisory |
MNDT-2026-0048, published November 18, 2026 |
|
Weakness |
CWE-502: Deserialization of Untrusted Data |
|
CVSS 4.0 score |
9.3 (Critical) |
|
CVSS 4.0 vector |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A |
|
Affected versions |
Idunno.AntiCsrf.dll 0.9.1.0 (0.9.1 Beta), including recompiled or customized builds |
|
Fixed version |
None. The project is defunct. |
|
Exploitation status |
Exploited in the wild |
How Does CVE-2026-131914 Work?
The attack abuses the code path that validates the CSRF token. The module passes the token from the request body to a .NET deserializer before it decides whether the request is legitimate, so the attacker's input executes during the check that should have rejected it. The steps below follow that input from the module's setup to code execution.
1. Module Registration
An application loads the library through its Web.config. The advisory lists the following entry under <httpModules> or <modules> as the registration to look for [1]:
|
<add name="..." type="Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf" /> |
This line makes ASP.NET call AntiCsrfModule for every request the application handles. A <csrfSettings> section configures the module. By default the module names the cookie __CSRFCOOKIE and the form field __CSRFTOKEN, and detectionResult defaults to RaiseException.
One quirk matters for defenders. If Web.config omits the <csrfSettings> section entirely, a setter bug in the settings class overwrites the fallback form field name with the string RaiseException. On such a server the token travels in a form field called RaiseException, not __CSRFTOKEN.
2. Token Issuance
When a page that contains a <form runat="server"> renders, the module's PagePreRender handler prepares the token. If the browser sent no CSRF cookie, the module creates a new GUID and returns it in an HttpOnly cookie. It then serializes that GUID with new ObjectStateFormatter().Serialize(...) and registers the result as a hidden form field.
ObjectStateFormatter is the .NET Framework class that ASP.NET uses to serialize view state. It writes simple types such as strings in a compact format, and it hands any other serializable type to BinaryFormatter, which Microsoft's documentation describes as insecure and impossible to make secure [4]. A formatter created with the parameterless constructor is unkeyed: it applies no MAC, no signature, no encryption and no machineKey validation.
The legitimate token is therefore only a Base64-encoded serialized string. Nothing in it proves that the server created it.
3. Reaching the Module
The module subscribes to the pipeline's PreRequestHandlerExecute event. This event fires before IHttpHandler.ProcessRequest and before the page lifecycle stages PreInit, Init and Page_Load.
The ordering decides who can reach the flaw. Authentication rules that IIS and ASP.NET enforce at the pipeline level (AuthenticateRequest and AuthorizeRequest) run earlier and still block anonymous requests. Login checks that an application performs in its own code inside Page_Load run later, so they offer no protection. Any anonymously reachable .aspx page exposes the flaw, and so does any page that depends on an application-level session check.
Only two things exempt a page: implementing the ISuppressCsrfCheck interface or carrying the [SuppressCsrfCheck] attribute. The page does not even need to contain a server-side form.
4. Unkeyed Deserialization
For a POST request to a non-exempt page, the module checks only that the CSRF cookie and the CSRF form field are both non-empty. It does not verify that the cookie holds a well-formed GUID. The module's GUID check (GuidTryParse) exists only in the rendering path of step 2.
The module then deserializes the form field and only afterward compares the result with the cookie. The following sketch is illustrative, written from the advisory's description, and is not the decompiled source:
|
// Illustrative sketch of the vulnerable logic string cookie = context.Request.Cookies[settings.CookieName].Value; string field = context.Request.Form[settings.FormFieldName]; // Only gate: both values must be non-empty // Attacker-controlled input reaches the deserializer here object token = new ObjectStateFormatter().Deserialize(field); // The comparison with the cookie happens after deserialization |
The order of operations is the root cause. The formatter is unkeyed and enforces no SerializationBinder restrictions, so it rebuilds whatever object graph the request supplies.
An attack request therefore has a simple shape. The following request is illustrative and carries a placeholder where the payload would be:
|
POST /Default.aspx HTTP/1.1 Host: app.example.com Cookie: __CSRFCOOKIE=1 Content-Type: application/x-www-form-urlencoded __CSRFTOKEN=<Base64-encoded ObjectStateFormatter payload> |
The cookie can hold any non-empty value, such as 1. The form field holds a gadget chain: a serialized graph of classes that already exist on the server and whose deserialization side effects combine into code execution.
5. Code Execution
The gadget chain runs inside the Deserialize() call, in the context of the IIS worker process w3wp.exe. The attacker's code runs with the privileges of that process, which gives full control over the web application.
The advisory's post-compromise guidance shows what is at stake: secrets in Web.config and applicationHost.config, including <machineKey> keys, encryption keys and database credentials, as well as the webroot, where attackers can place unauthorized files [1].
6. Server Response
The module rejects the request only after the payload has run. Its RaiseError routine produces one of three visible outcomes:
- With detectionResult="Redirect", the server answers HTTP 302 and points to the configured errorPage.
- With detectionResult="RaiseException" and customErrors active, the module throws PotentialCsrfException and the server answers HTTP 302 to the defaultRedirect page.
- With detectionResult="RaiseException" and customErrors mode="Off", the server answers HTTP 500.
A successful attack therefore looks like a rejected request in the logs, which is why the status code alone does not reveal it.
Attackers already use this behavior to find targets. Honeypot probes reported on November 24, 2026 carried compiled .NET gadget payloads that make a vulnerable server redirect to a unique URL, which discreetly confirms to the attacker that the host is exploitable [2].
How to Remediate and Mitigate CVE-2026-131914?
No patch exists for CVE-2026-131914. Idunno.AntiCsrf has no active maintainer, so the only remediation is to remove the library and replace it with a supported anti-CSRF mechanism [1].
Remove the Library
The advisory describes a full removal in four steps:
- Remove every <add name="..." type="Idunno.AntiCsrf.AntiCsrfModule, Idunno.AntiCsrf" /> entry from <httpModules> and <modules> in Web.config.
- Remove the <section name="csrfSettings" ... /> entry from <configSections> and the <csrfSettings ... /> element.
- Remove code references to ISuppressCsrfCheck and [SuppressCsrfCheck].
- Delete Idunno.AntiCsrf.dll from the application's bin/ directory.
Replace CSRF Protection
Removing the module also removes the application's CSRF defense, so a supported implementation must take its place. The advisory names three options:
- System.Web.Helpers.AntiForgery, using AntiForgery.GetHtml() and AntiForgery.Validate() from System.Web.WebPages.
- ASP.NET WebForms Page.ViewStateUserKey, combined with MAC-verified and encrypted ViewState on postback forms.
- ASP.NET Core Anti-Request Forgery (IAntiforgery).
Find Affected Applications
Audit every ASP.NET Web.config file and bin/ directory for the strings Idunno.AntiCsrf and AntiCsrfModule. The audit should include third-party ASP.NET products, which can package the library [2].
The advisory lists hashes for the three known public builds of version 0.9.1.0 [1]. Searching by name remains necessary, because recompiled or customized builds have different hashes and the same flaw.
|
Build |
Size (bytes) |
SHA-256 |
|
Official 2008 release build |
69,632 |
da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06 |
|
Rebuild of CodePlex 0.9.1 Beta source (Release) |
69,632 |
c5c994891783453ae85f3ef8efb48592b7c560aeb56f531ee9ea5736518246eb |
|
Rebuild of CodePlex 0.9.1 Beta source (Debug) |
70,144 |
aa7bbad4a7ebc38519955ac65517716569508ee4f61fc2f1276086940501e9bf |
Hunt for Exploitation
Review IIS logs for anomalous POST requests to .aspx endpoints that return HTTP 302 or HTTP 500 with an elevated cs-bytes value, where the server logs that field. The response codes match the module's behavior after deserialization, and the large request size reflects the serialized payload in the form field.
Where the logs show evidence of exploitation, rotate all secrets stored in Web.config and applicationHost.config, including <machineKey> keys, encryption keys and database credentials, and inspect webroots for unauthorized files.
Interim Mitigation
Organizations that cannot replace the library immediately should apply web application firewall (WAF) rules in front of affected applications until they complete the replacement [2]. A WAF rule reduces exposure but leaves the vulnerable code in place, so it does not substitute for removal.
How Picus Simulates CVE-2026-131914 Attacks?
We strongly suggest simulating CVE-2026-131914 attacks to test the effectiveness of your security controls against real-life cyber attacks using the Picus Platform. You can also test your defenses against other vulnerability exploitation attacks, such as regreSSHion, Citrix Bleed, and Follina, within minutes with a 14-day free trial of the Picus Platform.
Picus Threat Library includes the following threats for the CVE-2026-131914 attacks:
|
Threat ID |
Threat Name |
Attack Module |
|
56341 |
ASP.NET Web Attack Campaign |
Web Application |
Picus also provides actionable mitigation content. Picus Mitigation Library includes prevention signatures to address CVE-2026-131914 vulnerability exploitation attacks in preventive security controls. Currently, Picus Labs has validated the following signatures for CVE-2026-131914 vulnerability:
|
Security Control |
Signature ID |
Signature Name |
|
F5 BIG-IP |
200104860 |
ASP.NET code injection - System.DelegateSerializationHolder (Parameter) |
|
FORCEPOINT NGFW |
N/A |
File-Text_Ysoserial-Generated-DotNet-Serialized-Object |
|
Trellix |
0x452b4b00 |
HTTP: Mylittleadmin ViewState .NET Deserialization Vulnerability (CVE-2020-13166) |
|
Snort CentOS |
1.65070.1 |
SERVER-WEBAPP Multiple products ASP.NET ViewState remote code execution attempt |
|
Cisco FirePower |
1.65070.1 |
SERVER-WEBAPP Multiple products ASP.NET ViewState remote code execution attempt |
|
TrendAI |
35498 |
TCP: YSoSerial.Net Deserialization Tool Usage |
Start simulating emerging threats today
Get actionable mitigation insights with a 14-day free trial of the Picus Platform.