CVE-2026-64825 Details
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.
A path traversal vulnerability has been identified in Home Assistant Core versions prior to 2026.6.0. This vulnerability allows unauthenticated attackers to write arbitrary files to any directory on the host filesystem. The issue arises during the initial onboarding window, when a crafted backup archive can be uploaded. Attackers can manipulate the 'name' field in the backup's 'backup.json' file to include an absolute path, bypassing the designated backup directory and potentially writing to sensitive locations. This vulnerability is particularly critical when the Home Assistant process has root privileges.
Users can update to Home Assistant Core version 2026.6.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 21, 2026CISA-ADP
Assessed Jul 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/home-assistant/core/commit/567fe858289876b68b8162a77bd46e1e1af79752 | [email protected] | Source CodeVendor |
| https://github.com/home-assistant/core/pull/172368 | [email protected] | Issue TrackingVendor |
| https://github.com/home-assistant/core/releases/tag/2026.6.0 | [email protected] | Release NotesVendor |
| https://www.vulncheck.com/advisories/home-assistant-core-path-traversal-file-write-via-backup-upload | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Home Assistant | < 2026.6.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 21, 2026 | CVE Modified | CISA-ADP |
| Jul 21, 2026 | New CVE Received | [email protected] |
Volerion