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

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.

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

Remediation

No vendor fix or workaround currently provided.

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 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 17:45:00 +0000

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

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

Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, '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 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'}


Subscriptions

Home-assistant Home-assistant
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:05:57.907Z

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

Link: CVE-2026-64824

cve-icon Vulnrichment

Updated: 2026-07-21T16:36:10.970Z

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')