CVE-2026-131914: the ASP.NET anti-CSRF library that deserializes its own token into RCE
Idunno.AntiCsrf deserializes the CSRF token before it validates it. One unauthenticated POST is code execution under w3wp.exe. CVE-2026-131914, CVSS 9.3, exploited now.
Published by Zero Hunt, an autonomous AI red team on an on-premise appliance running private AI: automated penetration testing for networks and infrastructure, black-box or gray-box, with a human approving every step that matters.
A control built to stop cross-site request forgery is now the way in. CVE-2026-131914 is an unauthenticated remote code execution bug in Idunno.AntiCsrf, a legacy anti-CSRF module for classic ASP.NET and WebForms. The module deserializes the CSRF token it receives before it checks whether the token is valid — so an attacker who sends a crafted token never has to pass the anti-CSRF check they are supposedly defeating. Mandiant, which found it during an incident-response investigation and assigned the CVE, rates it CVSS 9.3 and has observed active exploitation in the wild.
Developing story — first published 11:20 CET (10:20 UTC), November 23, 2026. Updated as Mandiant and CISA publish more.
At a glance
| CVE | CVE-2026-131914 |
| Product / affected versions | Idunno.AntiCsrf (Idunno.AntiCsrf.dll) through 0.9.1.0 / 0.9.1 Beta on classic ASP.NET · recompiled builds share the same sink |
| Fixed in | No fix · project defunct (last build 0.9.1 Beta, December 2008) · remove the module and migrate to a supported antiforgery mechanism |
| CVSS | 9.3 CRITICAL · CVSS 4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/E:A · scored by Mandiant (CNA) |
| Exploited in the wild | Yes · active exploitation observed per Mandiant MNDT-2026-0048; CVSS exploit maturity "Attacked" |
| CISA KEV | Not listed (catalog version 2026.11.20) |
| Public PoC | None published for this library as of 2026-11-23; the ObjectStateFormatter gadget chains it abuses are long public |
| Weakness | CWE-502 Deserialization of Untrusted Data |
| Official advisory | Mandiant MNDT-2026-0048 (2026-11-18) |
How an ASP.NET anti-CSRF guard became unauthenticated RCE
The failure is an ordering bug. Idunno.AntiCsrf hooks the request pipeline at AntiCsrfModule.PreRequestHandlerExecute, which runs before Page_Load. On a POST, the module's only early gate is that both the __CSRFCOOKIE cookie and the __CSRFTOKEN form field are non-empty. It then deserializes the form field to compare it against the cookie. Per Mandiant's analysis, the GUID comparison that would reject a forged token happens much later — in PagePreRender — and never before the Deserialize() call.
So the dangerous operation runs first and the validation runs last. An attacker sends a single request:
POST /anypage.aspx HTTP/1.1
Cookie: __CSRFCOOKIE=1
Content-Type: application/x-www-form-urlencoded
__CSRFTOKEN=<base64 ObjectStateFormatter gadget chain>
The cookie value 1 is enough to clear the non-empty check. The token field is never compared to anything before it is fed to the deserializer. No session, no login, no valid token — the request executes inside Deserialize() in the w3wp.exe worker process.
The anti-CSRF token is supposed to be the thing an attacker cannot forge. Here, forging it incorrectly is the exploit: the module trusts the bytes enough to deserialize them before it trusts them enough to compare them.
Why the ObjectStateFormatter sink is RCE, not just a crash
The deserializer is System.Web.UI.ObjectStateFormatter. Mandiant's analysis notes the module constructs it with the parameterless new ObjectStateFormatter() and calls Deserialize() directly — no MAC, no signature, no encryption, no machineKey validation, and no SerializationBinder to restrict which types can be instantiated.
That matters because ObjectStateFormatter is the same sink that makes ASP.NET ViewState deserialization a code-execution primitive. The difference is that ViewState RCE normally requires defeating the ViewState MAC — which is why leaked machineKey values are a prerequisite in the classic attack. Here there is no MAC to defeat. The library never checks one. The public gadget chains that tools like ysoserial.net generate for ObjectStateFormatter (TypeConfuseDelegate, ActivitySurrogateSelector, and relatives) drop straight in. This is unauthenticated-ViewState-RCE without the usual key requirement — a strictly easier bug than the one most ASP.NET shops already know to fear.
Who runs Idunno.AntiCsrf — and the ASP.NET deserialization problem
This is a 2008-era library from the retired CodePlex platform. Nobody adds it to a greenfield project in 2026 — which is exactly why it is dangerous. It lives in old line-of-business WebForms applications that have been "working fine" for fifteen years, pinned into bin/ and wired into Web.config by a developer who has long since moved on. It will not show up in your package manager, because it predates NuGet-first workflows. It will not necessarily match on version string, because Mandiant found that organizations recompiled the DLL and the vulnerable sink survives under different file hashes.
The exposure condition is modest: any anonymously reachable .aspx page that does not suppress the CSRF check is an entry point. Pages that gate on session only inside Page_Load are still reachable, because the deserialization fires before Page_Load runs.
Remediation
There is no vendor to call and no patch to apply. The fix is removal and migration. Treat this as the authoritative runbook.
1. Am I affected? Search every ASP.NET application's bin/ and configuration for the module:
# On the web server, from each app root:
grep -ril "AntiCsrf" ./bin ./Web.config
find . -iname "Idunno.AntiCsrf.dll"
# Confirm the known official 2008 build by hash (recompiles differ):
sha256sum ./bin/Idunno.AntiCsrf.dll
# official release: da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06
Also check Web.config for the registration — an <httpModules> / <modules> entry referencing the module, a csrfSettings section, or any ISuppressCsrfCheck / [SuppressCsrfCheck] usage.
2. Patch — there is no patch. The project's last build is 0.9.1 Beta from December 2008 and it has no active maintainer. Remove the module registration from Web.config, remove the csrfSettings configuration, remove any suppress-check references, and delete Idunno.AntiCsrf.dll from bin/.
3. Replace it with something maintained. Per Mandiant, the supported options are:
System.Web.Helpers.AntiForgery(AntiForgery.GetHtml()andAntiForgery.Validate()) for WebForms and MVC.- ASP.NET WebForms
Page.ViewStateUserKeycombined with MAC-verified or encrypted ViewState. IAntiforgeryfor ASP.NET Core.
4. Can't remove it this hour? Compensating controls — stopgaps only. At the edge, reject or strip POST bodies carrying a __CSRFTOKEN field whose value base64-decodes to a serialized-object signature, and deny anonymous POSTs to .aspx endpoints that do not need them. Understand the limit: rotating the machineKey does not close this bug, because the library never checks a MAC. Key rotation belongs to incident cleanup, not to remediation.
5. Hunt for compromise. Map detection to MITRE ATT&CK T1190 (exploit public-facing application) and T1505.003 (web shell):
- IIS logs: anomalous POSTs to
.aspxendpoints returning 302 or 500, especially from a single source, as Mandiant calls out. - Process telemetry:
w3wp.exespawningcmd.exe,powershell.exe, or other children — the deserialization runs under the worker process. - New or modified files in the webroot (dropped web shells).
6. Eradicate and verify. If exploitation is suspected, rotate the secrets reachable from the box — <machineKey> and encryption keys in Web.config and applicationHost.config, and any database credentials stored there — remove unauthorized files, then re-verify that the module is gone from bin/ and configuration on every host. Confirm the deserialization sink no longer accepts a crafted __CSRFTOKEN.
What is not known yet
- Who is exploiting it, and how widely. Mandiant confirms active exploitation but has not named an actor, sector, or campaign.
- CISA triage. The NVD record carries a CISA SSVC evaluation of
exploitation: nonetimestamped 2026-11-19 01:39 UTC, which predates the public exploitation framing and conflicts with Mandiant's "Attacked" maturity. The CVE is not in the KEV catalog (version 2026.11.20) as of this writing; that may change. - How many recompiled variants exist in the wild, and therefore how incomplete a hash-based inventory will be.
You cannot patch a dead dependency — so prove where it still lives
The honest problem with CVE-2026-131914 is not the fix; it is the inventory. You cannot patch Idunno.AntiCsrf, so the entire exercise is finding every place a fifteen-year-old DLL is still wired into a production Web.config — including the recompiled copies that no version scanner will flag. A software-composition tool that matches on package name and version string is exactly the tool that misses this.
This is what an autonomous, on-premise red team is for. Zero Hunt's engine runs gray-box against the exact installed build: it fingerprints the running application, reaches the anonymously accessible .aspx surface, and sends a benign, non-weaponized ObjectStateFormatter probe to confirm whether the __CSRFTOKEN field deserializes before validation — a working proof on your instance, not an inference from a version number. Every exploit it generates is written per target by local models and runs inside an ephemeral, hardened container that never touches the host; because the engine runs on-premise on its own private models with a human in the loop, your application source and configuration never leave the appliance.
Once the forgotten module is found, the question becomes "what do I do now, and did it work?" — which is the AI Remediation Advisor's job. It ranks exposure by proven exploitability rather than by CVSS alone (a KEV-style, exploited-first ordering in the spirit of BOD 26-04), hands you the exact removal-and-migration sequence with rollback notes, offers the edge stopgap for the hosts you cannot touch this hour, and then re-runs the same proof to confirm the sink is closed. For teams whose testing cadence is driven by automated penetration testing rather than an annual report, a dead dependency surfacing under live exploitation is precisely the event that should trigger a campaign within the hour, not at the next audit.
The uncomfortable lesson is older than this CVE: a security library you stopped maintaining is not a security control. It is attack surface with a reassuring name.
Every vulnerability CISA lists as exploited, with federal due dates: CISA KEV tracker →
Patching one CVE at a time? A CTEM program validates which exposures are actually exploitable before the next advisory: what CTEM is →
Is this exploitable in your environment?
Zero Hunt answers that on your own network: an autonomous AI red team on an on-premise appliance, running on private AI, black-box or gray-box, with a human approving every step that matters. Proof of what is exploitable, the fix, and signed evidence — your data stays on your network.