{"id":"CVE-2026-64825","aliases":["GHSA-5hxg-r395-fqxx"],"title":"Home Assistant Core vulnerable to Path Traversal via backup upload during onboarding","summary":"Home Assistant Core vulnerable to Path Traversal via backup upload during onboarding","severity":"critical","cvss":9.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L","vendor":"homeassistant","product":"homeassistant","ecosystem":"pip","affected":["homeassistant < 2026.6.0"],"patched":["homeassistant 2026.6.0"],"published":"2026-07-21","updated":"2026-08-13","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-5hxg-r395-fqxx","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64825"},{"url":"https://github.com/home-assistant/core/pull/172368"},{"url":"https://github.com/home-assistant/core/commit/567fe858289876b68b8162a77bd46e1e1af79752"},{"url":"https://github.com/home-assistant/core"},{"url":"https://github.com/home-assistant/core/releases/tag/2026.6.0"},{"url":"https://www.vulncheck.com/advisories/home-assistant-core-path-traversal-file-write-via-backup-upload"}],"tags":["osv","pip"],"epss":0.0058,"epssPercentile":0.46386,"ingestedAt":"2026-08-14T19:18:45.388Z","slug":"CVE-2026-64825","body":"## Overview\n\nHome 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.\n\n## Affected packages\n\n- `homeassistant < 2026.6.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `homeassistant 2026.6.0`","depth":"midnight","depthScore":51,"depthScoreParts":{"impact":51.2,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}