Skip to content
High 7.3

Metalamaの Visual Studio連携に任意コード実行の脆弱性 修正版で対応

CVE-2026-62848 First seen on SecPulse

Summary

Metalamaの Visual Studio連携で、同じユーザーのローカルプロセスがパイプ経由で細工したメッセージを送り、Visual Studioのプロセス内で任意のコードを実行できる脆弱性です。影響は2023.0.101-rcから2025.1.18、2026.0.25、2026.1.19より前の版と、2026.1系の一部版です。修正版への更新が必要です。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Metalamaの Visual Studio連携で、同じユーザーのローカルプロセスがパイプ経由で細工したメッセージを送り、Visual Studioのプロセス内で任意のコードを実行できる脆弱性です。影響は2023.0.101-rcから2025.1.18、2026.0.25、2026.1.19より前の版と、2026.1系の一部版です。修正版への更新が必要です。

Affected packages

PackageAffected → Fixed
metalamaMetalama —
nugetMetalama.Framework
≥ 2026.0.1-preview, < 2026.0.25→ 2026.0.25
Original description The description as published by the source.

Summary

Metalama uses a local named-pipe channel to communicate between its Visual Studio processes — the Visual Studio UI process (devenv), the out-of-process Roslyn code-analysis process, and the CodeLens process. This channel deserialized messages from the pipe without restricting which CLR types could be instantiated. A local process able to write to the pipe can send a crafted message that instantiates arbitrary .NET types — a deserialization primitive in the same class as BinaryFormatter (CWE-502), and a well-known gadget-chain code-execution vector.

The flaw is present, via two successive serializers, in every Metalama release from the first public version (2023.0) up to and including 2026.1.18, and is fixed in 2026.1.19.

The pipe name is predictable: Metalama_{role}_{processId}_{hash(PackageVersion)}, derived from the public package version and a locally-enumerable process id. This channel is used by the Visual Studio integration only (Windows named pipes); it is not used for command-line / MSBuild builds.

Mechanisms

JSON era — Metalama 2023.0 through 2026.0.x (Newtonsoft.Json). The pipe formatter enabled polymorphic type embedding:

formatter.JsonSerializer.TypeNameHandling = TypeNameHandling.All;   // ServiceEndpoint.cs (early), later BaseEndpoint.cs

The accompanying SerializationBinder (added later for multi-version assembly support) only remapped assembly names; its BindToType resolved any type name from th…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details