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

Medium 6.5 Published Updated

Attackers can retrieve plaintext passwords from ESPHome web server JSON responses due to improper masking of the value field.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-71260?

CVE-2026-71260 is a medium-severity vulnerability in esphome, published on 5 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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.

Weakness: CWE-522

Which versions are affected by CVE-2026-71260?

How do I fix CVE-2026-71260?

No fix has been published for CVE-2026-71260 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-71260 being exploited?

There is no known exploitation of CVE-2026-71260 in the wild and no public exploit code.

Sources

Also known as GHSA-qmjj-2rwx-5ffc.

Is CVE-2026-71260 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free