Intel

AIKIDO-2026-590078

homeassistant is vulnerable to Path Traversal

CVE-2026-64825Published Jul 28, 2026
July 28, 2026

93

CVE Score

Critical

Path Traversal

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.

How do I fix this?

Upgrade the homeassistant library to the patch version.

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.

Versions

2025.2.0 - 2026.5.4

Fixed in 2026.6.0

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea