Intel

AIKIDO-2026-590078

homeassistant is vulnerable to Path Traversal

Path TraversalCVE-2026-64825 Published 5 days ago

93

Critical Risk

This Affects:

PYTHONhomeassistant
2025.2.0 - 2026.5.4
Fixed in 2026.6.0
Are you affected? Scan for Free

TL;DR

The backup component builds the on-disk destination path from the name field inside an uploaded archive's backup.json without validating it. Supplying an absolute path makes Python's pathlib path join discard the configured backup directory prefix, so the file is written to an attacker-chosen absolute location. During the initial onboarding window this upload endpoint is reachable without authentication, and when the process runs as root the write can target sensitive files anywhere on the host, enabling remote code execution. The fix rejects unsafe inner backup.json names and adds a containment check that prevents writes outside the backup directory.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your instance is still within the initial onboarding window where the backup upload endpoint is reachable without authentication.

Background info

homeassistant is vulnerable to Path Traversal in versions 2025.2.0 - 2026.5.4.

How to fix this

Upgrade the homeassistant library to the patch version.