{"cve":"CVE-2023-41893","nvd":{"published":"2023-10-20T00:15:16.017","modified":"2026-06-17T06:23:01.270","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4},"cwes":["CWE-200"],"references":["https://github.com/home-assistant/core/security/advisories/GHSA-qhhj-7hrc-gqj5","https://www.home-assistant.io/blog/2023/10/19/security-audits-of-home-assistant/","https://github.com/home-assistant/core/security/advisories/GHSA-qhhj-7hrc-gqj5","https://www.home-assistant.io/blog/2023/10/19/security-audits-of-home-assistant/"],"products":["home-assistant:home-assistant"],"source":"nvd","synced_at":"2026-10-19T21:40:11.519948003+00:00"},"epss":{"cve":"CVE-2023-41893","score":0.00452,"percentile":0.39255,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qhhj-7hrc-gqj5","url":"https://osv.dev/vulnerability/GHSA-qhhj-7hrc-gqj5","summary":"Home Assistant vulnerable to account takeover via auth_callback login","modified":"2026-09-10T03:50:03.983248027Z","packages":[{"ecosystem":"PyPI","name":"homeassistant","purl":"pkg:pypi/homeassistant","ranges":["<2023.9.0"],"fixed":["2023.9.0"]}]},{"id":"PYSEC-2023-214","url":"https://osv.dev/vulnerability/PYSEC-2023-214","summary":"","modified":"2023-11-08T04:13:27.136730Z","packages":[{"ecosystem":"PyPI","name":"homeassistant","purl":"pkg:pypi/homeassistant","ranges":["<2023.9.0"],"fixed":["2023.9.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}