Security alerts · November 23, 2026

Critical flaw in ASP.NET library Idunno.AntiCsrf lets attackers run code without logging in

A critical flaw, CVE-2026-131914, in the Idunno.AntiCsrf library for older ASP.NET WebForms apps lets unauthenticated attackers run their own code on the web server. Mandiant reports active attacks. There is no patch, the project has not been updated since 2008, and the library must be replaced.

What happened

Idunno.AntiCsrf is a small add-on library for older web applications built on ASP.NET WebForms. It protects forms against CSRF attacks, where a malicious website quietly sends a request to your application on behalf of a logged-in user. According to The Hacker News, it is an open-source project that is no longer maintained and was last updated in December 2008.

Researchers from Google Cloud and Mandiant Incident Response found a critical flaw in it in November 2026, tracked as CVE-2026-131914. In the European vulnerability database EUVD it is listed as EUVD-2026-129432. Mandiant described it in its advisory MNDT-2026-0048, and it has been published in the US National Vulnerability Database (NVD) since November 19, 2026.

Mandiant says it has observed active exploitation in the wild. Google has not shared any details about the attacks or who is behind them. Because the project has no maintainer, there is no official patch, and Mandiant recommends that organizations stop using the library and replace it.

Why it is dangerous

This is an insecure deserialization flaw (CWE-502). Applications sometimes pack data into text form, and the server then “unpacks” it back into objects in memory. If a server unpacks whatever anyone sends it without checking a signature, it is like a warehouse that accepts every parcel and immediately follows the instructions found inside. According to The Hacker News, the library handles CSRF form token data exactly this way, with no cryptographic verification.

Mandiant says a single HTTP POST request over the network is enough, with no login and no valid token. The attacker can then run their own code with the privileges of the IIS worker process (w3wp.exe), which Mandiant describes as complete compromise of the web application server. That is why Mandiant advises rotating all secrets in the configuration, including database credentials, if there is evidence of exploitation (see the last section).

The CVSS score rates severity on a scale from 0 to 10. This flaw scores 9.3 under CVSS 4.0, which is critical. The score was assigned by Mandiant as the organization that reported the flaw, and NVD lists it. Mandiant also flagged the flaw as being actively attacked in that rating.

EPSS is a model that estimates the probability of a flaw being exploited in the next 30 days. As of November 23, 2026, it stood at about 0.6%, higher than roughly half of all scored vulnerabilities. Don’t let the low number reassure you: the model lags behind events, and Mandiant has already seen attacks.

The CISA KEV catalog lists vulnerabilities whose exploitation the US agency CISA has confirmed. At the time of writing, this flaw is not in it, and the EUVD database does not yet record exploitation either. That does not change Mandiant’s report of attacks.

Who is affected

Affected are Idunno.AntiCsrf versions through 0.9.1 Beta, specifically 0.9.1.0 and 0.9.1 Beta according to The Hacker News. The project has not been updated since 2008 and there is no fixed version, so in practice every installation of this library should be treated as vulnerable.

The library is used in ASP.NET WebForms applications running on the IIS web server on Windows Server. These may be, for example, older internal systems, company portals, or ordering and booking apps built by a contractor years ago and rarely touched since. It may also turn up on hosting platforms that support ASP.NET. Applications reachable from the internet are at the highest risk.

Applications that don’t include this library are not affected. The flaw is not in ASP.NET or IIS themselves, only in this add-on. If you didn’t build the application in-house, ask your vendor whether it uses it.

How to check if you are affected

Mandiant recommends auditing all Web.config files and bin folders of your ASP.NET applications for references to Idunno.AntiCsrf or AntiCsrfModule. Run the PowerShell commands below as an administrator. They only read data and change nothing. Adjust the C:\inetpub path to wherever your sites are stored.

List sites and their folders on the IIS server:

C:\Windows\System32\inetsrv\appcmd.exe list vdir

Find the library and its version:

Get-ChildItem -Path C:\inetpub -Recurse -Filter "Idunno.AntiCsrf.dll" -ErrorAction SilentlyContinue | Select-Object FullName, @{n="Version";e={$_.VersionInfo.FileVersion}}

Search configuration files for references:

Get-ChildItem -Path C:\inetpub -Recurse -Filter "web.config" -ErrorAction SilentlyContinue | Select-String -Pattern "Idunno.AntiCsrf","AntiCsrfModule"

In IIS Manager, you can also open Modules for each site and look for AntiCsrfModule. If nothing turns up, the library is most likely not on your server.

How to fix it

There is no official patch, and as the project has not been updated since 2008, none is expected. Mandiant recommends discontinuing the library and replacing it with an actively supported anti-CSRF solution. The flaw is not in the CISA KEV catalog, so CISA has not set a required action for it yet.

Recommended steps:

  • Identify every application using the library (see the previous section). Start with those reachable from the internet.
  • If you can’t deploy a replacement right away, consider temporarily restricting access to the application, for example only via VPN or from specific IP addresses, or taking it offline for now. This is general advice, not something Mandiant lists.
  • Together with your developer or vendor, replace the library with one of the alternatives Mandiant names: System.Web.Helpers.AntiForgery, Page.ViewStateUserKey combined with MAC-verified or encrypted ViewState, or the built-in IAntiforgery protection if you move to ASP.NET Core.
  • Remove the AntiCsrfModule registration from Web.config and the Idunno.AntiCsrf.dll file from the bin folder. Back up the configuration first and test the change before going live.
  • Finally, check whether the server has already been compromised (next section).

Removing the library without a replacement does eliminate this flaw, but it leaves the application with no CSRF protection. Deploy the replacement as soon as you can.

What if you may already be compromised

Mandiant recommends reviewing IIS logs for unusual POST requests to .aspx pages that returned HTTP 302 or HTTP 500 with an unusually large amount of incoming data (the cs-bytes field, if you log it). Logs are usually in C:\inetpub\logs\LogFiles. This read-only command gives you a first overview:

Select-String -Path "C:\inetpub\logs\LogFiles\W3SVC*\*.log" -Pattern "POST .*\.aspx" | Select-String -Pattern " (302|500) "

Mandiant also advises inspecting web root folders for unauthorized files. You can list recently changed files like this:

Get-ChildItem -Path C:\inetpub\wwwroot -Recurse -Include *.aspx,*.ashx,*.dll -ErrorAction SilentlyContinue | Where-Object { $_.LastWriteTime -gt (Get-Date).AddDays(-30) } | Select-Object FullName, LastWriteTime

If you find signs of an attack, Mandiant recommends rotating all secrets stored in Web.config and applicationHost.config, including <machineKey> keys, encryption keys and database credentials. As general good practice, also check the server for unknown accounts (Get-LocalUser) and scheduled tasks. If anything looks suspicious, bring in an incident response specialist, because the attacker may have moved from the server deeper into your network.

Sources

Articles are put together by an AI agent from public sources (vendors, CISA, ENISA, NVD, SK-CERT, NÚKIB), and version numbers and CVEs are checked against them automatically. Always confirm the steps in the vendor advisory before touching production.

← All alerts · RSS

Need help patching or checking your systems?

I can help you find out which systems are affected, update them safely and check whether an attacker already got in. Let us start with an initial consultation, which is deducted from the project price if we work together.