Home Assistant Core vulnerable to Path Traversal via backup upload during onboarding
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | homeassistant | < 2026.6.0 | 2026.6.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-64825
- https://github.com/home-assistant/core/pull/172368
- https://github.com/home-assistant/core/commit/567fe858289876b68b8162a77bd46e1e1af79752
- https://github.com/home-assistant/core
- 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
- https://pypi.org/project/homeassistant
- https://github.com/advisories/GHSA-5hxg-r395-fqxx
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L- Weakness (CWE)
CWE-22- Platform
- Python (PyPI)
- Package
homeassistant- Disclosed
- 21.07.2026
- Updated
- 11.10.2026 14:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-3669 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-5hxg-r395-fqxx - CC BY 4.0
Vulnerability history: homeassistant
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 12
- First → latest
- 09.2019 09.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 4
- Medium 4
- Low 2
Disclosures per year
- 2019: 1
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 2
- 2024: 0
- 2025: 3
- 2026: 6
-
Home Assistant Core vulnerable to Path Traversal via backup upload during onboarding this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.