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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
home-assistant Home Assistant Core
Default version status: affected
0 to < 2026.7.0affected
pkg:github/home-assistant/coreReferences
- https://github.com/home-assistant/core/releases/tag/2026.7.0 ↗
- https://github.com/home-assistant/core/pull/172252 ↗
- https://github.com/home-assistant/core/commit/1e457600f1093c15e1325742d03e2b76498c79c1 ↗
- https://www.vulncheck.com/advisories/home-assistant-core-symlink-path-traversal-rce-via-backup-restore ↗
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-78r8-wwqv-r299 ↗