CVE-2026-48517
published medium CVSS 4.0 · 6.3MessagePack-CSharp: Typeless deserialization type restrictions do not recurse into arrays or generic arguments
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MessagePack-CSharp | — | MessagePack-CSharp>= 3.0, < 3.1.7 · < 2.5.301 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MessagePack-CSharp | MessagePack-CSharp | >= 3.0, < 3.1.7 (affected)< 2.5.301 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-470 CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
- CWE-502 CWE-502: Deserialization of Untrusted Data
References
1Provider assertions
2GitHub_M · cna
MessagePack-CSharp: Typeless deserialization type restrictions do not recurse into arrays or generic arguments
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4d99ff0c59b515fc2e8c3049fd8bcd1e1f0be92a6f297cb9b400523f5611eb23
- Ingested
- 23 Sep 2026, 09:17:37 UTC
- Source record
- Official CVE record