Vulnerability · Published Aug 5, 2026 · Assigned by TuranSec
CVE-2026-71260ESPHome web_server Plaintext Password Disclosure via JSON "value" Field
Medium 6.5
In plain English
A medium-severity security flaw in esphome from esphome. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-522 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/esphome/esphome third-party-advisory
- https://github.com/esphome/esphome/blob/dev/esphome/components/web_server/web_server.cpp third-party-advisory