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 package | Versions | Reported by |
|---|---|---|
| home-assistant Home Assistant Core | before 2026.6.0 | CVE List |
| homeassistant (PyPI) | before 2026.6.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| VulnCheck | 9.0critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L |
| VulnCheck | 9.3critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L |
| GitHub | 9.3critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L |
| GitHub | critical CVSS:4.0 | CVSS: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 Database | 9.3critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS: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
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-64825 changed 2026-11-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5hxg-r395-fqxx changed 2026-08-19 | CC-BY-4.0 |
| NVD | CVE-2026-64825 changed 2026-10-24 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3669 changed 2026-08-19 | CC-BY-4.0 |