CVE-2026-64825: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in home-assistant Home Assistant Core
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.
AI Analysis
Technical Summary
CVE-2026-64825 is a path traversal vulnerability in Home Assistant Core before version 2026.6.0. It allows unauthenticated attackers to upload a malicious backup archive during the initial onboarding phase. By manipulating the 'name' field in the backup.json file within the archive to include an absolute path, the vulnerability causes the pathlib.Path.__truediv__ method to ignore the intended backup directory prefix. This results in arbitrary file writes to any location on the host filesystem, potentially leading to full system compromise if the process runs as root.
Potential Impact
An attacker can write arbitrary files to any directory on the host filesystem without authentication. This can lead to arbitrary code execution, system compromise, or persistent backdoors, especially if Home Assistant Core runs with root privileges. The vulnerability is exploitable during the initial onboarding window, increasing risk during setup.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the initial onboarding interface to trusted networks and users. Avoid running Home Assistant Core with root privileges to limit potential impact.
CVE-2026-64825: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in home-assistant Home Assistant Core
Description
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.
CVSS v4.0
Score 9.0critical
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-64825 is a path traversal vulnerability in Home Assistant Core before version 2026.6.0. It allows unauthenticated attackers to upload a malicious backup archive during the initial onboarding phase. By manipulating the 'name' field in the backup.json file within the archive to include an absolute path, the vulnerability causes the pathlib.Path.__truediv__ method to ignore the intended backup directory prefix. This results in arbitrary file writes to any location on the host filesystem, potentially leading to full system compromise if the process runs as root.
Potential Impact
An attacker can write arbitrary files to any directory on the host filesystem without authentication. This can lead to arbitrary code execution, system compromise, or persistent backdoors, especially if Home Assistant Core runs with root privileges. The vulnerability is exploitable during the initial onboarding window, increasing risk during setup.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the initial onboarding interface to trusted networks and users. Avoid running Home Assistant Core with root privileges to limit potential impact.
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: 6a5f96f32a4a8d59895fb32b
Added to database: 07/21/2026, 15:57:39 UTC
Last enriched: 07/21/2026, 16:11:42 UTC
Last updated: 07/21/2026, 19:52:14 UTC
Views: 8
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.