脆弱性ウォッチ

新着 / 2026年11月25日 / CVE-2026-84837

rpm(rpmbuild -t)のコマンドインジェクションの脆弱性

重要 7.8

掲載

何が問題か

rpmbuildの-tオプションで処理されるtarball のパスまたはファイル名に、シェルのメタキャラクタを含ませることで、コマンドインジェクションが可能になる問題が報告されています。自動ビルドや継続的インテグレーション(CI)で外部から渡されたアーティファクト名を取り込む環境で特に関係するとされています。CVSS 3.1の基本値は7.8(HIGH)です。

悪用されると

悪用に成功すると、ビルドユーザの権限で任意のコマンドが実行される可能性があり、情報漏えいやビルド環境の妨害につながるおそれがあります。実際に悪用されたかどうかは公表されていません。

取るべき対応

rpmの修正版への更新を確認し、修正版の情報は公表されていません。外部から渡された名称をそのままrpmbuildに渡さないよう、CIやビルドスクリプトの入力検証を見直してください。

AIが出典から要約し、数値を機械照合しています。

更新履歴

  1. 初回掲載。

指標

深刻度(CVSS v3.1)重要 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
実際の攻撃での悪用CISA KEVには未掲載
30日以内に悪用される確率(EPSS)0.9%(全体の上位 40.7%)
問題の種類CWE-78
CVE公開日2026-09-02

出典

公式の説明(英語の原文)

A flaw was found in rpm. An attacker can exploit a command injection vulnerability by influencing the path or filename of a tarball processed by `rpmbuild -t*` to include shell metacharacters. This is particularly relevant in automated build or continuous integration (CI) workflows that ingest externally supplied artifact names. Successful exploitation allows for arbitrary command execution with the privileges of the build user, which could lead to information disclosure or disruption of the build environment.