Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| home-assistant / Home Assistant Core | affected 0 before 2026.7.0 |
CWE
CWE-22
References
- 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
ADP enrichment
No English description supplied.