CVE-2026-71260

ESPHome web_server Plaintext Password Disclosure via JSON "value" Field

State
Published
Severity
6.5 Medium
Published
Aug 5, 2026
Updated
Aug 10, 2026
Reserved
Aug 5, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NTuranSec

Weaknesses

Affected Products

ProductVersions
esphomeesphome
  • 2026.7.0 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.