# CVE-2026-48509: MessagePack-CSharp: ASP.NET Core MessagePackInputFormatter defaults to TrustedData for HTTP request bodies

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-22 · Modified: 2026-06-25
- Aliases: GHSA-2f33-pr97-265q
- Record: https://cvemate.com/vulnerability/CVE-2026-48509 · JSON: https://cvemate.com/vulnerability/CVE-2026-48509/json

## Description

```text
MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, the parameterless MessagePackInputFormatter() constructor uses default serializer options, which resolve to MessagePackSerializerOptions.Standard with MessagePackSecurity.TrustedData. The formatter is designed for ASP.NET Core MVC request bodies, which commonly cross an HTTP trust boundary. This insecure default can expose applications to denial-of-service attacks that MessagePackSecurity.UntrustedData is intended to mitigate, such as hash-collision attacks against dictionary-like model properties. This vulnerability is fixed in 2.5.301 and 3.1.7.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS: 0.25%, percentile 17.472%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- messagepack-csharp messagepack-csharp: ≥ 3.0, \< 3.1.7 \| \< 2.5.301
- messagepack messagepack: \< 2.5.301 \| ≥ 3.0.3, \< 3.1.7
- NuGet MessagePack (NuGet): \< 2.5.301 \| ≥ 3.0, \< 3.1.7

## References

- <https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-2f33-pr97-265q>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48509>
- <https://github.com/MessagePack-CSharp/MessagePack-CSharp>

---

Data as of 2026-12-05T06:22:47.245Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
