本文へ移動
English version →
高 8.6

Uni-CLI 悪意あるWebページから localhost の MCP を操作される

CVE-2026-58497 SecPulse初出

概要

Uni-CLI の従来型 HTTP MCP トランスポートでは、ブラウザ経由の localhost へのリクエストが検証されず、悪意あるWebページから利用者のローカル Uni-CLI サーバーに tools/call を送られるおそれがあります。影響を受けるのは 0.225.2 より前の版で、0.225.2 で修正されています。0.225.2 以降へ更新してください。

AI要約

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

Uni-CLI の従来型 HTTP MCP トランスポートでは、ブラウザ経由の localhost へのリクエストが検証されず、悪意あるWebページから利用者のローカル Uni-CLI サーバーに tools/call を送られるおそれがあります。影響を受けるのは 0.225.2 より前の版で、0.225.2 で修正されています。0.225.2 以降へ更新してください。

影響パッケージ

パッケージ影響を受ける版 → 修正版
olo-dot-ioUni-CLI —
npm@zenalexa/unicli
0.225.2 未満→ 0.225.2
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

Uni-CLI gives people and agents one command interface for websites, browsers, desktop applications, local tools, and MCP. Prior to version 0.225.2, Uni-CLI exposed the legacy JSON-RPC-over-HTTP MCP transport on loopback without validating browser Origin headers before routing requests. A malicious web page could send a CORS simple POST request, such as text/plain, to the local /mcp endpoint and deliver a JSON-RPC body to the dispatcher. If the user had started the local MCP HTTP transport, that page could drive tools/call requests against the user's local Uni-CLI server. The Streamable HTTP transport already enforced this browser-to-localhost boundary. The legacy stateless HTTP path did not, so the two HTTP transports had drifted. This issue is about the browser-to-localhost boundary; it does not change Uni-CLI's local-code-execution trust model. This issue has been patched in version 0.225.2.

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

参照URL

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