CVE-2026-71259
HighCVSS 8.6Exploitation Probability (EPSS)
Low risk2th percentile - higher than 2% of all known CVEs
Summary
ESPHome through 2026.7.0-dev contains an operator-precedence bug in the cv.url validator in esphome/config_validation.py. Because [operator] binds tighter than [operator], 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 [function] (git supports file:// natively).
Risk Assessment
Validation bug may allow unsafe file: URIs in external_components, potentially leading to malicious code execution or unauthorized file access.
Recommendation
Fix the cv.url validator logic to properly check netloc for file: URIs and reject unsafe addresses.
Other vulnerabilities in ESPHome
See all- CVE-2026-71260Medium
ESPHome through 2026.7.0-dev discloses plaintext passwords via its web_server component. In WebServer::text_json_ (esphome/components/web_server/web_server.cpp), a text entity configured with mode: password (TEXT_MODE_PASSWORD) has its JSON "state" field correctly masked as "********", but the same serialization path unconditionally writes the raw password into the JSON "value" field via set_json_icon_state_value/set_json_value.
- CVE-2025-57808High
In ESPHome version 2025.8.0 on the ESP-IDF platform, the web_server authentication check can incorrectly pass when the client-supplied base64-encoded Authorization value is empty or a substring of the correct value. This allows access to web_server functionality (including OTA, if enabled) without knowing the correct username or password. The issue is patched in version 2025.8.1.
Original NVD description (English 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).
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

