/

CVE-2026-131914

Severity:

CRITICAL RISK

(9.8)

Unsafe Deserialization (CWE-502) in Idunno.AntiCsrf

CVE-2026-131914

Analyzed

Vulnerability type

Category:

Unsafe Deserialization

CWE:

CWE-502

Impact:

Remote Code Execution

Severity:

CRITICAL RISK

(9.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Idunno.AntiCsrf versions through 0.9.1 Beta contain an unsafe deserialization flaw in ASP.NET double-submit cookie and form-field validation. A remote unauthenticated attacker may be able to trigger object injection and execute code if attacker-controlled data reaches the vulnerable deserialization path.

Affected context

The issue occurs in Idunno.AntiCsrf's handling of double-submit cookie and form-field validation in ASP.NET applications. It may be risky where an application uses an affected library version and processes attacker-controlled request data through the vulnerable deserialization logic.

Exploit preconditions

  • Attack surface: An ASP.NET application using the affected anti-CSRF component and exposing the relevant request validation path
  • Required access: The vulnerability is described as remotely exploitable without authentication
  • Trigger point: Processing and validating the double-submit cookie against a form field
  • Why exploitation is possible: Untrusted data is deserialized during validation, potentially allowing object injection

Why this happens

The underlying issue is unsafe deserialization of data that can be influenced by a remote requester. Deserializing untrusted input can allow attacker-controlled object state or behavior to be constructed, mapping to CWE-502: Deserialization of Untrusted Data. The insecure pattern is performing deserialization as part of cookie and form-field validation without sufficiently restricting the input or permitted object types.

Potential impact

  • An attacker could execute code in the context of the affected application
  • The application runtime or its accessible data may be compromised
  • An attacker may be able to disrupt application services
  • Compromise could provide a foothold for further activity, depending on the application's privileges and environment

General mitigation guidance

Mitigation generally focuses on removing unsafe deserialization from request validation paths and reducing trust in client-supplied values.

Common defensive patterns include:

  • Use non-serializing validation methods or formats that do not instantiate application objects
  • If deserialization is unavoidable, restrict accepted types and validate data against a strict schema before use
  • Keep anti-CSRF validation inputs minimal and treat cookies and form fields as untrusted
  • Run the application with least privilege to limit the consequences of a compromise
  • Apply security controls that restrict access to sensitive resources and limit the impact of code execution

How teams detect issues like this

High-level approaches for identifying similar risks include:

  • Static analysis searches for deserialization APIs used with request, cookie, or form data
  • Code review of anti-CSRF validation paths for object construction before strict input checks
  • Dependency and application security policies that flag unsafe deserialization patterns
  • Runtime monitoring for unexpected process execution or behavior from web application workers

Automated code review tools may help identify risky data flows, but findings should be verified in context.

Sources

SourceLink
codeplexarchive.orgcodeplexarchive.org/project/AntiCSRF
github.comgithub.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0048.md
cisa.govcisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-131914

Frequently asked

questions

The vulnerability is described as remotely exploitable without authentication when a request reaches the affected validation path.

No authentication is specified as a prerequisite. The application must use the affected component and expose the relevant request handling path.

Avoid deserializing client-controlled data during validation. Prefer simple, strictly validated values and restrict object construction where deserialization cannot be avoided.

Treat cookies and form fields as untrusted, review data flows into deserialization APIs, enforce secure coding policies, and run application components with least privilege.

Find out what's already
exploitable in your codebase.