The ASP.NET Anti-CSRF RCE flaw is a critical vulnerability in the Idunno.AntiCsrf library, rated CVSS 9.3 out of 10, according to The Hacker News. The flaw, tracked as CVE-2026-131914, lets an unauthenticated attacker run code on a server, and active exploitation has been observed.
What the flaw does
The library is meant to protect web forms against cross-site request forgery, a kind of attack in which a malicious site tricks a browser into sending a request to another site. The ASP.NET Anti-CSRF RCE flaw comes from the way the library handles CSRF form tokens: it deserializes untrusted tokens, and that deserialization can be abused to achieve remote code execution.
In plain terms, an attacker who does not need to log in can send a crafted request and run their own code on the server. The report does not give a proof of concept or an attack example, so neither is described here.
Who is affected
The flaw affects versions 0.9.1.0 and 0.9.1 Beta of the Idunno.AntiCsrf library. Any application that uses one of those versions to protect its forms is exposed, according to the report. The report does not name any affected company or website, and it does not say how many applications use the library, so neither detail is stated here.
If a team is not sure whether it uses the library, the first step is to check its project dependencies. A library that is only a small part of an application can still be the way in for an attacker.
Active exploitation has been observed
Researchers at Google Cloud and Mandiant have observed active exploitation of the flaw, according to The Hacker News. That means attackers are already using it in the wild, not just testing it in a lab. The report does not say who the attackers are, what they did after gaining access, or which organizations were hit.
When exploitation is already happening, the usual advice is to act quickly rather than wait for more detail. A critical flaw with a public identifier and observed attacks is not something to leave for the next maintenance window.
There is no patch: what to do instead
There is no official patch for the ASP.NET Anti-CSRF RCE flaw, according to the report. Users are advised to discontinue use of the library or remove the module from their applications. Alternatives named in the report include System.Web.Helpers.AntiForgery, ASP.NET Core IAntiforgery and Microsoft.AspNetCore.Components.Forms.Antiforgery.
The report does not give migration steps, so teams should plan the switch carefully and test the replacement before deploying it. Removing a security library is itself a change that needs care, because forms still need protection against forgery while the replacement is put in place.
Conclusion
The ASP.NET Anti-CSRF RCE flaw, CVE-2026-131914, is a serious problem precisely because the affected component is meant to improve security. Rated CVSS 9.3 out of 10, it allows unauthenticated remote code execution through the deserialization of untrusted CSRF form tokens, and Mandiant researchers have seen it exploited in the wild. With no patch available, the advice is clear: stop using the Idunno.AntiCsrf library and move to one of the alternatives, such as System.Web.Helpers.AntiForgery or ASP.NET Core IAntiforgery.
FAQs
What is the ASP.NET Anti-CSRF RCE flaw?
The ASP.NET Anti-CSRF RCE flaw is a vulnerability in the Idunno.AntiCsrf library, tracked as CVE-2026-131914 and rated CVSS 9.3 out of 10, that allows unauthenticated remote code execution.
Which versions are affected?
Versions 0.9.1.0 and 0.9.1 Beta of the Idunno.AntiCsrf library are affected, according to The Hacker News.
Is there a patch?
No. There is no official patch, and users are advised to discontinue use of the library or remove the module.
What are the alternatives?
The report names System.Web.Helpers.AntiForgery, ASP.NET Core IAntiforgery and Microsoft.AspNetCore.Components.Forms.Antiforgery as alternatives.



