Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain restore-capable admin access or social-engineer an admin
-
DeliveryDeliver crafted backup tar with absolute-linkname symlink entry
-
ExploitTrigger backup-restore to write file through symlink outside extraction dir
-
ExecutionOverwrite auto-imported Python path (sitecustomize.py) as root
-
PersistInterpreter loads payload, execute code
-
ImpactFull host compromise / persistence
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an attacker-supplied backup tar archive to be processed by the Home Assistant Core backup-restore function - specifically a tar entry of type SYMTYPE (symlink) whose linkname is an absolute path outside the extraction directory, immediately followed by a regular-file entry that gets written through that symlink. Root-level host RCE additionally depends on the deployment running Home Assistant as root, as the official Docker image does; a non-root deployment limits writes to that user's permissions. Limiting factors per CVSS 4.0 PR:H/UI:A: the attacker must hold high privileges (authenticated ability to initiate a restore) and a restore action (active user interaction) must occur, so this is not exploitable against a default install by an unauthenticated remote attacker. |
| Impact | The vendor CVSS 4.0 score is 9.3 (Critical) with vector AV:N/AC:L/AT:N/PR:H/UI:A, and the impact metrics are maximal (VC/VI/VA:H and subsequent-system SC/SI/SA:H reflecting root-level host compromise). The two dampening factors are real: PR:H means the attacker must already hold high privileges (the ability to initiate a backup restore, i.e. an authenticated admin), and UI:A means a restore action must be performed - this is not a drive-by unauthenticated exploit. That combination makes it more of a privilege-escalation / persistence and post-auth full-host-takeover primitive than a mass-exploitable internet worm. No EPSS score, KEV listing, or public POC was provided, so exploitation likelihood is presently unquantified; the high CVSS is driven by impact severity, not by demonstrated widespread exploitation. Net: a genuine priority for exposed or multi-user Home Assistant instances where restore is reachable by lower-trust actors, but the PR:H/UI:A gating means default single-admin home deployments face lower realistic risk than the 9.3 alone suggests. |
| Exploit ScenarioDerived | An attacker with admin access to a Home Assistant instance (or who tricks an administrator into restoring a supplied backup) crafts a malicious backup tar containing an absolute-linkname symlink entry plus a follow-up file entry targeting site-packages/sitecustomize.py. When the backup is restored, the payload file is written through the symlink outside the extraction directory as root, and the attacker's Python code executes at the next interpreter startup, yielding full host code execution. No public exploit was identified at time of analysis, though VulnCheck has published a technical advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 21, 2026
Path-traversal to remote code execution in Home Assistant Core before 2026.6.0 lets an authenticated user who can supply a backup archive overwrite arbitrary files on the host. The backup-restore routine trusts a tar SYMTYPE (symlink) entry whose linkname is an absolute path outside the extraction directory, then writes a following regular-file entry through that unvalidated symlink; because the official Docker image runs the process as root, an attacker can drop code into auto-imported Python paths (e.g. site-packages/sitecustomize.py) and gain code execution. Reported by VulnCheck with a vendor patch available (2026.6.0); no public exploit identified at time of analysis and it is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade to Home Assistant Core 2026.6.0 or later, which corrects the backup-restore symlink handling (fix commit 1e457600f1093c15e1325742d03e2b76498c79c1, PR 172252). Until upgrading, restrict who can trigger a backup restore and never restore backup archives from untrusted or unverified sources, since a crafted archive is the delivery vector. As a hardening compensating control, avoid running the container as root - run Home Assistant under a non-root user or with a read-only root filesystem and dropped capabilities so that a traversal write cannot reach site-packages or system paths (trade-off: some add-ons/integrations may expect root and require adjustment). Refer to the release notes (https://github.com/home-assistant/core/releases/tag/2026.6.0) and the VulnCheck advisory (https://www.vulncheck.com/advisories/home-assistant-core-symlink-path-traversal-rce-via-backup-restore) for details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic CWE-22 path traversal, but realized through symlink abuse in tar extraction rather than simple '../' segments. A malicious backup tar contains two crafted entries: a SYMTYPE (symbolic link) member with a benign-looking name but an absolute linkname pointing outside the intended restore directory, followed by a regular-file member written through that symlink. Home Assistant Core is a Python application (per CPE cpe:2.3:a:home-assistant:home_assistant_core:*) whose official container image runs as root, so file writes are unconstrained by the host filesystem permissions. By targeting auto-imported Python locations such as site-packages/sitecustomize.py (imported automatically at interpreter startup) or custom_components directories, the attacker converts an arbitrary-write primitive into arbitrary code execution the next time the interpreter or integration loads.
Know when Home Assistant gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Restore requires authenticated admin (PR:H) and a restore action (UI:R); root-level write outside the app boundary is a scope change (S:C) yielding full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Articles & Coverage 2
Executive ViewAI
Home Assistant Core versions before 2026.6.0 contain a critical vulnerability allowing authenticated users to achieve remote code execution with root privileges through malicious backup archives. Organizations running Home Assistant in production environments-particularly in Docker deployments-face potential full system compromise enabling lateral movement to connected infrastructure. Immediate patching is required to prevent insider threats and compromised account scenarios from achieving persistent infrastructure control.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Home Assistant
View allhomeassistant is an open source home automation tool. Rated critical severity (CVSS 10.0), this vulnerability is remotel
Stored/DOM cross-site scripting in the Home Assistant frontend Statistics Graph card lets an authenticated user or a mal
Home Assistant Community Store (HACS) 1.10.0 contains a path traversal vulnerability that allows unauthenticated attacke
Home assistant is an open source home automation. Rated critical severity (CVSS 9.6), this vulnerability is remotely exp
Home assistant is an open source home automation. Rated critical severity (CVSS 9.6), this vulnerability is remotely exp
Home Assistant before 2021.1.3 does not have a protection layer that can help to prevent directory-traversal attacks aga
Arbitrary file write in Home Assistant Core before 2026.6.0 lets unauthenticated attackers plant attacker-controlled fil
Home assistant is an open source home automation. Rated critical severity (CVSS 9.0), this vulnerability is remotely exp
The Home Assistant Companion for iOS and macOS app up to version 2023.4 are vulnerable to Client-Side Request Forgery. R
Stored cross-site scripting in the Home Assistant Energy dashboard (versions 2025.1.0 through 2025.10.1) lets an authent
Cross-origin JavaScript injection in Home Assistant Companion apps for Android (before 2026.4.4) and iOS (before 2026.4.
Home Assistant is open source home automation software. Rated medium severity (CVSS 4.3), this vulnerability is no authe
EUVD-2026-46300
GHSA-cwh8-w64c-4j5h
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB