Advisory

PYSEC-2026-3669

Also known as: CVE-2026-64825, GHSA-5hxg-r395-fqxx

Summary

Home Assistant Core vulnerable to Path Traversal via backup upload during onboarding

Details

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.

Severity

Critical Basis: CVSS v3 score 9.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L

Dates

Published
2026-08-19 11:56 UTC
Modified
2026-08-19 12:45 UTC

Affected packages and fixes

homeassistant

PyPI · All systems

Affected

  • introduced 0, fixed 2026.6.0 (ecosystem)

Fixed versions

2026.6.0

Fix

  • Fixed version 2026.6.0
    pip install --upgrade homeassistant==2026.6.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences