Skip to main content
VulnerabilityPublished

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

Affects MessagePackSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.3 Medium : upgrade to 2.5.301 when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.5.301, 3.1.7
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade MessagePack to 2.5.301; MessagePack to 3.1.7.

Affected software

ProductAffectedFixed in
NuGetMessagePackAffected
  • <2.5.301
Fixed in
  • 2.5.301
NuGetMessagePackAffected
  • >=3.0 <3.1.7
Fixed in
  • 3.1.7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in MessagePack versions 2.5.301 and 3.1.7. Users should upgrade to these or later versions to ensure recursive type-disallow checks are enforced. Until patched, avoid using typeless deserialization on untrusted data. If typeless deserialization is necessary, configure an explicit allowlist that recursively validates array elements and generic arguments rather than relying on outer-type blocklists alone.

Description

MessagePack-CSharp's typeless deserialization feature has a vulnerability where type restrictions do not recursively inspect array element types or generic type arguments. This allows an attacker to bypass outer-type blocklist checks by wrapping disallowed types inside arrays or generic containers. The issue affects applications that deserialize untrusted data using typeless serialization APIs. Fixes are available in versions 2.5.301 and 3.1.7. Users are advised to upgrade and avoid typeless deserialization of untrusted data or use explicit recursive allowlists.

References

Community reviews

Loading reviews…