Idunno.AntiCsrf CVE-2026-131914: The ASP.NET Anti-CSRF Library That Deserializes Its Way to RCE

Mandiant reports active exploitation of CVE-2026-131914, a CVSS 9.3 insecure-deserialization flaw in Idunno.AntiCsrf, a legacy third-party anti-CSRF library used by older ASP.NET WebForms apps. A single unauthenticated request can run code in the IIS worker process. ASP.NET itself isn't the problem; the dependency is. The fix is to stop using the library, and rotating machine keys won't help.

3 min readAdvanced

Executive summary. CVE-2026-131914 is a critical insecure-deserialization flaw (CWE-502, CVSS 9.3) in Idunno.AntiCsrf, an old third-party anti-CSRF library that many legacy ASP.NET WebForms applications still use. Mandiant (advisory MNDT-2026-0048, 18 November 2026) reports active exploitation: a single unauthenticated request can cause the library to deserialize an attacker-supplied value and execute code inside the IIS worker process (w3wp.exe). Important framing: this is a flaw in a dependency, not in ASP.NET itself — which is exactly why it will be missed by teams that track framework patches but not their NuGet inventory. The remediation is blunt: stop using the library and migrate to ASP.NET's built-in antiforgery protection. Notably, rotating machine keys does not fix the underlying issue. If you maintain an older .NET Framework WebForms estate, this is the dependency to hunt for today.

Idunno.AntiCsrf deserialization to RCE flow

What it is

Field Detail
CVE CVE-2026-131914
Component Idunno.AntiCsrf (legacy anti-CSRF library for WebForms)
Weakness Insecure deserialization (CWE-502), unauthenticated
Severity CVSS 9.3 (per Mandiant)
Impact Code execution in the IIS worker process as the app-pool identity
Status Actively exploited per Mandiant; KEV listing varied by source
Not affected ASP.NET itself; the issue is the third-party library

How it works

text
 Unauthenticated POST  ──►  WebForms page protected by Idunno.AntiCsrf
          │   the library trusts and deserializes the CSRF token field
          ▼
 Attacker-controlled data reaches a .NET deserializer
          │   (insecure deserialization, CWE-502)
          ▼
 Code runs in w3wp.exe as the application pool identity
          │
          ▼
 Web server compromise  ──►  config secrets, lateral movement

The irony is hard to miss: a library whose job is to protect forms from forged requests parses its own token with a deserializer that can be driven to run attacker-chosen code. Deserialisation flaws in .NET are a well-understood class; what matters operationally is where the vulnerable code hides — a long-lived NuGet package vendored into applications written a decade ago, often with no active owner.

Why it needs industry attention

Legacy WebForms apps are everywhere in enterprises and government: intranets, line-of-business tools, customer portals nobody has rewritten. They tend to carry old, unmaintained dependencies and run on internet-facing IIS. An unauthenticated RCE reachable from a single POST against a pattern that is easy to fingerprint is the profile of a bug that gets mass-scanned quickly. And because the vulnerable component is a package, not a Windows or .NET update, Patch Tuesday won't deliver the fix.

Fix and mitigation

  1. Find every use. Search source, packages.config, *.csproj and deployed bin/ folders for Idunno.AntiCsrf (and Idunno.AntiCsrf.dll). Check SBOMs and software composition analysis output.
  2. Remove it. Migrate to ASP.NET's built-in antiforgery protection (ValidateAntiForgeryToken in MVC, or the framework's ViewState/page-level protections in WebForms).
  3. Don't rely on machine-key rotation. Rotating keys does not address this root cause.
  4. Reduce blast radius now. Put a WAF rule or reverse proxy in front of affected apps; run app pools as low-privilege identities; segment the web tier.
  5. Assume breach if exposed. Given active exploitation, review exposed WebForms servers for compromise: new files in the web root, new local admins, unusual w3wp.exe children.

How to detect it

  • w3wp.exe spawning cmd.exe, powershell.exe or other unexpected children — the classic IIS-compromise signal (Sysmon event 1 / EDR process trees).
  • Unusual POSTs to WebForms pages with abnormally large or malformed anti-forgery token fields.
  • New or modified files (.aspx, .dll, .config) in the application directory, especially outside deployment windows.
  • Outbound connections from web servers to unfamiliar hosts, and new scheduled tasks or services.

Conclusion

CVE-2026-131914 is a reminder that your riskiest code is often a dependency you forgot you had. The vulnerable library is third-party, long-lived, and absent from framework patch cycles. Inventory it, remove it, migrate to built-in antiforgery, and hunt IIS hosts for w3wp.exe spawning shells.

Do this now: search all .NET codebases and servers for Idunno.AntiCsrf, remove or replace it, put a WAF in front of affected apps, and review exposed IIS hosts for process-tree anomalies and new files.

Related: our Learn track on web application pentesting and the Java4Shell pre-auth RCE analysis, another deserialisation-class bug.

Sources: The Hacker News, Red Side Security, Aviatrix, ZeroHunt. Affected-version details and KEV status varied by source; verify against Mandiant advisory MNDT-2026-0048.

HackersRoot Research · Research team

The HackersRoot research team investigates attack techniques across AI systems, cloud and identity, and enterprise networks, then publishes the detections and hardening guidance that stop them.

More from HackersRoot →

Related research

AppSec & Supply Chain

Five Breaches in Five Days: Microsoft Entra, Bell Canada, Samsung Securities, GoFundMe and Tower Records Japan

A roundup of five breaches disclosed or detailed in the last few days: Microsoft's Entra Connect Health API, a Bell Canada intrusion by what the company calls an 'agentic' actor, Samsung Securities' complaint system, GoFundMe Pro's API, and Tower Records Japan's online store. What each company confirmed, what is still unknown, and the steps affected people and defenders should take.

AppSec & Supply Chain

N-able Mail Assure CVE-2026-134624: The SSRF Found While Investigating a Breach of Its Own Cloud

N-able disclosed CVE-2026-134624, a critical server-side request forgery (CVSS 4.0 9.3) in Mail Assure and SpamExperts, discovered while investigating a cyberattack on one hosted server. The connection check for LDAP synchronisation accepted any destination, so an attacker with high-privilege API access could probe internal hosts. The fix is build 20261121.1943.

AppSec & Supply Chain

The Cleverbridge Breach: Card Numbers and CVVs Copied, Customers Told 16 Days Later

Cleverbridge, the e-commerce checkout provider behind software firms like Malwarebytes, Red Hat and Veeam, confirmed a breach in which attackers copied payment card numbers, expiration dates and CVV/CVC codes. It detected the intrusion on 4 November but began notifying customers on 20 November — and the stolen CVVs are the alarming detail, because storing them after a sale breaches PCI DSS.