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

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-06-22T21:03:30.437Z
- Modified: 2026-06-25T21:56:26.175Z
- Also known as: GHSA-qhmf-xw27-6rqr
- Weaknesses: CWE-470, CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- MessagePack-CSharp MessagePack-CSharp: >= 3.0, < 3.1.7; < 2.5.301
- MessagePack (NuGet): before 2.5.301; from 3.0 before 3.1.7
- messagepack messagepack: before 2.5.301; from 3.0.3 before 3.1.7

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-qhmf-xw27-6rqr> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48517> (advisory)
- <https://github.com/MessagePack-CSharp/MessagePack-CSharp> (package)

## Sources

- CVE List: [CVE-2026-48517](https://www.cve.org/CVERecord?id=CVE-2026-48517), CVE Terms of Use, modified 2026-06-25
- GitHub Advisory Database: [GHSA-qhmf-xw27-6rqr](https://github.com/advisories/GHSA-qhmf-xw27-6rqr), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-48517](https://nvd.nist.gov/vuln/detail/CVE-2026-48517), Public domain, modified 2026-06-25

---

Page: https://cve.day/CVE-2026-48517 · Whole record: https://cve.day/CVE-2026-48517.json · Rebuilt by cve.day 2026-11-25T22:59:25.425Z
