cve.bz

CVE-2026-62848 metalama metalama: Deserialization of Untrusted Data

7.3 highEPSS 0.2%Fix available

High (7.3) in metalama metalama. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in Metalama.Framework 2025.1.18, 2026.0.25, 2026.1.19.

On this page
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.

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-11-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-502 Deserialization of Untrusted Data
CWE-913 Improper Control of Dynamically-Managed Code Resources
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Metalama.Framework (NuGet): fixed in 2026.1.19, 2025.1.18, 2026.0.25

Ask an AI about this CVE

Show the promptExplain CVE-2026-62848 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-62848?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-62848?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-62848 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

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

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h26j-4vp7-x9w2NuGetMetalama.Framework>=2026.1.0-preview <2026.1.192026.1.19
GHSA-h26j-4vp7-x9w2NuGetMetalama.Framework<2025.1.182025.1.18
GHSA-h26j-4vp7-x9w2NuGetMetalama.Framework>=2026.0.1-preview <2026.0.252026.0.25

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON