AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
ESPHomeの external_components の設定で、URL検証の演算子の優先順位の誤りにより file: 形式の任意のURIが検証を通過してしまいます。その結果、遠隔からコードを実行される危険があり、CVSSの深刻度は High(8.6)とされています。影響は 2026.7.0-dev までのバージョンです。修正版の有無については、最新の情報を確認してください。
ESPHomeのcv.url()バリデータでの演算子優先度バグ。
esphome/config_validation.py
任意のPythonコードを実行可能で深刻。
演算子優先度を修正し、or条件が期待通りに機能するようにする。
不正なfile: URIの使用を制限。
設定ファイル中の不正なfile: URIを確認する。
Original description The description as published by the source.
ESPHome through 2026.7.0-dev contains an operator-precedence bug in the cv.url validator in esphome/config_validation.py. Because binds tighter than , any file: URI passes validation regardless of netloc. This validator gates the field of the external_components YAML directive's git source schema, which is passed to (git supports file:// natively).
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com