Vulnerability Description
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(). Because web_server listens on port 80 with no authentication by default, any attacker on the local network can retrieve the plaintext password (e.g. WiFi credentials, API tokens) via GET /text/<entity_id> or the /events EventSource stream.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/esphome/esphome
- https://github.com/esphome/esphome/blob/dev/esphome/components/web_server/web_se
FAQ
What is CVE-2026-71260?
CVE-2026-71260 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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: ...
How severe is CVE-2026-71260?
CVE-2026-71260 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-71260?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.