{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-71260","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","state":"PUBLISHED","assignerShortName":"TuranSec","dateReserved":"2026-08-05T12:23:34.966Z","datePublished":"2026-08-05T12:26:08.759Z","dateUpdated":"2026-08-10T11:46:22.212Z"},"containers":{"cna":{"title":"ESPHome web_server Plaintext Password Disclosure via JSON \"value\" Field","descriptions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>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.</p>"}]}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-522","cweId":"CWE-522","type":"CWE"}]}],"affected":[{"vendor":"esphome","product":"esphome","programFiles":["esphome/components/web_server/web_server.cpp"],"versions":[{"version":"0","lessThanOrEqual":"2026.7.0","status":"affected","versionType":"semver"}],"defaultStatus":"unaffected"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"ADJACENT_NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"references":[{"url":"https://github.com/esphome/esphome","tags":["third-party-advisory"]},{"url":"https://github.com/esphome/esphome/blob/dev/esphome/components/web_server/web_server.cpp","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Alibek Baxtiyorov","type":"finder"}],"providerMetadata":{"orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","shortName":"TuranSec","dateUpdated":"2026-08-10T11:46:22.212Z"},"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-05T12:26:08.759Z"},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-05T15:30:39.169767Z","id":"CVE-2026-71260","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-05T15:31:34.849Z"}}]}}