CVE-2026-64825: Home Assistant Core < 2026.6.0 Path Traversal File Write via Backup Upload
Home Assistant Core before 2026.6.0 contains a path traversal vulnerability that allows unauthenticated attackers to write arbitrary files to any directory on the host filesystem by uploading a crafted backup archive during the initial onboarding window. Attackers can manipulate the 'name' field inside the uploaded archive's backup.json to supply an absolute path, causing pathlib.Path.__truediv__ to discard the configured backup directory prefix and write attacker-controlled content to arbitrary locations, with full filesystem access when the process runs as root.
Security readout for executives and security teams
Plain-English summary
During Home Assistant’s initial setup, an internet-reachable attacker could upload a malicious backup that writes files outside the intended backup folder. This can alter the host, disrupt service, and become especially serious when Home Assistant runs as root. Versions before 2026.6.0 are affected.
Executive priority
Prioritize immediate remediation for pre-2026.6.0 systems that are onboarding, newly deployed, or reachable from untrusted networks. The unauthenticated arbitrary-write capability creates substantial integrity and availability risk, especially under root. Also investigate potentially exposed onboarding periods, while avoiding claims of compromise without supporting evidence.
Technical view
The backup upload path trusts the archive’s backup.json name field. An absolute path causes pathlib path joining to discard the configured backup-directory prefix, enabling unauthenticated arbitrary file writes during onboarding. Write scope follows process permissions; a root process provides full filesystem access. The issue is classified as CWE-22 with CVSS 9.3.
Likely exposure
Exposure requires Home Assistant Core before 2026.6.0 to be in its initial onboarding window with the backup-upload interface reachable by an attacker. Internet-exposed or untrusted-network deployments are the principal concern. Completed onboarding may reduce immediate reachability, but the supplied evidence does not establish whether other states expose the same path.
Exploitation context
The attack is remote, low complexity, unauthenticated, and requires no user interaction, but depends on the onboarding window. The supplied bundle marks this CVE as absent from KEV and provides no cited evidence of active exploitation. Treat practical exploitation status as unconfirmed.
Researcher notes
The security boundary failure occurs when an attacker-controlled absolute name is combined with the backup directory using pathlib.Path.__truediv__. Absolute-path semantics replace the intended prefix rather than remaining beneath it. The supplied materials identify a patch commit and pull request, but do not provide evidence of exploitation in the wild or documented compromise indicators.
Mitigation direction
Upgrade Home Assistant Core to version 2026.6.0 or later.
Restrict onboarding access to trusted networks until the upgrade is complete.
Avoid running Home Assistant with root filesystem privileges where deployment architecture permits.
Check current Home Assistant vendor guidance for any additional containment recommendations.
Validation and detection
Confirm the installed Home Assistant Core version is 2026.6.0 or later.
Determine whether onboarding or backup restoration was exposed to untrusted networks.
Review onboarding-period backup upload activity for unexpected or unrecognized archives.
Inspect the host for unexpected file creation or modification during the exposure window.
Verify the Home Assistant process account and its effective filesystem permissions.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-22: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-22 · source CWE mapping
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.