Home Assistant Core < 2026.7.0 Symlink Path Traversal RCE via backup-restore
home-assistant Home Assistant Core
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| praisonai PyPI |
|
|
Original 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.
From the CVE record · VulnCheck