Skip to content
RedCVE

CVE-2026-62848Metalama deserialization of untrusted data

metalamaPublished:

CVSS score

7.3

High

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.19%

0.19% chance of exploitation in the next 30 days, higher than 8.22% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

Metalama is a Roslyn-based open-source patterns and architecture toolkit for C#. From 2023.0.101-rc until 2025.1.18, 2026.0.25 and 2026.1.19, the Windows Visual Studio integration deserializes local named-pipe messages without restricting which CLR types can be instantiated. The pipe connects `devenv`, the out-of-process Roslyn code-analysis process and the `CodeLens` process, and has the predictable name `Metalama_{role}_{processId}_{hash(PackageVersion)}`. Releases from the first public 2023.0 line through 2026.0.x use Newtonsoft.Json with `TypeNameHandling.All`; the later `SerializationBinder` only remaps assembly names, and `BindToType` resolves arbitrary wire-supplied types without an allow-list. Releases 2026.1.0 through 2026.1.18 use typeless MessagePack with `TypelessObjectResolver` and likewise instantiate arbitrary types. A same-user local process able to write to the pipe can send crafted messages that lead to arbitrary code execution with confidentiality, integrity and availability impacts inside the affected Visual Studio process. Default Windows pipe ACLs limit writers to the same logged-in user, so this does not escalate privileges or cross a security boundary; command-line and MSBuild-only builds do not use the channel. The maintained Metalama + PostSharp extension is affected from 2024.1 through 2026.1.4, while earlier Metalama-free PostSharp versions are unaffected. The retired Metalama and Caravela extensions remain affected and require removal or migration. The framework issue is fixed in versions 2025.1.18, 2026.0.25 and 2026.1.19; the maintained Metalama + PostSharp Visual Studio extension is fixed in version 2026.1.5. The retired Metalama and Caravela extensions require removal or migration.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Metalama and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Metalama to 2025.1.18, 2026.0.25, 2026.1.19 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
metalama Metalama>= 2023.0.101-rc, < 2025.1.18 · >= 2025.2.0-preview, <= 2025.2.5-rc · >= 2026.0.0-preview, < 2026.0.25 · >= 2026.1.0-preview, < 2026.1.19

Weakness

  • CWE-502 deserialization of untrusted data
  • CWE-913 improper control of dynamically-managed code resources

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-62848 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-62848?

CVE-2026-62848 has a CVSS 3.1 base score of 7.3 (high).

Which versions are affected?

Metalama Metalama (>= 2023.0.101-rc, < 2025.1.18; >= 2025.2.0-preview, <= 2025.2.5-rc; >= 2026.0.0-preview, < 2026.0.25; >= 2026.1.0-preview, < 2026.1.19)

Is there a patch for CVE-2026-62848?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.