# CVE-2023-41893: Account takeover via auth_callback login in Home Assistant Core

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2023-10-19T23:27:09.318Z
- Modified: 2026-09-10T03:50:03.983Z
- Also known as: GHSA-qhhj-7hrc-gqj5, PYSEC-2023-214
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Home assistant is an open source home automation. The audit team’s analyses confirmed that the `redirect_uri` and `client_id` are alterable when logging in. Consequently, the code parameter utilized to fetch the `access_token` post-authentication will be sent to the URL specified in the aforementioned parameters. Since an arbitrary URL is permitted and `homeassistant.local` represents the preferred, default domain likely used and trusted by many users, an attacker could leverage this weakness to manipulate a user and retrieve account access. Notably, this attack strategy is plausible if the victim has exposed their Home Assistant to the Internet, since after acquiring the victim’s `access_token` the adversary would need to utilize it directly towards the instance to achieve any pertinent malicious actions. To achieve this compromise attempt, the attacker must send a link with a `redirect_uri` that they control to the victim’s own Home Assistant instance. In the eventuality the victim authenticates via said link, the attacker would obtain code sent to the specified URL in `redirect_uri`, which can then be leveraged to fetch an `access_token`. Pertinently, an attacker could increase the efficacy of this strategy by registering a near identical domain to `homeassistant.local`, which at first glance may appear legitimate and thereby obfuscate any malicious intentions. This issue has been addressed in version 2023.9.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- home-assistant core: < 2023.9.0
- homeassistant (PyPI): before 2023.9.0
- home-assistant home-assistant: before 2023.9.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/home-assistant/core/security/advisories/GHSA-qhhj-7hrc-gqj5> (advisory, vendor-advisory, web)
- <https://www.home-assistant.io/blog/2023/10/19/security-audits-of-home-assistant/> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-41893> (advisory)
- <https://github.com/home-assistant/core> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/homeassistant/PYSEC-2023-214.yaml> (web)
- <https://www.home-assistant.io/blog/2023/10/19/security-audits-of-home-assistant> (web)

## Sources

- CVE List: [CVE-2023-41893](https://www.cve.org/CVERecord?id=CVE-2023-41893), CVE Terms of Use, modified 2024-09-12
- GitHub Advisory Database: [GHSA-qhhj-7hrc-gqj5](https://github.com/advisories/GHSA-qhhj-7hrc-gqj5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-41893](https://nvd.nist.gov/vuln/detail/CVE-2023-41893), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-214](https://osv.dev/vulnerability/PYSEC-2023-214), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2023-41893 · Whole record: https://cve.day/CVE-2023-41893.json · Rebuilt by cve.day 2026-11-25T22:58:28.958Z
