GitHub Advisoryadvisory · PyPI

GHSA-5hxg-r395-fqxx Home Assistant Core vulnerable to Path Traversal via backup upload during onboarding

CRITICAL Published 2026-07-21 Modified 2026-08-13 Official page ↗
Aliases
CVE-2026-64825
Ecosystem
PyPI
Packages
homeassistant
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
Weaknesses
CWE-22
Reviewed
2026-08-13

Affected packages

• PyPI homeassistant: < 2026.6.0 → fixed in 2026.6.0

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.

Related

Alias · CVE (1)

  • CVE-2026-64825 Home Assistant Core before 2026.6.0 contains a path traversal vulnerability that allows unauthenticated attackers to write arbitrary files… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References