What’s Vulnerable › Vulnerabilities
CVE-2026-64825: Home Assistant Core < 2026.6.0 Path Traversal File Write via Backup Upload
- Severity: critical (CVSS 9.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-21 · updated 2026-10-24
- Weakness: CWE-22
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 products
- home-assistant Home Assistant Core: before 2026.6.0 — fixed in 2026.6.0
How to fix
Upgrade to a fixed version: home-assistant Home Assistant Core 2026.6.0. Check the vendor advisory for mitigations.
References
- https://github.com/home-assistant/core/commit/567fe858289876b68b8162a77bd46e1e1af79752
- https://github.com/home-assistant/core/pull/172368
- https://github.com/home-assistant/core/releases/tag/2026.6.0
- https://www.vulncheck.com/advisories/home-assistant-core-path-traversal-file-write-via-backup-upload
Get alerted when CVE-2026-64825 or the next vulnerability affects your stack