CVE-2026-64824: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in home-assistant Home Assistant Core
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.
AI Analysis
Technical Summary
CVE-2026-64824 is a path traversal vulnerability in Home Assistant Core before version 2026.6.0. The vulnerability arises from improper validation of symbolic links in the backup-restore tar extraction process. An attacker can supply a tar archive containing a SYMTYPE entry with an absolute linkname outside the extraction directory. When the archive is extracted, the subsequent file entry is written through this unvalidated symlink, allowing arbitrary files to be overwritten anywhere on the filesystem. Since the official Docker container runs the Home Assistant process as root, this can be exploited to achieve remote code execution by overwriting auto-imported Python files such as site-packages/sitecustomize.py or directories for custom components.
Potential Impact
Successful exploitation allows an attacker with access to the backup-restore function to write arbitrary files anywhere on the filesystem with root privileges in the official Docker environment. This can lead to remote code execution by overwriting critical Python import paths or custom component directories, potentially compromising the entire Home Assistant instance and underlying host system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the backup-restore functionality to trusted users only and avoid running Home Assistant Core with root privileges in Docker containers if possible.
CVE-2026-64824: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in home-assistant Home Assistant Core
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.
CVSS v4.0
Score 9.3critical
Affected software
pkg:github/Home Assistant CoreRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-64824 is a path traversal vulnerability in Home Assistant Core before version 2026.6.0. The vulnerability arises from improper validation of symbolic links in the backup-restore tar extraction process. An attacker can supply a tar archive containing a SYMTYPE entry with an absolute linkname outside the extraction directory. When the archive is extracted, the subsequent file entry is written through this unvalidated symlink, allowing arbitrary files to be overwritten anywhere on the filesystem. Since the official Docker container runs the Home Assistant process as root, this can be exploited to achieve remote code execution by overwriting auto-imported Python files such as site-packages/sitecustomize.py or directories for custom components.
Potential Impact
Successful exploitation allows an attacker with access to the backup-restore function to write arbitrary files anywhere on the filesystem with root privileges in the official Docker environment. This can lead to remote code execution by overwriting critical Python import paths or custom component directories, potentially compromising the entire Home Assistant instance and underlying host system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the backup-restore functionality to trusted users only and avoid running Home Assistant Core with root privileges in Docker containers if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-20T18:27:48.160Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5f96f32a4a8d59895fb325
Added to database: 07/21/2026, 15:57:39 UTC
Last enriched: 07/21/2026, 16:11:49 UTC
Last updated: 07/21/2026, 19:42:45 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.