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.
Published: 2026-07-21
Score: 9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Home Assistant Core before 2026.6.0 is vulnerable to a path traversal flaw that permits an unauthenticated attacker to upload a deliberately crafted backup archive during the initial onboarding period. By inserting an absolute path in the ‘name’ field of the backup.json embedded in the archive, the system resolves the path in a way that discards the intended backup directory prefix, causing the backup process to write arbitrary files to any location on the host filesystem. If the Home Assistant process runs as root, this results in full control over the underlying system.

Affected Systems

The vulnerability affects all installations of Home Assistant Core with a version older than 2026.6.0 that allow backup uploads during onboarding. Any environment where the Home Assistant process executes with elevated privileges is at risk, regardless of the specific hardware or operating system being used.

Risk and Exploitability

The CVSS score of 9 indicates very high severity, while the EPSS score of < 1 % suggests a low current worldwide exploitation probability, and the issue is not listed in CISA KEV. However, the flaw requires no authentication, is available during the public onboarding window, and allows arbitrary file writing; an attacker could therefore upload malicious content from any network the instance is reachable on. The resulting arbitrary file write provides a pathway to execute code or modify critical configuration files, leading to complete system compromise if the process runs as root.

Generated by OpenCVE AI on July 30, 2026 at 17:11 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Home Assistant Core to version 2026.6.0 or later, which removes the path traversal in backup uploads.
  • If an immediate upgrade is not possible, block or disable the backup upload endpoint for unauthenticated users while the system remains below 2026.6.0, or otherwise restrict access to the onboarding interface until the patch is applied.
  • After upgrading, run the Home Assistant process as a non‑privileged user to limit the potential impact of any future file‑write vulnerabilities.

Generated by OpenCVE AI on July 30, 2026 at 17:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:home-assistant:home-assistant:*:*:*:*:*:*:*:*

Mon, 27 Jul 2026 23:30:00 +0000

Type Values Removed Values Added
First Time appeared Home-assistant
Home-assistant home-assistant
Vendors & Products Home-assistant
Home-assistant home-assistant

Tue, 21 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 16:00:00 +0000

Type Values Removed Values Added
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.
Title Home Assistant Core < 2026.6.0 Path Traversal File Write via Backup Upload
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L'}

cvssV4_0

{'score': 9, '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'}


Subscriptions

Home-assistant Home-assistant
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:06:00.415Z

Reserved: 2026-07-20T18:27:48.160Z

Link: CVE-2026-64825

cve-icon Vulnrichment

Updated: 2026-07-21T17:08:59.927Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T17:15:12Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')