{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-59178","published":"2026-09-14T19:17:37.617000Z","last_modified":"2026-09-30T19:08:21.363000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-306"],"cpes":[],"cpes_truncated":false,"vendors":["esphome"],"products":["esphome/device-builder"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-rrxg-g2pf-6hh4","ecosystem":"PyPI","name":"esphome-device-builder","purl":"pkg:pypi/esphome-device-builder","ranges":[{"introduced":"0","fixed":"1.0.12"}],"versions":["0.1.0b10","0.1.0b100","0.1.0b101","0.1.0b102","0.1.0b103","0.1.0b104","0.1.0b105","0.1.0b106","0.1.0b107","0.1.0b108","0.1.0b109","0.1.0b11","0.1.0b110","0.1.0b111","0.1.0b112","0.1.0b113","0.1.0b114","0.1.0b115","0.1.0b116","0.1.0b117","0.1.0b118","0.1.0b119","0.1.0b12","0.1.0b13","0.1.0b14","0.1.0b15","0.1.0b16","0.1.0b17","0.1.0b18","0.1.0b19","0.1.0b20","0.1.0b21","0.1.0b22","0.1.0b23","0.1.0b24","0.1.0b25","0.1.0b26","0.1.0b27","0.1.0b28","0.1.0b29","0.1.0b30","0.1.0b31","0.1.0b32","0.1.0b33","0.1.0b34","0.1.0b35","0.1.0b36","0.1.0b37","0.1.0b38","0.1.0b39","0.1.0b40","0.1.0b41","0.1.0b42","0.1.0b43","0.1.0b44","0.1.0b45","0.1.0b46","0.1.0b47","0.1.0b48","0.1.0b49","0.1.0b50","0.1.0b51","0.1.0b52","0.1.0b53","0.1.0b54","0.1.0b55","0.1.0b56","0.1.0b57","0.1.0b58","0.1.0b59","0.1.0b60","0.1.0b61","0.1.0b62","0.1.0b63","0.1.0b64","0.1.0b65","0.1.0b66","0.1.0b67","0.1.0b68","0.1.0b69","0.1.0b70","0.1.0b71","0.1.0b72","0.1.0b73","0.1.0b74","0.1.0b75","0.1.0b76","0.1.0b77","0.1.0b78","0.1.0b79","0.1.0b80","0.1.0b81","0.1.0b82","0.1.0b83","0.1.0b84","0.1.0b85","0.1.0b86","0.1.0b87","0.1.0b88","0.1.0b89","0.1.0b90","0.1.0b91","0.1.0b92","0.1.0b93","0.1.0b94","0.1.0b95","0.1.0b96","0.1.0b97","0.1.0b98","0.1.0b99","1.0.0","1.0.1","1.0.10","1.0.10b1","1.0.10b2","1.0.11","1.0.11b1","1.0.2b1","1.0.2b2","1.0.2b3","1.0.2b4","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9"],"versions_truncated":false},{"advisory":"PYSEC-2026-4049","ecosystem":"PyPI","name":"esphome-device-builder","purl":"pkg:pypi/esphome-device-builder","ranges":[{"introduced":"0","fixed":"1.0.12"}],"versions":["0.1.0b10","0.1.0b100","0.1.0b101","0.1.0b102","0.1.0b103","0.1.0b104","0.1.0b105","0.1.0b106","0.1.0b107","0.1.0b108","0.1.0b109","0.1.0b11","0.1.0b110","0.1.0b111","0.1.0b112","0.1.0b113","0.1.0b114","0.1.0b115","0.1.0b116","0.1.0b117","0.1.0b118","0.1.0b119","0.1.0b12","0.1.0b13","0.1.0b14","0.1.0b15","0.1.0b16","0.1.0b17","0.1.0b18","0.1.0b19","0.1.0b20","0.1.0b21","0.1.0b22","0.1.0b23","0.1.0b24","0.1.0b25","0.1.0b26","0.1.0b27","0.1.0b28","0.1.0b29","0.1.0b30","0.1.0b31","0.1.0b32","0.1.0b33","0.1.0b34","0.1.0b35","0.1.0b36","0.1.0b37","0.1.0b38","0.1.0b39","0.1.0b40","0.1.0b41","0.1.0b42","0.1.0b43","0.1.0b44","0.1.0b45","0.1.0b46","0.1.0b47","0.1.0b48","0.1.0b49","0.1.0b50","0.1.0b51","0.1.0b52","0.1.0b53","0.1.0b54","0.1.0b55","0.1.0b56","0.1.0b57","0.1.0b58","0.1.0b59","0.1.0b60","0.1.0b61","0.1.0b62","0.1.0b63","0.1.0b64","0.1.0b65","0.1.0b66","0.1.0b67","0.1.0b68","0.1.0b69","0.1.0b70","0.1.0b71","0.1.0b72","0.1.0b73","0.1.0b74","0.1.0b75","0.1.0b76","0.1.0b77","0.1.0b78","0.1.0b79","0.1.0b80","0.1.0b81","0.1.0b82","0.1.0b83","0.1.0b84","0.1.0b85","0.1.0b86","0.1.0b87","0.1.0b88","0.1.0b89","0.1.0b90","0.1.0b91","0.1.0b92","0.1.0b93","0.1.0b94","0.1.0b95","0.1.0b96","0.1.0b97","0.1.0b98","0.1.0b99","1.0.0","1.0.1","1.0.10","1.0.10b1","1.0.10b2","1.0.11","1.0.11b1","1.0.2b1","1.0.2b2","1.0.2b3","1.0.2b4","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-59178/","html_en":"/en/cve/CVE-2026-59178/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-59178","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-59178"},"untrusted":{"vendor_name":"esphome","product_name":"device-builder","desc_en":"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.","affected":[{"untrusted_vendor":"esphome","untrusted_product":"device-builder","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"11bbddf05945108279268348af5f4459","generated":"2026-11-26T23:33:13.278330Z","es":{"untrusted_title":"Pérdida de autenticación en ESPHome Device Builder por cambio de variables de e…","untrusted_summary":"ESPHome Device Builder versiones anteriores a 1.0.12 pierden la autenticación al actualizar si se usaban las variables de entorno antiguas $USERNAME y $PASSWORD. Un atacante con acceso a la red puede acceder sin autenticación al dashboard si la instancia se actualizó sin cambiar las credenciales a las nuevas variables $ESPHOME_USERNAME y $ESPHOME_PASSWORD."},"en":{"untrusted_title":"Authentication bypass in ESPHome Device Builder due to environment variable cha…","untrusted_summary":"ESPHome Device Builder versions prior to 1.0.12 lose authentication upon upgrade if legacy environment variables $USERNAME and $PASSWORD were used. An attacker with network access can access the dashboard without authentication if the instance was upgraded without changing credentials to the new $ESPHOME_USERNAME and $ESPHOME_PASSWORD variables."},"remediation":{"status":"fix","fixed_versions":["1.0.12"],"untrusted_action_es":"Actualiza esphome-device-builder a versión 1.0.12 o superior. Migra las credenciales a las variables $ESPHOME_USERNAME y $ESPHOME_PASSWORD. Verifica los logs de inicio para confirmar que el dashboard está autenticado.","untrusted_action_en":"Update esphome-device-builder to version 1.0.12 or later. Migrate credentials to $ESPHOME_USERNAME and $ESPHOME_PASSWORD environment variables. Check startup logs to confirm the dashboard is authenticated.","vendor_url":"https://github.com/esphome/device-builder/releases/tag/1.0.12"},"reviewed":false},"references":[{"url":"https://github.com/esphome/device-builder/commit/9e294f729c3eb7334bb57b9fc49b75b728052f52","tags":[]},{"url":"https://github.com/esphome/device-builder/pull/1625","tags":[]},{"url":"https://github.com/esphome/device-builder/releases/tag/1.0.12","tags":[]},{"url":"https://github.com/esphome/device-builder/security/advisories/GHSA-rrxg-g2pf-6hh4","tags":[]}]}}