新着 / 2026年11月26日 / CVE-2026-4631
Cockpitのリモートログイン機能におけるコマンドインジェクションの脆弱性
掲載
何が問題か
Cockpitのリモートログイン機能は、Webインターフェースから受け取ったホスト名とユーザー名を検証・サニタイズせずにSSHクライアントへ渡すことが説明されています。ネットワークからCockpitのWebサービスに到達できる攻撃者が、ログインエンドポイントへの単一のHTTPリクエストで悪意のあるSSHオプションやシェルコマンドを注入できるとされています。注入は認証情報の検証より前の段階で起きるため、有効な資格情報がなくても悪用可能とされています。
悪用されると
悪用されると、認証なしでCockpitが動作しているホスト上でコードが実行される可能性があります。CVSSスコアは9.8(Critical)で、CWE-78(OSコマンドインジェクション)に分類されています。
取るべき対応
JSONの情報では修正版の番号は公表されていません。Cockpitの公式情報で修正版の提供状況を確認し、対象ホストのCockpitへのネットワークアクセスを制限することを検討してください。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v3.1) | 緊急 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 30日以内に悪用される確率(EPSS) | 13.6%(全体の上位 2.9%) |
| 問題の種類 | CWE-78 |
| CVE公開日 | 2026-04-07 |
出典
- NVD: CVE-2026-4631
- https://access.redhat.com/errata/RHBA-2026:21387
- https://access.redhat.com/errata/RHBA-2026:21388
- https://access.redhat.com/errata/RHSA-2026:7381
- https://access.redhat.com/errata/RHSA-2026:7382
- https://access.redhat.com/errata/RHSA-2026:7383
- https://access.redhat.com/errata/RHSA-2026:7384
- https://access.redhat.com/security/cve/CVE-2026-4631
- https://bugzilla.redhat.com/show_bug.cgi?id=2450246
公式の説明(英語の原文)
Cockpit's remote login feature passes user-supplied hostnames and usernames from the web interface to the SSH client without validation or sanitization. An attacker with network access to the Cockpit web service can craft a single HTTP request to the login endpoint that injects malicious SSH options or shell commands, achieving code execution on the Cockpit host without valid credentials. The injection occurs during the authentication flow before any credential verification takes place, meaning no login is required to exploit the vulnerability.