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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.0
- **CVSS:** 9.0 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: High; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: High; Availability impact on other systems: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.58% (percentile 42, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** GHSA-5hxg-r395-fqxx, PYSEC-2026-3669
- **Published:** 2026-07-21T15:40:18.756Z
- **Modified:** 2026-11-08T14:08:01.326Z

## Who should check

- Projects that depend on PyPI package homeassistant (\< 2026.6.0)
- Anyone running home-assistant Home Assistant Core \< 2026.6.0

## 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 and fixed versions

- PyPI `homeassistant`: affected \< 2026.6.0; fixed 2026.6.0 (osv)
- home-assistant Home Assistant Core: \< 2026.6.0 (cvelist)

## Mitigation

- Upgrade homeassistant to 2026.6.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64825. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64825.md
Affected: homeassistant < 2026.6.0
Fixed in: 2026.6.0

Steps:
1. Search this machine and project for homeassistant (PyPI), home-assistant Home Assistant Core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64825 being exploited?

There is no confirmed exploitation: CVE-2026-64825 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64825?

Critical: CVSS 9.0 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-64825?

homeassistant \< 2026.6.0.

### Is there a fix for CVE-2026-64825?

Yes. Fixed in 2026.6.0. Upgrade homeassistant to 2026.6.0 or later.

### How do I check if I'm affected by CVE-2026-64825?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-64825>
- vendor: <https://github.com/advisories/GHSA-5hxg-r395-fqxx>
- patch: <https://github.com/home-assistant/core/pull/172368>
- patch: <https://github.com/home-assistant/core/commit/567fe858289876b68b8162a77bd46e1e1af79752>
- other: <https://github.com/home-assistant/core/releases/tag/2026.6.0>
- other: <https://www.vulncheck.com/advisories/home-assistant-core-path-traversal-file-write-via-backup-upload>
- other: <https://github.com/home-assistant/core>
- other: <https://pypi.org/project/homeassistant>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64825>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-5hxg-r395-fqxx> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3669> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-64825> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64825>
