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

Published Aug 5, 2026
·
Updated

ESPHome through 2026.7.0-dev discloses plaintext passwords via its webserver component. In WebServer::textjson() (esphome/components/webserver/webserver.cpp), a text entity configured with mode: password (TEXTMODEPASSWORD) has its JSON "state" field correctly masked as "", but the same serialization path unconditionally writes the raw password into the JSON "value" field via setjsoniconstatevalue()/setjsonvalue(). Because webserver listens on port 80 with no authentication by default, any attacker on the local network can retrieve the plaintext password (e.g. WiFi credentials, API tokens) via GET /text/<entityid> or the /events EventSource stream.

Affected Software

1 affected component
ESPHome<=2026.7.0-dev

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ESPHome web_server to a version that resolves this vulnerability.

    Fixed in 2026.7.0-dev
  2. Compensating control

    Restrict network access to the ESPHome web server (port 80) to trusted hosts only (e.g., via firewall/ACL) because it listens on port 80 with no authentication by default, allowing local-network attackers to retrieve plaintext passwords.

Event History

Aug 5, 2026
CVE Published
via MITRE·12:26 PM
Data Sourced
via MITRE·12:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:24 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-71260?

CVE-2026-71260 has a medium severity score of 6.5.

2

What is the risk associated with CVE-2026-71260?

The risk associated with CVE-2026-71260 is rated as 38.

3

How do I fix CVE-2026-71260?

To mitigate CVE-2026-71260, update ESPHome to a version that addresses the plaintext password disclosure issue.

4

What type of information is disclosed in CVE-2026-71260?

CVE-2026-71260 discloses plaintext passwords via the JSON 'value' field in the web_server component.

5

Which component is affected by CVE-2026-71260?

The web_server component of ESPHome is affected by CVE-2026-71260.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203