Idunno.AntiCsrf deserialization RCE exploited
Actively exploited
Risk assessment
Idunno.AntiCsrf through 0.9.1 Beta on ASP.NET lets unauthenticated attackers run code via double-submit cookie deserialization (CVSS 9.3). Upgrade past 0.9.1 Beta.
What to do
Apply the latest security patches from the vendor. If patching is not immediately possible, review the mitigation steps in this advisory and monitor for exploitation attempts.
- No fixed version listed yet. Restrict exposure and watch the vendor advisory. NVD references
- Remediation and mitigation in this advisory
Actively exploited in the wild - CVE-2026-131914 is a critical deserialization vulnerability in Idunno.AntiCsrf through 0.9.1 Beta on ASP.NET that lets remote unauthenticated attackers execute arbitrary code on the host. No fixed release has been published; treat every deployment up to and including 0.9.1 Beta as compromised-capable until the maintainer ships a patch.
Overview
Idunno.AntiCsrf is a .NET library that protects ASP.NET applications against cross-site request forgery by comparing a token stored in a double-submit cookie against the same token submitted in a form field. Versions through 0.9.1 Beta deserialize untrusted data while performing that comparison. The validation path trusts the cookie and field contents enough to feed them into a deserializer before any authenticity check completes.
Because the comparison happens on the request path and requires no prior authentication, any network-reachable endpoint that uses the library exposes the deserialization sink to anonymous clients. That places the vulnerability squarely in the most dangerous class of .NET flaw, where serialized object graphs can be crafted to trigger gadget chains and run code under the application’s identity.
The CVSS score of 9.3 reflects the full picture: network vector, low attack complexity, no privileges, and no user interaction. The EPSS score sits at roughly 0.6 percent, indicating that broad automated scanning has not yet reached high volume, but CISA’s decision to add the CVE to the Known Exploited Vulnerabilities catalog confirms that real attacks are underway against targeted deployments.
Impact
Successful exploitation gives an attacker code execution on the web server with the permissions of the application pool. From there, typical post-exploitation steps apply: reading configuration secrets and connection strings, pivoting to backend databases, harvesting session material, and establishing persistence. Because the trigger is an ordinary CSRF-protected request, exploitation blends into normal traffic and may not stand out in web logs.
Any ASP.NET application that references Idunno.AntiCsrf through 0.9.1 Beta and accepts requests from untrusted networks should be considered exposed. Internal-only deployments reduce but do not eliminate risk, since the attack vector is any request that reaches the affected middleware.
Remediation and mitigation
- Check your project references and package lock files for Idunno.AntiCsrf. Audit transitive dependencies as well.
- If a patched version becomes available, upgrade immediately and redeploy. Until then, remove or disable the library and replace it with ASP.NET’s built-in antiforgery support.
- Where the library cannot be removed quickly, restrict the affected endpoints to trusted sources at the network layer and enable request inspection that rejects malformed or unexpected content in the cookie and form field.
- Rotate application secrets, database credentials, and signing keys for any host that ran an affected version on an untrusted network, on the assumption that code execution may already have occurred.
- Hunt for anomalies: unexpected outbound connections, new scheduled tasks or processes spawned by the worker, and unusual deserialization errors in application logs.
Security teams tracking follow-on incidents can review breach reports and current security news for related activity.
Security Insight
Deserialization flaws in security middleware are especially corrosive because the component exists precisely to make an application safer, and teams deploy it without a second thought. Idunno.AntiCsrf’s design choice to deserialize the double-submit cookie before validating it mirrors the pattern behind historical .NET gadget-chain incidents, where trust was extended to data that arrived from the client. The addition to CISA’s KEV catalog is a reminder that small, widely consumed libraries deserve the same patch discipline as flagship frameworks, and that a low EPSS score describes average scanning activity, not the risk facing a specific exposed host.
Further Reading
Exploit references 4 PoC Show
Public PoC References
Unverified third-party code
These repositories are publicly listed on GitHub and have not been audited by Yazoul Security. They may contain malware, backdoors, destructive payloads, or operational security risks (telemetry, exfiltration). Treat them as hostile binaries. Inspect source before execution. Run only in isolated, disposable lab environments (offline VM, no credentials, no production data).
Authorized use only. This information is provided for defensive research, detection engineering, and patch validation. Using exploit code against systems you do not own or do not have explicit written permission to test is illegal in most jurisdictions and violates Yazoul's terms of use.
| Repository | Stars |
|---|---|
| dinosn/cve-2026-131914-poc CVE-2026-131914 PoC: unauthenticated RCE in ASP.NET sites using Idunno.AntiCsrf (unkeyed ObjectStateFormatter deserialization). Single-file pure Python with DNS callback mode. Lab-tested. | ★ 7 |
| l0lsec/CVE-2026-131914 CVE-2026-131914 Idunno.AntiCsrf ObjectStateFormatter deserialization RCE: detection/exploit PoC + reproducible lab with the original vulnerable DLL | ★ 0 |
| abraxas/cve-2026-131914-idunno-anticsrf-deserialization CVE-2026-131914 reachability lab: Idunno.AntiCsrf deserializes the attacker-controlled CSRF form field with an unkeyed ObjectStateFormatter - no MAC, no signature, no binder. Hash-verified 2008 DLL, I | ★ 0 |
| Hakchandara/CVE-2026-131914 CVE-2026-131914 is a critical remote code execution (RCE) vulnerability affecting the legacy Idunno.AntiCsrf anti-CSRF module for ASP.NET WebForms | ★ 0 |
Showing 4 of 4 known references. Source: nomi-sec/PoC-in-GitHub.