CVE-2026-48517

HIGH

MessagePack-CSharp: Typeless deserialization type restrictions do not recurse into arrays or generic arguments

Title source: cna
STIX 2.1

Description

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.

References (1)

Core 1

Scores

CVSS v3 7.5
EPSS 0.0028
EPSS Percentile 19.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-470 CWE-502
Status published
Products (3)
messagepack/messagepack < 2.5.301
MessagePack-CSharp/MessagePack-CSharp < 2.5.301
MessagePack-CSharp/MessagePack-CSharp >= 3.1.7, < 3.1.7
Published Jun 22, 2026
Tracked Since Jun 23, 2026