homeassistant

CVE-2023-50715

CVE-2023-50715 is a medium-severity security vulnerability in homeassistant (pip), affecting versions < 2023.12.3. It is fixed in 2023.12.3.

Key facts
CVSS score
4.3
Medium
Attack vector
Adjacent
Issuing authority
GitHub Advisory Database
Affected package
homeassistant
Fixed in
2023.12.3
Disclosed
2023

Summary

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.

Impact

Severity and exposure

CVE-2023-50715 has a CVSS score of 4.3 (Medium). The vector is reachable from an adjacent network, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.

A fixed version is available (2023.12.3). Upgrading removes the vulnerable code path.

Affected versions

pip

  • homeassistant (< 2023.12.3)

Security releases

  • homeassistant → 2023.12.3 (pip)
Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.

Kodem's runtime-powered SCA identifies whether CVE-2023-50715 is reachable in your applications. Explore open-source security for your team.

See if CVE-2023-50715 is reachable in your applications. Get a demo

Remediation advice

Upgrade homeassistant to 2023.12.3 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently asked questions about CVE-2023-50715

What is CVE-2023-50715?

CVE-2023-50715 is a medium-severity security vulnerability in homeassistant (pip), affecting versions < 2023.12.3. It is fixed in 2023.12.3.

How severe is CVE-2023-50715?

CVE-2023-50715 has a CVSS score of 4.3 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.

Which versions of homeassistant are affected by CVE-2023-50715?

homeassistant (pip) versions < 2023.12.3 is affected.

Is there a fix for CVE-2023-50715?

Yes. CVE-2023-50715 is fixed in 2023.12.3. Upgrade to this version or later.

Is CVE-2023-50715 exploitable, and should I be worried?

Whether CVE-2023-50715 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo

What actually determines whether CVE-2023-50715 is exploitable, and how bad it is?

Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.

How do I fix CVE-2023-50715?

Upgrade homeassistant to 2023.12.3 or later.

Stop the waste.
Protect your environment with Kodem.