CVE-2026-64825
Received Received - Intake

Path Traversal in Home Assistant Core

Vulnerability report for CVE-2026-64825, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-21

Last updated on: 2026-07-21

Assigner: VulnCheck

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-21
Last Modified
2026-07-21
Generated
2026-07-21
AI Q&A
2026-07-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
home_assistant core to 2026.6.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-64825 is a path traversal vulnerability in Home Assistant Core before version 2026.6.0. It allows unauthenticated attackers to write arbitrary files to any directory on the host filesystem by uploading a malicious backup archive during the initial setup. Attackers manipulate the 'name' field in the backup.json file inside the archive to supply an absolute path, bypassing the intended backup directory restriction. This occurs due to improper path handling in the pathlib.Path.__truediv__ method, enabling full filesystem access if the process runs as root.

Detection Guidance

Check Home Assistant version with: docker exec homeassistant pip show homeassistant | grep Version. If version is before 2026.6.0, the system is vulnerable. Inspect backup archives for manipulated backup.json files containing absolute paths or path traversal sequences like ../ or /etc/passwd.

Impact Analysis

This vulnerability allows attackers to write malicious files anywhere on the system, potentially leading to remote code execution, system compromise, or data theft. If Home Assistant runs as root, attackers gain full control over the host. Successful exploitation could result in unauthorized access, system damage, or further network infiltration.

Compliance Impact

This vulnerability likely violates compliance requirements for data protection and system integrity. GDPR and HIPAA mandate strict controls to prevent unauthorized access and data breaches. Exploitation could lead to unauthorized data exposure, violating confidentiality and integrity principles, potentially resulting in regulatory penalties and loss of trust.

Mitigation Strategies

Upgrade Home Assistant Core to version 2026.6.0 or later immediately. Disable onboarding or restrict network access to the onboarding endpoint until patched. Review recent backup archives for suspicious files and remove any unauthorized uploads.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64825. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart