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. During the initial onboarding window, unauthenticated attackers can upload a malicious backup archive. By manipulating the 'name' field in the backup.json file within the archive to specify an absolute path, the application’s use of pathlib.Path.__truediv__ discards the intended backup directory prefix. This allows writing arbitrary files to any location on the host filesystem. If the Home Assistant process runs as root, this results in full filesystem access. The CVSS 4.0 score is 9.0, indicating critical severity.
Potential Impact
An unauthenticated attacker can write arbitrary files anywhere on the host filesystem during the initial onboarding phase. This can lead to full system compromise if the Home Assistant process runs with root privileges. The vulnerability enables attackers to bypass intended directory restrictions, potentially allowing arbitrary code execution or persistent backdoors.
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 initial onboarding window and avoid running Home Assistant Core with root privileges. Monitor vendor communications for updates and apply patches promptly once released.
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. During the initial onboarding window, unauthenticated attackers can upload a malicious backup archive. By manipulating the 'name' field in the backup.json file within the archive to specify an absolute path, the application’s use of pathlib.Path.__truediv__ discards the intended backup directory prefix. This allows writing arbitrary files to any location on the host filesystem. If the Home Assistant process runs as root, this results in full filesystem access. The CVSS 4.0 score is 9.0, indicating critical severity.
Potential Impact
An unauthenticated attacker can write arbitrary files anywhere on the host filesystem during the initial onboarding phase. This can lead to full system compromise if the Home Assistant process runs with root privileges. The vulnerability enables attackers to bypass intended directory restrictions, potentially allowing arbitrary code execution or persistent backdoors.
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 initial onboarding window and avoid running Home Assistant Core with root privileges. Monitor vendor communications for updates and apply patches promptly once released.
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/30/2026, 00:50:38 UTC
Last updated: 09/02/2026, 10:52:11 UTC
Views: 93
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.