English version →
カテゴリ
CVE-2026-42290 high CVSS 7.8

protobufjs-cli に OSコマンドインジェクション (CVE-2026-42290)

概要

protobufjs-cli に OSコマンドインジェクション (CVE-2026-42290) が存在。悪用されるとシステム全体を乗っ取られる可能性があります。pbts 経由で攻撃可能。対策: 2.0.2 以上に更新。

原文の説明

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

Summary

pbts invoked JSDoc by building a shell command string from input file paths and executing it through child_process.exec. File paths containing shell metacharacters could therefore be interpreted by the shell instead of being passed to JSDoc as plain arguments.

Impact

An attacker who can control file names or paths passed to pbts may be able to execute arbitrary shell commands with the privileges of the process running pbts.

This affects the protobufjs CLI tooling path. The protobufjs runtime APIs for encoding, decoding, parsing, and loading protobuf messages are not directly affected by this issue.

Preconditions

  • The application or user must invoke pbts on file paths influenced by an attacker.
  • The attacker must be able to supply or create a path containing shell-significant characters.
  • The vulnerable pbts version must execute the generated JSDoc command through a shell.

Workarounds

Do not run affected versions of pbts on attacker-controlled file names or paths. If this cannot be avoided, sanitize or rename input files before invoking pbts, or run the CLI in an isolated environment with minimal privileges.

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

自動生成の要約

取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。

protobufjs-cli という製品で、CVE-2026-42290 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに pbts のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 7.8/10 です。
対策: protobufjs-cli を 2.0.2 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「protobufjs-cli CVE-2026-42290」を検索してください。

CVE-2026-42290 (protobufjs-cli) — CWE-78 / CVSS v3 7.8
攻撃ベクター: ローカル / 認証不要
脆弱箇所: pbts / child_process.exec
修正バージョン: 2.0.2 (即時適用推奨)
暫定回避: Do not run affected versions of pbts on attacker-controlled file names or paths.
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

❓ 何が問題か

protobufjs-cli に OSコマンドインジェクション (CWE-78) があります。攻撃者は pbts を経由して脆弱な処理に到達し、認証なしで悪用できます。

📍 影響範囲

protobufjs-cli の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: pbts / child_process.exec。

🔥 重要度

重要度: 重要 (CVSS 7.8/10)。悪用されるとシステム全体を乗っ取られる可能性があります。

🔧 修正方法

2.0.2 に更新してください。

🛡️ 暫定回避

暫定回避: Do not run affected versions of pbts on attacker-controlled file names or paths.

🔍 検知方法

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

対応アクション

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

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

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

  2. 2
    暫定回避策の適用 mitigate
    Do not run affected versions of `pbts` on attacker-controlled file names or paths.

    パッチが適用されるまでの応急処置として、Do not run affected versions of pbts on attacker-controlled file names or paths. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    パッチ適用 patch
    Upgrade protobufjs-cli to 2.0.2

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

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

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

影響パッケージ

npm protobufjs-cli
[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.0.2"}]}]

参照URL

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