ESPHome through 2026.7.0-dev discloses plaintext passwords via its web_server component. (CVE-2026-71260)
ESPHome versions through 2026.7.0-dev have a vulnerability in the web_server component that discloses plaintext passwords. The web_server listens on port 80 without authentication by default, allowing local network attackers to retrieve sensitive information such as WiFi credentials and API tokens via specific HTTP endpoints. The issue arises because the JSON serialization exposes the raw password in the "value" field despite masking it in the "state" field.
AI Analysis
Technical Summary
ESPHome through version 2026.7.0-dev contains a vulnerability (CVE-2026-71260) in its web_server component where plaintext passwords are exposed via JSON responses. Specifically, in the WebServer::text_json_() function, password fields are masked in the "state" field but the raw password is still included in the "value" field. Since the web_server listens on port 80 without authentication by default, any attacker on the local network can access these plaintext passwords by sending GET requests to /text/<entity_id> or by connecting to the /events EventSource stream. This vulnerability corresponds to CWE-522 (Insufficiently Protected Credentials).
Potential Impact
An attacker on the local network can obtain plaintext passwords such as WiFi credentials and API tokens from the vulnerable ESPHome device without authentication. This exposure can lead to unauthorized access to network resources or control of the device. The CVSS 3.1 base score is 6.5 (medium severity), reflecting that the attack requires local network access but results in high confidentiality impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict local network access to the ESPHome device's web_server port 80 to trusted users only. Consider disabling or restricting the web_server component if possible to prevent unauthorized access to sensitive information.
ESPHome through 2026.7.0-dev discloses plaintext passwords via its web_server component. (CVE-2026-71260)
Description
ESPHome versions through 2026.7.0-dev have a vulnerability in the web_server component that discloses plaintext passwords. The web_server listens on port 80 without authentication by default, allowing local network attackers to retrieve sensitive information such as WiFi credentials and API tokens via specific HTTP endpoints. The issue arises because the JSON serialization exposes the raw password in the "value" field despite masking it in the "state" field.
CVSS v3.1
Score 6.5medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
ESPHome through version 2026.7.0-dev contains a vulnerability (CVE-2026-71260) in its web_server component where plaintext passwords are exposed via JSON responses. Specifically, in the WebServer::text_json_() function, password fields are masked in the "state" field but the raw password is still included in the "value" field. Since the web_server listens on port 80 without authentication by default, any attacker on the local network can access these plaintext passwords by sending GET requests to /text/<entity_id> or by connecting to the /events EventSource stream. This vulnerability corresponds to CWE-522 (Insufficiently Protected Credentials).
Potential Impact
An attacker on the local network can obtain plaintext passwords such as WiFi credentials and API tokens from the vulnerable ESPHome device without authentication. This exposure can lead to unauthorized access to network resources or control of the device. The CVSS 3.1 base score is 6.5 (medium severity), reflecting that the attack requires local network access but results in high confidentiality impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict local network access to the ESPHome device's web_server port 80 to trusted users only. Consider disabling or restricting the web_server component if possible to prevent unauthorized access to sensitive information.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-qmjj-2rwx-5ffc
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-71260"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a738527bf8831d5394f01a6
Added to database: 08/05/2026, 18:47:03 UTC
Last enriched: 08/05/2026, 22:16:22 UTC
Last updated: 08/05/2026, 22:16:22 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.