CVE-2026-64825Home Assistant Core < 2026.6.0 Path Traversal File Write via Backup Upload
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.
What to do
Fixed builds are available from PyPI: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| PyPI library | homeassistant | Fixed | 2026.6.0 | GHSA-5hxg-r395-fqxx |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- home-assistant Home Assistant Core: affected: before 2026.6.0; fixed in
2026.6.0
Vendor advisories:
- https://github.com/home-assistant/core/releases/tag/2026.6.0 (release-notes)
- https://github.com/home-assistant/core/pull/172368 (patch)
- https://github.com/home-assistant/core/commit/567fe858289876b68b8162a77bd46e1e1af79752 (patch)
References
- https://github.com/home-assistant/core/releases/tag/2026.6.0
- https://github.com/home-assistant/core/pull/172368
- https://github.com/home-assistant/core/commit/567fe858289876b68b8162a77bd46e1e1af79752
- https://www.vulncheck.com/advisories/home-assistant-core-path-traversal-file-write-via-backup-upload
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.