User accounts disclosed to unauthenticated actors on the LAN
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
- Place a Home Assistant instance on a private subnet, i.e., 192.168.1.0/24.
- Create a few users, let's say, three.
- 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.
- 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | homeassistant | < 2023.12.3 | 2023.12.3 |
References
- https://github.com/home-assistant/core/security/advisories/GHSA-jqpc-rc7g-vf83
- https://nvd.nist.gov/vuln/detail/CVE-2023-50715
- https://github.com/home-assistant/core/commit/dbfc5ea8f96bde6cd165892f5a6a6f9a65731c76
- https://github.com/home-assistant/core
- https://pypi.org/project/homeassistant
- https://github.com/advisories/GHSA-jqpc-rc7g-vf83
- CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- Weakness (CWE)
CWE-200- Platform
- Python (PyPI)
- Package
homeassistant- Disclosed
- 15.12.2023
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1451 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-jqpc-rc7g-vf83 - CC BY 4.0
Vulnerability history: homeassistant
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 12
- First → latest
- 09.2019 09.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 4
- Medium 4
- Low 2
Disclosures per year
- 2019: 1
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 2
- 2024: 0
- 2025: 3
- 2026: 6
-
User accounts disclosed to unauthenticated actors on the LAN this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.