Affected product(s):
| Product | Affected versions | Fix |
AntiCSRF (Idunno.AntiCsrf.dll) for ASP.NET WebForms | 0.9.1.0 / 0.9.1 Beta and earlier, including recompiled or modified copies | No fix (project abandoned) |
Only ASP.NET WebForms applications that have this third-party module registered are affected; ASP.NET itself and ASP.NET Core are not.
Description
A critical vulnerability has been reported in AntiCSRF (Idunno.AntiCsrf), a legacy cross-site request forgery (CSRF) protection library for ASP.NET WebForms applications, identified as CVE-2026-131914, that allows an unauthenticated remote attacker to execute code on the web server. The CVE record assigns it CVSS 9.3, critical. This bulletin is classified as CRITICAL.
The module deserializes the CSRF token received in POST requests without any cryptographic verification. With a single crafted request, an attacker can execute code in the IIS worker process (w3wp.exe) and fully compromise the web server, including access to configuration secrets such as machineKey keys and connection strings. According to the advisory that accompanies the CVE record, published on Nov 18, 2026, the flaw is already being exploited: it was discovered during an incident investigation. No victims, attribution or indicators of compromise have been published.
The project has been abandoned since December 2008, so there is no patch and none will be released. Only applications that have this module registered are exposed. In those applications, any .aspx page that is reachable without authentication, or that validates the session only inside the page code, and that is not excluded from the CSRF check, is reachable; the page does not need to contain a form. Pages protected by authentication or authorization rules in Web.config that run earlier are not anonymously reachable.
Mitigation
There is no official workaround. The fix is to remove the library and migrate to a supported anti-CSRF mechanism, as described in Solution.
While migration is completed, and without this replacing removal, review IIS logs for anomalous POST requests to .aspx pages that return HTTP 302 or 500 with an elevated request size.
As general measures, and not as a recommendation from the advisory, also restrict access to affected applications that do not need to be exposed to the Internet, apply web application firewall (WAF) rules that block POST requests with serialized data in this module’s CSRF field, and watch for unusual child processes of w3wp.exe (for example, cmd.exe or powershell.exe).
Solution
There is no patch: discontinue use of the library and replace it with a supported anti-CSRF mechanism:
- Search every
Web.configfile andbin/directory for references toIdunno.AntiCsrforAntiCsrfModule. The search must be by name: recompiled or modified copies retain the flaw even if the file hash changes. - Remove the module entries from
<httpModules>and<modules>, thecsrfSettingssection from<configSections>and the<csrfSettings>element fromWeb.config, code references toISuppressCsrfCheckor[SuppressCsrfCheck], and deleteIdunno.AntiCsrf.dllfrom thebin/directory. - Migrate to a supported mechanism, such as
System.Web.Helpers.AntiForgery,Page.ViewStateUserKeywith MAC-protected or encrypted ViewState, orIAntiforgeryin ASP.NET Core. - If there are signs of exploitation, rotate all secrets in
Web.configandapplicationHost.config(including<machineKey>keys, encryption keys and database credentials) and inspect the web directory for unauthorized files.
For information on how to update, visit the following link:
https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0048.md
Additional information:
- Advisory MNDT-2026-0048:
https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0048.md - CVE — CVE-2026-131914:
https://www.cve.org/CVERecord?id=CVE-2026-131914 - NVD — CVE-2026-131914:
https://nvd.nist.gov/vuln/detail/CVE-2026-131914 - Original AntiCSRF project page (archive):
https://web.archive.org/web/20100129114934/http://anticsrf.codeplex.com/ - Microsoft Learn — AntiForgery (System.Web.Helpers):
https://learn.microsoft.com/en-us/dotnet/api/system.web.helpers.antiforgery - Microsoft Learn — Page.ViewStateUserKey:
https://learn.microsoft.com/en-us/dotnet/api/system.web.ui.page.viewstateuserkey - Microsoft Learn — anti-forgery in ASP.NET Core:
https://learn.microsoft.com/en-us/aspnet/core/security/anti-request-forgery