CVE-2026-131914 affects Idunno.AntiCsrf, an ASP.NET anti-CSRF module whose project appears in older Web Forms applications. The published advisory describes untrusted deserialization in the comparison between a double-submit cookie and a form field. An unauthenticated attacker can use object injection to run code when the vulnerable module processes the request.

The age and maintenance state of a library can make a vulnerability harder to close than it first appears. Removing an old module requires finding every application that still loads it and confirming which request paths depend on it.

Why the double-submit check is sensitive

A double-submit CSRF pattern compares a value carried in a cookie with a value submitted in a form or header. The application trusts that the browser will attach the cookie automatically and that a cross-site attacker cannot read or set a matching field for the target origin.

That design depends on careful parsing. When middleware deserializes either side of the comparison before authentication has established a safe context, attacker-controlled data reaches an object construction path. The advisory identifies object injection and remote code execution as the outcome. It does not require a valid user session.

CSRF middleware is a particularly awkward place for this flaw because the endpoint may accept state-changing requests before the application has made an authorization decision. A deployment that assumes the anti-CSRF module only performs string comparison can miss the dangerous step in the plugin.

Affected applications

The advisory covers Idunno.AntiCsrf versions through 0.9.1 Beta. The library used a pre-1.0 version label, and the source reviewed for this article does not identify a maintained release that closes the issue. That means a simple dependabot update may not produce a safe fix.

Search application inventory for package references, bin assemblies, web.config module registrations and custom deployment scripts. Development teams should also check archived application images. An application can remain exposed after its source repository has stopped receiving updates.

If the module is present, identify every route that accepts form submissions. Test in an isolated environment only. Treat a browser cookie as attacker-controlled input even when the form also carries a matching-looking value.

Containment before replacement

Removing the module can break login, payment, administrative and account-change forms if they rely on its token workflow. A replacement should use the framework's maintained anti-forgery implementation or a supported library with a current security response process.

Until removal is complete, place affected applications behind multiple controls. Restrict public reachability where possible, require authentication at a reverse proxy for administrative functions, isolate application pools and remove unnecessary object-deserialization components from the runtime. A web application firewall may reduce some requests, but the published flaw is parser-level. It cannot be treated as proof that no malicious object reached the application.

Review application logs for requests that reached the module from unauthenticated clients and any process creation under the web worker identity. Because code execution is a claimed outcome, a suspicious application event should lead to host-level evidence collection, not only a review of HTTP status codes.

Verification

After replacing the module, confirm that no assembly or module registration remains, that token checks reject missing and duplicate values, and that the new framework control is active on every state-changing route. Re-run an application inventory against production build artifacts. Source code alone does not prove what was deployed.

References