Vulnerability · Published Jul 21, 2026 · Assigned by VulnCheck

CVE-2026-64825Home Assistant Core < 2026.6.0 Path Traversal File Write via Backup Upload

Critical 9.3

In plain English

A critical-severity path traversal in Home Assistant Core from home-assistant. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.3Critical
Exploit odds (30 days)0.6%top 52.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Home Assistant Core before 2026.6.0 contains a path traversal vulnerability that allows unauthenticated attackers to write arbitrary files to any directory on the host filesystem by uploading a crafted backup archive during the initial onboarding window. Attackers can manipulate the 'name' field inside the uploaded archive's backup.json to supply an absolute path, causing pathlib.Path.__truediv__ to discard the configured backup directory prefix and write attacker-controlled content to arbitrary locations, with full filesystem access when the process runs as root.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIhomeassistant2026.6.0GHSA-5hxg-r395-fqxx
PyPIhomeassistant2026.6.0PYSEC-2026-3669

Affected products (as reported)

VendorProductVersions
home-assistant Home Assistant Core 0 – before 2026.6.0

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L

References