Critical

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

  • Disclosed: 21.07.2026
  • Updated: 11.10.2026 14:19

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) homeassistant < 2026.6.0 2026.6.0

References

CVSS score 9.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
Weakness (CWE)
CWE-22
Platform
Python (PyPI)
Package
homeassistant
Disclosed
21.07.2026
Updated
11.10.2026 14:19

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-3669 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-5hxg-r395-fqxx - CC BY 4.0

Vulnerability history: homeassistant

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (12) in the archive
Total entries
12
First → latest
09.2019 09.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 4
  • Medium 4
  • Low 2

Disclosures per year

  1. 2019: 1
  2. 2020: 0
  3. 2021: 0
  4. 2022: 0
  5. 2023: 2
  6. 2024: 0
  7. 2025: 3
  8. 2026: 6
Severity:
  1. Critical CVE-2026-91130 < 2026.7.0 2026.7.0
  2. Home Assistant Core vulnerable to Path Traversal via backup upload during onboarding this entry
    Critical · 9.3 CVE-2026-64825 < 2026.6.0 2026.6.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.