ESPHome vulnerabilities
3 known CVE vulnerabilities in ESPHome, translated and rated.
- 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-2026-71259High
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).
- 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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

