CVE-2026-64824

Home Assistant Core < 2026.7.0 Symlink Path Traversal RCE via backup-restore

Published Jul 21, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
Home Assistant Core before 2026.7.0 contains a path traversal vulnerability in the backup-restore function that allows attackers to write files to arbitrary absolute filesystem paths by supplying a crafted tar archive with a SYMTYPE entry containing a benign member name paired with an absolute linkname pointing outside the extraction directory. Because the official Docker image runs the Home Assistant process as root and the subsequent regular-file entry is written through the unvalidated symlink, attackers can achieve remote code execution by overwriting auto-imported Python paths such as site-packages/sitecustomize.py or custom component directories.

Analysis

AI-generated

Technical impact

Home Assistant Core before 2026.7.0 contains a path‑traversal flaw in its backup‑restore function. An attacker who can supply a crafted tar archive can create a symbolic link whose linkname points to an arbitrary absolute filesystem path. Because the Docker image runs the Home Assistant process as root and the unvalidated symlink is followed during extraction, the attacker can overwrite critical files such as site‑packages/sitecustomize.py or files in custom component directories that the Python interpreter loads when the service starts. This flaw is a classic CWE‑22 weakness and provides an attacker with the ability to execute arbitrary code with system privileges. Affected systems are deployments of Home Assistant Core produced by home‑assistant under the vendor name Home Assistant Core. All releases older than 2026.7.0 are vulnerable; the issue is specifically tied to the Docker image where the process runs as root. The vulnerability emerges when a backup archive is restored, either manually or automatically, using the built‑in restore functionality. The CVSS score of 9.3 reflects the high impact and full privilege escalation potential. The EPSS score is below 1%, indicating that exploitation is currently considered unlikely but not impossible. The vulnerability is not listed in CISA’s KEV catalog. The most probable attack vector relies on an actor who has access to the backup‑restore feature—typically a trusted administrator or a user with sufficient privileges—to supply a malicious archive that triggers the symlink traversal during restoration. Successful exploitation results in remote code execution with root privileges on the host running the Docker container.

Affected Systems

Affected systems are deployments of Home Assistant Core produced by home‑assistant under the vendor name Home Assistant Core. All releases older than 2026.7.0 are vulnerable; the issue is specifically tied to the Docker image where the process runs as root. The vulnerability emerges when a backup archive is restored, either manually or automatically, using the built‑in restore functionality.

Risk and Exploitability

The CVSS score of 9.3 reflects the high impact and full privilege escalation potential. The EPSS score is below 1%, indicating that exploitation is currently considered unlikely but not impossible. The vulnerability is not listed in CISA’s KEV catalog. The most probable attack vector relies on an actor who has access to the backup‑restore feature—typically a trusted administrator or a user with sufficient privileges—to supply a malicious archive that triggers the symlink traversal during restoration. Successful exploitation results in remote code execution with root privileges on the host running the Docker container.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Home Assistant Core to version 2026.7.0 or later, which removes the symlink handling flaw.
  • If an upgrade cannot be performed immediately, limit the backup‑restore feature so that only trusted administrators can perform restores and validate tar archives to reject entries that contain symlinks pointing outside the extraction directory.
  • Run the Home Assistant Docker container with a non‑root user or apply container security profiles to reduce the impact of any retained vulnerability until a fixed release is available.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:home-assistant:home-assistant:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Home-assistant
Home-assistant home-assistant
Vendors & Products Home-assistant
Home-assistant home-assistant
Type Values Removed Values Added
Description Home Assistant Core before 2026.6.0 contains a path traversal vulnerability in the backup-restore function that allows attackers to write files to arbitrary absolute filesystem paths by supplying a crafted tar archive with a SYMTYPE entry containing a benign member name paired with an absolute linkname pointing outside the extraction directory. Because the official Docker image runs the Home Assistant process as root and the subsequent regular-file entry is written through the unvalidated symlink, attackers can achieve remote code execution by overwriting auto-imported Python paths such as site-packages/sitecustomize.py or custom component directories. Home Assistant Core before 2026.7.0 contains a path traversal vulnerability in the backup-restore function that allows attackers to write files to arbitrary absolute filesystem paths by supplying a crafted tar archive with a SYMTYPE entry containing a benign member name paired with an absolute linkname pointing outside the extraction directory. Because the official Docker image runs the Home Assistant process as root and the subsequent regular-file entry is written through the unvalidated symlink, attackers can achieve remote code execution by overwriting auto-imported Python paths such as site-packages/sitecustomize.py or custom component directories.
Title Home Assistant Core < 2026.6.0 Symlink Path Traversal RCE via backup-restore Home Assistant Core < 2026.7.0 Symlink Path Traversal RCE via backup-restore
References
Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Home Assistant Core before 2026.6.0 contains a path traversal vulnerability in the backup-restore function that allows attackers to write files to arbitrary absolute filesystem paths by supplying a crafted tar archive with a SYMTYPE entry containing a benign member name paired with an absolute linkname pointing outside the extraction directory. Because the official Docker image runs the Home Assistant process as root and the subsequent regular-file entry is written through the unvalidated symlink, attackers can achieve remote code execution by overwriting auto-imported Python paths such as site-packages/sitecustomize.py or custom component directories.
Title Home Assistant Core < 2026.6.0 Symlink Path Traversal RCE via backup-restore
Weaknesses CWE-22
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:08 PM
Reserved
Jul 20, 2026, 6:27 PM
Status
Deferred
Published
Jul 21, 2026, 4:17 PM
Modified
Oct 24, 2026, 7:10 PM