{"id":"CVE-2026-48517","published":"2026-06-22T21:03:30Z","modified":"2026-06-25T15:55:22Z","title":"MessagePack-CSharp: Typeless deserialization type restrictions do not recurse into arrays or generic arguments","vendor":"MessagePack-CSharp","product":"MessagePack-CSharp","tier":"tail","description":{"text":"MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, MessagePack-CSharp's typeless deserialization includes MessagePackSerializerOptions.ThrowIfDeserializingTypeIsDisallowed(Type) as a safety check for dangerous types. The default implementation checks the outer type name, but it does not recursively inspect array element types or generic type arguments. As a result, a type that would be blocked directly can be wrapped inside an array or constructed generic type and pass the outer type check. The formatter machinery can then materialize formatters for the inner blocked type. This vulnerability is fixed in 2.5.301 and 3.1.7.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00348,"percentile":0.29104,"provenance":"source"},"cwes":[{"id":"CWE-470","name":"Use of Externally-Controlled Input to Select Classes or Code"},{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-qhmf-xw27-6rqr","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":5.82},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"messagepack-csharp","affectedVersions":[{"vendor":"MessagePack-CSharp","product":"MessagePack-CSharp","versions":[">= 3.0, < 3.1.7","< 2.5.301"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-23T15:05:47.783171Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"MessagePack","vulnerableRanges":["<2.5.301",">=3.0, <3.1.7"],"patched":["2.5.301","3.1.7"],"from":["GHSA-qhmf-xw27-6rqr"],"provenance":"source"}],"summary":{"text":"The MessagePack-CSharp library's typeless deserialization safety check, which blocks dangerous types, only inspects the outer type name and does not recurse into array element types or generic type arguments, so a blocked type can be wrapped inside an array or constructed generic type to bypass the check. An attacker able to supply serialized input to an application that uses typeless deserialization can exploit this without authentication, network-based access suffices, and the attack complexity is high and requires a specific deserialization configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:19Z"},"euvd":{"id":"EUVD-2026-38363","exploited":false,"provenance":"source"}}