# CVE-2026-64825: Home Assistant Core < 2026.6.0 Path Traversal File Write via Backup Upload

- Severity: Critical 9.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-07-21T15:40:18.756Z
- Modified: 2026-11-08T14:08:01.326Z
- Also known as: GHSA-5hxg-r395-fqxx, PYSEC-2026-3669
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- home-assistant Home Assistant Core: before 2026.6.0
- homeassistant (PyPI): before 2026.6.0

## Every score

- VulnCheck: CVSS:4.0 9.0 Critical `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: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L`
- GitHub: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L`
- GitHub: CVSS:4.0 Critical `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: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L`
- PyPA Advisory Database: 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`

## References

- <https://github.com/home-assistant/core/releases/tag/2026.6.0> (release-notes, web)
- <https://github.com/home-assistant/core/pull/172368> (issue-tracking, patch, web)
- <https://github.com/home-assistant/core/commit/567fe858289876b68b8162a77bd46e1e1af79752> (patch, web)
- <https://www.vulncheck.com/advisories/home-assistant-core-path-traversal-file-write-via-backup-upload> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-64825> (advisory)
- <https://github.com/home-assistant/core> (package)
- <https://pypi.org/project/homeassistant> (package)
- <https://github.com/advisories/GHSA-5hxg-r395-fqxx> (advisory)

## Sources

- CVE List: [CVE-2026-64825](https://www.cve.org/CVERecord?id=CVE-2026-64825), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-5hxg-r395-fqxx](https://github.com/advisories/GHSA-5hxg-r395-fqxx), CC-BY-4.0, modified 2026-08-19
- NVD: [CVE-2026-64825](https://nvd.nist.gov/vuln/detail/CVE-2026-64825), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-3669](https://osv.dev/vulnerability/PYSEC-2026-3669), CC-BY-4.0, modified 2026-08-19

---

Page: https://cve.day/CVE-2026-64825 · Whole record: https://cve.day/CVE-2026-64825.json · Rebuilt by cve.day 2026-11-25T22:59:29.355Z
