CVE Catalog

CVE-2026-64823

MediumCVSS 4.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

8th percentile - higher than 8% of all known CVEs

Summary

Home Assistant Core before 2026.5.4 contains a cross-site scripting vulnerability in the Shelly integration's `async_get_media_image()` method. Attackers controlling a Shelly device's thumb field can serve arbitrary HTML content via a data URI with `text/html` content type without validation against an image-only allowlist. This enables theft of session tokens and authenticated calls to sensitive endpoints like locks, alarms, and covers.

Risk Assessment

An attacker can steal Home Assistant user session tokens and perform unauthorized actions such as unlocking locks, disabling alarms, or controlling covers, posing a serious risk to physical security and data.

Recommendation

Upgrade Home Assistant Core to version 2026.5.4 or later, which contains the fix.

Other vulnerabilities in Home Assistant Core

See all
Original NVD description (English source)

Home Assistant Core before 2026.5.4 contains a cross-site scripting vulnerability in the Shelly integration's async_get_media_image() method that allows attackers controlling a Shelly device's thumb field to serve arbitrary HTML content by supplying a data URI with a text/html content type without validation against an image-only allowlist. Attackers can cause the media player proxy endpoint to serve attacker-controlled bytes with Content-Type text/html in the Home Assistant web origin, enabling theft of session tokens from local storage and authenticated calls to sensitive service endpoints including lock, alarm, and cover controls.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS