Quick answers
- Is CVE-2026-64823 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-64823 being exploited in the wild.
- How severe is CVE-2026-64823?
- Medium severity, with a CVSS score of 4.7, published 21 July 2026.
- Which products and versions are affected?
- Home Assistant Core before 2026.5.4.
- Is there a fix for CVE-2026-64823?
- A patch was published on 2026-05-20: Fix committed to core repository Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-64823 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-64823?
- Check whether you run Home Assistant Core at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A stored Cross-Site Scripting (XSS) vulnerability exists in Home Assistant Core's Shelly integration within the `async_get_media_image()` method. The vulnerability arises because the media player proxy endpoint fails to validate the MIME type of data URIs provided in a device's 'thumb' field against an image-only allowlist. By supplying a data URI with a `text/html` content type, an attacker can cause the Home Assistant web origin to serve attacker-controlled HTML/JavaScript. This allows for the execution of malicious scripts in the context of an authenticated user's session, potentially leading to the theft of session tokens from local storage and the ability to make authenticated REST API calls to sensitive components like locks and alarms. The issue is fixed in version 2026.5.4 by implementing strict MIME type validation.
Affected products
- Home Assistant Home Assistant Core before 2026.5.4
Timeline
- 2026-05-20: patched: Fix committed to core repository
- 2026-05-22: advisory: Release 2026.5.4 published
- 2026-07-21: disclosed: CVE published to NVD