本文へ移動
English version →
高 7.4

gin-vue-admin、認証済みの攻撃者にOSコマンドを実行される脆弱性

CVE-2026-48787 SecPulse初出

概要

gin-vue-admin の 2.9.1 には、認証済みの攻撃者がOSコマンドを実行できる脆弱性(CVE-2026-48787)があります。攻撃者はコード生成機能でGoのソースコードを注入し、MCP管理機能で再ビルドと再起動を起こすことで、アプリケーションと同じ権限で任意のコマンドを実行できます。修正版の有無は公表時点で不明のため、最新の情報を確認してください。

AI要約

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

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

CVE-2026-48787 (gin-vue-admin) — CWE-78
脆弱箇所: POST /autoCode/addFunc / POST /autoCode/mcpStart / humpPackageName / packageName
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

gin-vue-admin に OSコマンドインジェクション (CWE-78) があります。攻撃者は POST /autoCode/addFunc を経由して脆弱な処理に到達できます。

影響範囲

gin-vue-admin の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: POST /autoCode/addFunc / POST /autoCode/mcpStart / humpPackageName / packageName。

重要度

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

修正方法

ベンダー公式アドバイザリの修正版に更新してください。

暫定回避

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

検知方法

Webサーバ・プロキシ・WAFのアクセスログで POST /autoCode/addFunc への異常リクエスト (不正な認証ヘッダ、SQL構文)を検索。 依存ファイル (package-lock.json/requirements.txt/go.sum) で gin-vue-admin のバージョンを横断確認。

対応アクション

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

  1. 1
    影響範囲の特定identify
    grep -r 'gin-vue-admin' . | grep -v node_modules

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

  2. 2
    ログでの侵入兆候検索detect
    grep 'POST /autoCode/addFunc' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'

    アクセスログで POST /autoCode/addFunc への異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。

  3. 3
    事後検証verify
    Replay attack against POST /autoCode/addFunc on staging to confirm patch closes the vector

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

原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

gin-vue-admin is an AI-assisted basic development platform. In version 2.9.1, an authenticated attacker with access to the code-generation feature and MCP management interface can exploit this vulnerability by injecting attacker-controlled Go source code through POST /autoCode/addFunc, and then invoking POST /autoCode/mcpStart to trigger a rebuild and restart of the standalone MCP service. This allows arbitrary operating system commands to be executed on the server with the privileges of the application process. Successful exploitation may lead to remote code execution (RCE), modification of backend source code or runtime logic, deployment of persistent backdoors, access to or manipulation of application data and configuration, and further impact on local resources running under the same service account or privilege context. The risk is highest in deployments that retain the source tree, allow writes to source files, and support local build or startup of standalone MCP components. In environments using binary-only releases, read-only filesystems, or with local build capabilities removed, the exploitability of the full attack chain is significantly reduced. However, once the online code-generation capability and MCP-hosted startup workflow are enabled, the overall security impact may reach high to critical severity. As of time of publication, it is unknown if a patched version is available. As a workaround, enforce strict allowlist validation on path- and identifier-related fi…

出典: NIST National Vulnerability Database NVD GitHub Advisory

参照URL

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