# CVE-2023-44385: Client-Side Request Forgery in Home Assistant iOS/macOS native Apps

> Attackers can trick users into visiting malicious links to trigger arbitrary service calls, potentially leading to remote code execution.

- **Severity:** High 8.6 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 19 Oct 2023
- **Updated:** 12 Sep 2024
- **Also known as:** GHSA-h2jp-7grc-9xpp

## What is CVE-2023-44385?

CVE-2023-44385 is a high-severity vulnerability in home-assistant core, published on 19 Oct 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

The Home Assistant Companion for iOS and macOS app up to version 2023.4 are vulnerable to Client-Side Request Forgery. Attackers may send malicious links/QRs to victims that, when visited, will make the victim to call arbitrary services in their Home Assistant installation. Combined with this security advisory, may result in full compromise and remote code execution (RCE). Version 2023.7 addresses this issue and all users are advised to upgrade. There are no known workarounds for this vulnerability. This issue is also tracked as GitHub Security Lab (GHSL) Vulnerability Report: GHSL-2023-161.

Weakness: CWE-352 (Cross-Site Request Forgery)

## Which versions are affected by CVE-2023-44385?

It affects 1 product.


Products: Home-Assistant Home Assistant Companion.

## How do I fix CVE-2023-44385?

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

## Is CVE-2023-44385 being exploited?

There is no known exploitation of CVE-2023-44385 in the wild and no public exploit code.

## Other vulnerabilities in home-assistant core

- [CVE-2023-41898](https://insights.sbomify.com/CVE-2023-41898/): Arbitrary URL load in Android WebView in `MyActivity.kt` in Home Assistant Companion for Android (high 8.6)
- [CVE-2026-54318](https://insights.sbomify.com/CVE-2026-54318/): Home Assistant: Exported BroadcastReceiver allows local apps to spoof device location (high 7.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-44385 and fix it if it is affected.

What it is: CVE-2023-44385 is a high-severity vulnerability in home-assistant core, published on 19 Oct 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2023-44385 in the wild and no public exploit code.

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-2023-44385/ (Markdown: https://insights.sbomify.com/CVE-2023-44385/index.md)
```

## Sources

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

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