CVE-2026-64825 json
Home Assistant Core < 2026.6.0 Path Traversal File Write via Backup Upload
published 2026-07-21 3 mo ago modified 2026-11-08 23 h ago also EUVD-2026-46301 , GHSA-5hxg-r395-fqxx , PYSEC-2026-3669
- cvss
- 9.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi homeassistant 2026.6.0
- home-assistant Home Assistant Core 2026.6.0
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.58% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.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 |
| CNA | 3.1 | 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L |
| GitHub | 3.1 | 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L |
| CNA | 4.0 | 9.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | 3.1 | 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | homeassistant | <2026.6.0 |
2026.6.0 |
Affected products
- home-assistant Home Assistant Core
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/home-assistant/core/pull/172368
issue-tracking, patch, web
-
github.com
/home-assistant/core/commit/567fe858289876b68b8162a77bd46e1e1af79752
patch, web
-
github.com
/home-assistant/core/releases/tag/2026.6.0
release-notes, web
-
vulncheck.com
/advisories/home-assistant-core-path-traversal-file-write-via-backup-upload
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-64825
advisory
-
github.com
/home-assistant/core
package
-
pypi.org
/project/homeassistant
package
-
github.com
/advisories/GHSA-5hxg-r395-fqxx
advisory
Sources
- CVE List CVE-2026-64825
- GitHub Advisory GHSA-5hxg-r395-fqxx
- NVD CVE-2026-64825
- OSV PYSEC-2026-3669
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.