Skip to content
OpenAdvisories
High · 8.6 CVE-2026-71259 EUVD-2026-53344GHSA-2g7j-rv69-9w67

ESPHome external_components file:// Scheme Validation Bypass Leading to Remote Code Execution

Published Aug 5, 2026 · Updated Aug 10, 2026 · Assigned by TuranSec

Description

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).

Affected products

VendorProductAffectedFixed
esphome esphome ≤ 2026.7.0 —

References