CVE-2023-50715
JSON

4.3medium

User accounts disclosed to unauthenticated actors on the LAN

Severity
4.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.90% (higher than 60% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-jqpc-rc7g-vf83PYSEC-2026-1451

Description

Home Assistant is open source home automation software. Prior to version 2023.12.3, the login page discloses all active user accounts to any unauthenticated browsing request originating on the Local Area Network. Version 2023.12.3 contains a patch for this issue. When starting the Home Assistant 2023.12 release, the login page returns all currently active user accounts to browsing requests from the Local Area Network. Tests showed that this occurs when the request is not authenticated and the request originated locally, meaning on the Home Assistant host local subnet or any other private subnet. The rationale behind this is to make the login more user-friendly and an experience better aligned with other applications that have multiple user-profiles. However, as a result, all accounts are displayed regardless of them having logged in or not and for any device that navigates to the server. This disclosure is mitigated by the fact that it only occurs for requests originating from a LAN address. But note that this applies to the local subnet where Home Assistant resides and to any private subnet that can reach it.

Affected

Product or packageVersionsReported by
home-assistant core< 2023.12.3CVE List
homeassistant (PyPI)before 2023.12.3GitHub Advisory Database, PyPA Advisory Database
home-assistant home-assistantbefore 2023.12.3NVD

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
PyPA Advisory Database4.3medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

What each source says

CVE List

Home Assistant is open source home automation software. Prior to version 2023.12.3, the login page discloses all active user accounts to any unauthenticated browsing request originating on the Local Area Network. Version 2023.12.3 contains a patch for this issue. When starting the Home Assistant 2023.12 release, the login page returns all currently active user accounts to browsing requests from the Local Area Network. Tests showed that this occurs when the request is not authenticated and the request originated locally, meaning on the Home Assistant host local subnet or any other private subnet. The rationale behind this is to make the login more user-friendly and an experience better aligned with other applications that have multiple user-profiles. However, as a result, all accounts are displayed regardless of them having logged in or not and for any device that navigates to the server. This disclosure is mitigated by the fact that it only occurs for requests originating from a LAN address. But note that this applies to the local subnet where Home Assistant resides and to any private subnet that can reach it.

GitHub Advisory Database
Summary

The login page discloses all active user accounts to any unauthenticated browsing request originating on the Local Area Network.

Details

Starting the Home Assistant 2023.12 release, the login page returns all currently active user accounts to browsing requests from the Local Area Network. Tests showed that this occurs when:

  • The request is not authenticated and
  • The request originated locally, meaning on the Home Assistant host local subnet or any other private subnet (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fd00::/8, ::ffff:10.0.0.0/104, ::ffff:172.16.0.0/108, ::ffff:192.168.0.0/112)

The rationale behind this is to make the login more user-friendly (see release blog post) and an experience better aligned with other applications that have multiple user-profiles.

However, as a result, all accounts are displayed regardless of them having logged in or not and for any device that navigates to the server. This disclosure is mitigated by the fact that it only occurs for requests originating from a LAN address. But note that this applies to the local subnet where Home Assistant resides and to any private subnet that can reach it.

PoC
  1. Place a Home Assistant instance on a private subnet, i.e., 192.168.1.0/24.
  2. Create a few users, let's say, three.
  3. From any (or another) private subnet on the LAN, like 192.168.2.0/24, open an incognito browser window (to ensure that the browser has no cookies from Home Assistant and therefore is demonstrably unauthenticated) and navigate to the Home Assistant URL.
  4. The login page will display all three users, including their profile photo.
Impact

The following CVSS string could be shaped to describe the overall impact of this issue: AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

As seen, the Exploitability metrics are high, and the Impact metrics are low. This is fitting because the problem does not constitute a critical one, but at the same time, it is trivial to exploit. Still, since the mitigation can be so easily implemented in code to eliminate a typical case of information disclosure, it would certainly be worth pursuing.

NVD (es)

Home Assistant es un software de domótica de código abierto. Antes de la versión 2023.12.3, la página de inicio de sesión revela todas las cuentas de usuario activas a cualquier solicitud de navegación no autenticada que se origine en la red de área local. La versión 2023.12.3 contiene un parche para este problema. Al iniciar la versión Home Assistant 2023.12, la página de inicio de sesión devuelve todas las cuentas de usuario actualmente activas a las solicitudes de navegación de la red de área local. Las pruebas demostraron que esto ocurre cuando la solicitud no está autenticada y la solicitud se originó localmente, es decir, en la subred local del host de Home Assistant o en cualquier otra subred privada. La razón detrás de esto es hacer que el inicio de sesión sea más fácil de usar y una experiencia mejor alineada con otras aplicaciones que tienen múltiples perfiles de usuario. Sin embargo, como resultado, se muestran todas las cuentas independientemente de que hayan iniciado sesión o no y para cualquier dispositivo que navegue hasta el servidor. Esta divulgación se ve mitigada por el hecho de que solo ocurre para solicitudes que se originan en una dirección LAN. Pero tenga en cuenta que esto se aplica a la subred local donde reside Home Assistant y a cualquier subred privada que pueda acceder a ella.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-50715 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-jqpc-rc7g-vf83 changed 2026-07-07CC-BY-4.0
NVDCVE-2023-50715 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1451 changed 2026-07-07CC-BY-4.0