Original 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 software
- Home Assistant < 2026.6.0 Fixed in: 2026.6.0 repository or package match
Details
- Published
- 2026-07-22
- Last modified
- 2026-11-08
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L- CWE
- CWE-22
- EPSS (30-day exploit probability)
- 0.58% (percentile 48)
References
- cve.org/CVE-2026-64825
- nvd.nist.gov/vuln/detail/CVE-2026-64825
- github.com/home-assistant/core/releases/tag/2026.6.0
- github.com/home-assistant/core/pull/172368
- github.com/home-assistant/core/commit/567fe858289876b68b8162a77bd46e1e1af79752
- www.vulncheck.com/advisories/home-assistant-core-path-traversal-file-write-via-backup-uplo...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.