新着 / 2026年11月27日 / CVE-2026-12542
Foreman foreman-tailユーティリティのOSコマンドインジェクションの脆弱性
掲載
何が問題か
Foremanに含まれるforeman-tailユーティリティで、evalコマンドの安全でない使用によりOSコマンドインジェクションの脆弱性が見つかりました。スクリプトはユーザー指定の引数をサニタイズやクォートなしにevalで実行される文字列へ直接組み込むため、問題となります。この脆弱性はCWE-78に分類されています。
悪用されると
ローカルの攻撃者が、;、&、|などのシェルメタキャラクタを含む入力を与えることで、任意のシステムコマンドを実行できる可能性があります。CVSS 3.1の評価は7.8(HIGH)で、ベクトルはAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hです。
取るべき対応
対象のForemanおよびSatelliteを利用している場合は、ベンダーが提供する修正版への更新を検討してください。修正版の番号は公表されていません。ローカルアカウントの管理や実行権限の見直しも併せて確認してください。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v3.1) | 重要 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 30日以内に悪用される確率(EPSS) | 0.9%(全体の上位 42.5%) |
| 問題の種類 | CWE-78 |
| CVE公開日 | 2026-10-01 |
対象製品
出典
- NVD: CVE-2026-12542
- https://access.redhat.com/errata/RHSA-2026:74503
- https://access.redhat.com/errata/RHSA-2026:74504
- https://access.redhat.com/errata/RHSA-2026:74505
- https://access.redhat.com/errata/RHSA-2026:74506
- https://access.redhat.com/security/cve/CVE-2026-12542
- https://bugzilla.redhat.com/show_bug.cgi?id=2489971
- http://www.openwall.com/lists/oss-security/2026/10/07/7
公式の説明(英語の原文)
A flaw was found in Foreman. The foreman-tail utility is vulnerable to OS command injection due to the unsafe use of the eval command. The script takes user-supplied arguments and incorporates them directly into a string that is then executed by eval to expand file paths. Because the input is not sanitized or quoted, a local attacker can inject shell metacharacters (e.g., ;, &, |) to execute arbitrary system commands.