Home Assistant EcosystemのHome Assistant Command-line Interface (hass-cli)における複数の脆弱性
タイトル Home Assistant EcosystemのHome Assistant Command-line Interface (hass-cli)における複数の脆弱性
概要

Home Assistantのコマンドラインインターフェース(hass-cli)は、Home Assistantのためのコマンドラインツールです。home-assistant-cliのバージョン1.0.0まで、Jinja2テンプレートを処理する際にサンドボックス化されていない環境が使用されていました。ユーザーから提供されたJinja2テンプレート内の入力は、制限なくローカルでレンダリングされていました。これにより、ユーザーはPythonの内部構造にアクセスでき、テンプレートの使用範囲が意図したものを超えて拡大してしまいました。この脆弱性はバージョン1.0.0で修正されました。

想定される影響 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
対策

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年4月21日0:00
登録日 2026年4月30日12:13
最終更新日 2026年4月30日12:13
CVSS3.0 : 警告
スコア 5.6
ベクター CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
影響を受けるシステム
Home Assistant Ecosystem
Home Assistant Command-line Interface (hass-cli) 1.0.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年04月30日]
  掲載
2026年4月30日12:13

NVD脆弱性情報
CVE-2026-40602
概要

The Home Assistant Command-line interface (hass-cli) is a command-line tool for Home Assistant. Up to 1.0.0 of home-assitant-cli an unrestricted environment was used to handle Jninja2 templates instead of a sandboxed one. The user-supplied input within Jinja2 templates was rendered locally with no restrictions. This gave users access to Python's internals and extended the scope of templating beyond the intended usage. This vulnerability is fixed in 1.0.0.

公表日 2026年4月22日3:16
登録日 2026年4月25日4:03
最終更新日 2026年4月28日4:43
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:home-assistant-ecosystem:home_assistant_command-line_interface:*:*:*:*:*:*:*:* 1.0.0
関連情報、対策とツール
共通脆弱性一覧