本文へ移動
English version →
高 8.2

Metalamaの脆弱性、ローカルユーザーに一時ディレクトリへDLLを仕込まれコードを実行されるおそれ

CVE-2026-62847 SecPulse初出

概要

Metalama.FrameworkとMetalama.Toolで、一時ディレクトリに仕込まれたDLLが、ビルドを行う上位権限のアカウントで実行されるおそれがあります。LinuxとmacOSの環境で、2026.0.25より前の版が影響を受けます。修正版は2026.0.25で、2025.1.18と2026.1.19でも修正されています。共有マシンやCIのビルドエージェントを使っている場合は、早めに修正版へ更新してください。

AI要約

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

Metalama.Framework という製品で、CVE-2026-62847 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに METALAMA_TEMP のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。
対策: Metalama.Framework を 2026.0.25 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「Metalama.Framework CVE-2026-62847」を検索してください。

CVE-2026-62847 (Metalama.Framework) — CWE-377
脆弱箇所: METALAMA_TEMP
修正バージョン: 2026.0.25 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

Metalama.Framework に 脆弱性 (CWE-377) があります。攻撃者は METALAMA_TEMP を経由して脆弱な処理に到達できます。

影響範囲

Metalama.Framework の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: METALAMA_TEMP。

重要度

重要度: ?。不正な操作・情報露出のリスクがあります。

修正方法

2026.0.25 に更新してください。

暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定identify
    grep -r 'Metalama.Framework' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で Metalama.Framework を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    パッチ適用patch
    Upgrade Metalama.Framework to 2026.0.25

    ステージング環境で 2026.0.25 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    事後検証verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

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

Metalama is a Roslyn-based open-source patterns and architecture toolkit for C#. Prior to 2025.1.18, 2026.0.25 and 2026.1.19, Metalama.Framework and Metalama.Tool load and execute compile-time assemblies, auxiliary executable tools and embedded helper assemblies from predictable temporary directories. On Linux and macOS, the default Path.GetTempPath() location is world-writable, and existing artifacts are trusted based on sentinel or .completed marker files rather than integrity verification. A local unprivileged user on a shared machine or CI/build agent can pre-create the deterministic directory structure and plant a malicious DLL with the matching sentinel. When a higher-privileged developer or build account subsequently builds, Metalama skips regeneration and executes the planted artifact in the compiler, IDE or MSBuild process as the building user. This permits cross-user privilege escalation, reading source and secrets, supply-chain tampering with build output, or disrupting builds. Default Windows per-user temporary directories are protected by ACLs and are not affected. Deployer-selected insecure cache locations are outside the vulnerability's scope. This issue is fixed in versions 2025.1.18, 2026.0.25 and 2026.1.19.

出典: GitHub Security Advisories (Global) NVD GitHub Advisory

参照URL

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