本文へ移動
English version →
高 7.3

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

CVE-2026-62848 SecPulse初出

概要

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

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

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

影響パッケージ

パッケージ影響を受ける版 → 修正版
metalamaMetalama —
nugetMetalama.Framework
2026.0.1-preview 以上 2026.0.25 未満→ 2026.0.25
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

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…

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

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく