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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | homeassistant | 2026.6.0 | GHSA-5hxg-r395-fqxx |
| PyPI | homeassistant | 2026.6.0 | PYSEC-2026-3669 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- Release Notes release-notes
- Pull Request issue-tracking
- Patch Commit patch
- https://www.vulncheck.com/advisories/home-assistant-core-path-traversal-file-write-via-backup-upload third-party-advisory