# CVE-2026-59717: Home Assistant Companion: `homeassistant://invite` Deep Link Credential Phishing

> Attackers can phish credentials by redirecting users to malicious login pages via deep links in the Home Assistant Android app.

- **Severity:** Medium 4.3 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 7 Aug 2026
- **Updated:** 7 Aug 2026
- **Also known as:** GHSA-68f4-97mf-f68w

## What is CVE-2026-59717?

CVE-2026-59717 is a medium-severity vulnerability in home-assistant core, published on 7 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

Home Assistant is open source home automation software focused on local control and privacy. Prior to 2026.6.1, the Android Companion app is vulnerable to an open redirect. The app passes the URL fragment from a homeassistant://invite deep link into the onboarding flow without ever displaying the destination hostname. Because no screen in the invitation or onboarding flow shows the parsed server URL before onboarding commits to it, a victim has no way to distinguish a legitimate invite from a malicious one. An attacker can craft an invite so that a single tap on the legitimate-looking "Connect to my Home Assistant server" button opens their /auth/authorize endpoint in the URL-less onboarding WebView, presenting a look-alike login page that captures the victim's credentials. Since invitations are intended to onboard brand-new users, targets are especially unlikely to notice the substitution. This issue is fixed in version 2026.6.1.

Weakness: CWE-939 (Improper Authorization in Handler for Custom URL Scheme), CWE-601 (URL Redirection to Untrusted Site)

## Which versions are affected by CVE-2026-59717?


## How do I fix CVE-2026-59717?

No fix has been published for CVE-2026-59717 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-59717 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59717 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-59717 and fix it if it is affected.

What it is: CVE-2026-59717 is a medium-severity vulnerability in home-assistant core, published on 7 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59717 exists.

Affected product: home-assistant core. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-59717/ (Markdown: https://insights.sbomify.com/CVE-2026-59717/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-59717
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-59717
- OSV: https://osv.dev/vulnerability/CVE-2026-59717

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-59717/
Summaries are generated and may contain mistakes; the official description above is the record.
