Path TraversalWeakness · CWE-22

CVE-2026-64824

HIGH · 8.4 CVSS v3.1 Published 2026-07-21
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
88/100
Remediation priority · High
Remotely reachable 4 weeks old

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Home Assistant Core before 2026.7.0 contains a path traversal vulnerability in the backup-restore function that allows attackers to write files to arbitrary absolute filesystem paths by supplying a crafted tar archive with a SYMTYPE entry containing a benign member name paired with an absolute linkname pointing outside the extraction directory. Because the official Docker image runs the Home Assistant process as root and the subsequent regular-file entry is written through the unvalidated symlink, attackers can achieve remote code execution by overwriting auto-imported Python paths such as site-packages/sitecustomize.py or custom component directories.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Home Assistant Core before 2026.7.0 has a path traversal vulnerability in its backup-restore function. Attackers craft a malicious tar archive containing a SYMTYPE (symlink) entry with an absolute linkname pointing outside the extraction directory. When the restore process writes subsequent regular files, they flow through the unvalidated symlink, allowing arbitrary file overwrite. Since the official Docker image runs as root, attackers can overwrite site-packages/sitecustomize.py or custom component directories to achieve remote code execution.

MitigationUpgrade to Home Assistant Core 2026.7.0 or later, which should include proper validation of symlink targets within tar archives during backup restore.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Confirm Home Assistant Core installation and version
    Identify the Home Assistant installation (e.g., running 'ha core info' in Home Assistant OS, or checking the container/image version with 'docker ps' and 'docker inspect'). Compare the installed version against the fixed version 2026.7.0 - any version below 2026.7.0 is potentially vulnerable.
    Affected if The installed version is lower than 2026.7.0
  2. Determine if running in Docker as root
    Check the Docker container configuration: run 'docker inspect <container_id>' and look for the User field, or execute 'id' inside the container. The vulnerability requires root privileges to overwrite system paths.
    Affected if The Docker container runs as root (User field is empty or shows '0' or 'root')
  3. Verify backup-restore function is accessible
    Determine if the backup-restore functionality is exposed. In Home Assistant, this is typically accessible via the UI (Settings > System > Backups) or API endpoint /api/backup. Check if this interface is reachable and not disabled.
    Affected if The backup-restore function is accessible (enabled and network-reachable)
  4. Inspect site-packages for unauthorized modifications
    Locate the Python site-packages directory (commonly /usr/local/lib/python3.x/site-packages/ inside the container). Check for unexpected or recently modified files, particularly sitecustomize.py or any .py files with suspicious content in the root of site-packages.
    Affected if Any unexpected Python files exist in site-packages, especially sitecustomize.py or files you did not install
  5. Check custom components for suspicious files
    Identify the custom_components directory (typically /config/custom_components/ in the volume mounted from host). List all subdirectories and files. Look for unfamiliar components or recently added files that you did not create.
    Affected if Unknown custom component directories or files exist that you did not create

You are affected if running Home Assistant Core version lower than 2026.7.0, the Docker container runs as root, the backup-restore function is accessible, AND either unexpected Python files appear in site-packages or unknown custom components exist on the system.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to Home Assistant Core 2026.7.0 or later, which should include proper validation of symlink targets within tar archives during backup restore.

Recommended fix High confidence

Home Assistant Core 2026.7.0

  1. 1. Backup your current Home Assistant configuration and data
  2. 2. If using Docker, pull the latest Home Assistant Core 2026.7.0 image: docker pull homeassistant/home-assistant:2026.7.0
  3. 3. Stop the current Home Assistant container or service
  4. 4. Upgrade Home Assistant Core to version 2026.7.0 or later using your installation method (Docker, pip, or OS)
  5. 5. Restart Home Assistant service
  6. 6. Verify the backup-restore functionality works correctly with the patched version
  7. 7. Test that the application runs normally after upgrade
Caveat Review Home Assistant 2026.7.0 release notes for any breaking changes or configuration updates required for your specific setup

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing4.0 h
  • Review / QA2.0 h
15.0 hours of engineering $2,640
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-64824 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-64824 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data