CVE-2026-64825
JSON

9.0critical

Home Assistant Core < 2026.6.0 Path Traversal File Write via Backup Upload

Severity
9.0critical CVSS:4.0 by VulnCheck
Exploit likelihood
0.58% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-5hxg-r395-fqxxPYSEC-2026-3669

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.

Affected

Product or packageVersionsReported by
home-assistant Home Assistant Corebefore 2026.6.0CVE List
homeassistant (PyPI)before 2026.6.0GitHub Advisory Database, PyPA Advisory Database

All scores

VulnCheck9.0critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L
VulnCheck9.3critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
GitHub9.3critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L
PyPA Advisory Database9.3critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Home Assistant Core antes de 2026.6.0 contiene una vulnerabilidad de salto de ruta que permite a atacantes no autenticados escribir archivos arbitrarios en cualquier directorio del sistema de archivos del host al cargar un archivo de copia de seguridad manipulado durante la ventana de incorporación inicial. Los atacantes pueden manipular el campo ’name’ dentro del backup.json del archivo cargado para proporcionar una ruta absoluta, haciendo que pathlib.Path.__truediv__ descarte el prefijo del directorio de copia de seguridad configurado y escriba contenido controlado por el atacante en ubicaciones arbitrarias, con acceso completo al sistema de archivos cuando el proceso se ejecuta como root.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-64825 changed 2026-11-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-5hxg-r395-fqxx changed 2026-08-19CC-BY-4.0
NVDCVE-2026-64825 changed 2026-10-24Public domain
PyPA Advisory DatabasePYSEC-2026-3669 changed 2026-08-19CC-BY-4.0