CVE-2026-59178
Last modified
CVE-2026-59178 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. ESPHome Device Builder Dashboard is a dashboard for the ESPHome home management software. Prior to version 1.0.12, the dashboard reads its authentication credentials from `$ESPHOME_USERNAME` and `$ESPHOME_PASSWORD`.
Description
ESPHome Device Builder Dashboard is a dashboard for the ESPHome home management software. Prior to version 1.0.12, the dashboard reads its authentication credentials from `$ESPHOME_USERNAME` and `$ESPHOME_PASSWORD`. Earlier versions, and the legacy `esphome` dashboard, read the bare `$USERNAME` and `$PASSWORD` instead. When the env vars were renamed the bare names were dropped with no fallback, so an operator who had protected their dashboard with `USERNAME` / `PASSWORD` (as the older getting started guide documented) loses authentication on upgrade and the dashboard starts open to anyone who can reach its port. The issue is fixed in 1.0.12. The bare `$USERNAME` / `$PASSWORD` are accepted again as a deprecated fallback so previously protected instances stay protected across the upgrade without operator intervention, with a loud deprecation warning at startup directing operators to rename them to `$ESPHOME_USERNAME` / `$ESPHOME_PASSWORD`. The fallback is gated on `$PASSWORD` being set and is only adopted as a pair, so the OS provided `$USERNAME` is never read on its own and the original collision footgun stays closed. A lone bare `$PASSWORD` with no username still fails loud as a credential mismatch rather than starting unauthenticated. This restores compatibility rather than failing closed on the legacy names, because the priority is that an instance which was protected before the upgrade stays protected without the operator having to act; the deprecation warning plus a future removal handles the migration. Operators should migrate to the `$ESPHOME_*` names. The esphome container delivers the fix in the 2026.6.2 release, which bumps its pinned `esphome-device-builder` version to 1.0.12. Without upgrading, restore authentication immediately by setting the new env vars to the same values, on any affected version. Alternatively, do not expose the dashboard port to untrusted networks, and check the startup logs for the `WITHOUT AUTHENTICATION` banner to confirm whether a given instance is currently open.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| esphome | device-builder | < 1.0.12 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-59178?
How severe is CVE-2026-59178?
How do I fix CVE-2026-59178?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59162Excelize is a Go language library for reading and writing Mi…7.5
- CVE-2026-59163Mnemosyne is a memory layer for artificial intelligence agen…9.1
- CVE-2026-59167SunEditor is a lightweight and powerful WYSIWYG editor in va…10
- CVE-2026-59168Dasel is a command-line tool and library for querying, modif…6.2
- CVE-2026-5917libgit2 versions before 1.8.7 and 1.9.0 before 1.9.7 built w…8.8
- CVE-2026-59173Uncontrolled Resource Consumption vulnerability in Apache Tr…7.5
- CVE-2026-5918Inappropriate implementation in Navigation in Google Chrome …4.3
- CVE-2026-59180Apprise is an open source library which allows you to send a…3.1
- CVE-2026-59181OpenImageIO is a toolset for reading, writing, and manipulat…6.1
- CVE-2026-59183OpenEXR is the reference implementation and specification fo…5.5
- CVE-2026-59184OpenEXR is the reference implementation and specification fo…7.1
- CVE-2026-59186OpenEXR is the reference implementation and specification fo…7.1
Are you affected by CVE-2026-59178?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
