NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-64825: Home Assistant Core vulnerable to Path Traversal via backup upload during onboarding

criticalCVSS 4.0 9.0 · 3.1 9.3GHSA-5hxg-r395-fqxx

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.

Published Jul 21, 2026 · Updated Aug 13, 2026

Affected packages

homeassistant

Ecosystem
PyPI
Affected
< 2026.6.0
Fixed in
2026.6.0
Check
pip show homeassistant

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to PercevalFox.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries