# CVE-2026-71260: ESPHome web_server Plaintext Password Disclosure via JSON "value" Field

- Severity: Medium 6.5 (CVSS:3.1, scored by TuranSec) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-08-05T12:26:08.759Z
- Modified: 2026-08-26T17:13:24.800Z
- Weaknesses: CWE-522
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: TuranSec

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

(As written by CVE List.)

## Affected

- esphome esphome: up to 2026.7.0

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

## Sources

- CVE List: [CVE-2026-71260](https://www.cve.org/CVERecord?id=CVE-2026-71260), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-71260](https://nvd.nist.gov/vuln/detail/CVE-2026-71260), Public domain, modified 2026-08-26

---

Page: https://cve.day/CVE-2026-71260 · Whole record: https://cve.day/CVE-2026-71260.json · Rebuilt by cve.day 2026-11-25T22:59:31.101Z
