CVE-2026-70337: Csharp Dotnet Ondeserialized Hook

Method is marked with `[OnDeserialized]` or `[OnDeserializing]` attributes. Binary deserialization callbacks run automatically during object instantiation and can enable insecure deserialization vulnerabilities (CWE-502) if untrusted data is deserialized.

Provally CuratedPublic repositoryMediumHigh confidenceVerifiedApache-2.0C#
greprules fetch cve-2026-70337-csharp-dotnet-ondeserialized-hook --engine opengrep

Description

Method is marked with `[OnDeserialized]` or `[OnDeserializing]` attributes. Binary deserialization callbacks run automatically during object instantiation and can enable insecure deserialization vulnerabilities (CWE-502) if untrusted data is deserialized.