Top/Articles/Home Assistant: 2026.6.0 is not enough, CVE-2026-64824 needs 2026.7.0
home-assistant-cve-cover-en-update

Home Assistant: 2026.6.0 is not enough, CVE-2026-64824 needs 2026.7.0

Home Assistant, the popular free smart-home platform, has a flaw rated 9.3. CVE-2026-64825 lets a crafted backup β€” loaded during setup or restore β€” write an arbitrary file on the device, leading to takeover on root-running installs. No login needed. All versions before 2026.6.0 are affected; here's how to update.

NewsPublished July 22, 2026Last updated Aug. 22, 2026
Table of contents
Key takeaways

Home Assistant, the popular free smart-home platform, has a flaw rated 9.3. CVE-2026-64825 lets a crafted backup β€” loaded during setup or restore β€” write an arbitrary file on the device, leading to takeover on root-running installs. No login needed. All versions before 2026.6.0 are affected; here's how to update.

Correction: 2026.6.0 is not enough

2026.6.0 is not enough. Update to 2026.7.0 or later (currently 2026.7.4).

This article originally stated in its quick-reference table that 2026.6.0 and later were "already fixed, no action needed." That was wrong. If you followed our advice and moved to 2026.6.0, you are still exposed to a separate 9.3-rated flaw, CVE-2026-64824. We apologize for the error.

There were two holes in the backup machinery. 2026.6.0 closed the one on the "making a backup" side; 2026.7.0 closed the one on the "restoring a backup" side. Versions 2026.6.0 through 2026.6.4 still carry the second one. From 2026.7.0 onward, both are closed.

Home Assistant, the popular free software for controlling your home's appliances and IoT devices from one place, has two serious flaws in its backup feature. With CVE-2026-64825 and CVE-2026-64824, feeding a crafted backup file lets an attacker write an arbitrary file anywhere on the device and, ultimately, take it over. No login is required, and both are rated 9.3 (Critical).

The awkward part is that the two fixes landed in different releases: 64825 in 2026.6.0, 64824 in 2026.7.0. This is especially dangerous on "Home Assistant OS" and "Supervised" installs (e.g. on a Raspberry Pi) and on the official Docker image, where the software runs with administrator (root) privileges. Below we walk through what happens and whether your setup is at risk.

Key points (3 lines)

  • The smart-home platform Home Assistant has two flaws rated 9.3 in its backup feature. A crafted backup can write an arbitrary file, leading to takeover.
  • The fixed versions differ: CVE-2026-64825 in 2026.6.0, CVE-2026-64824 in 2026.7.0. Anything from 2026.6.0 to 2026.6.4 still has 64824 open.
  • Update to 2026.7.0 or later (currently 2026.7.4). Anyone exposing it directly to the internet, or about to set up or restore, should hurry.

Who targets this, and why

The people who exploit this are attackers who find, over the network, a Home Assistant that is mid-setup or in the middle of a backup restore for a server migration. Before setup completes, a Home Assistant has no owner account yet and can accept a backup upload from outside. A freshly launched device, or one being restored during a move, is the prime moment to be targeted.

The attacker plants, inside the backup, something that points at a forbidden location starting with "/" (an absolute path), and writes a file anywhere on the device. What should only ever land in the designated backup folder can now escape that limit β€” the core of both flaws. Because the write location is attacker-chosen, overwriting a config or script that runs at startup leads to code execution, i.e. takeover.

The damage isn't limited to "losing control of your appliances." Home Assistant ties into door locks, security cameras, indoor sensors, and lighting β€” things that touch daily life directly. A takeover can mean spying on camera feeds, locking or unlocking doors, and pivoting to the PCs and phones on the same home network. On root-running installs in particular, the whole device can be fully commandeered. That is why the version check and update below should be done promptly.

What happens (the mechanism)

Both are "path traversal (directory traversal)" flaws. Path traversal is a technique where an attacker slips "move up a level" trickery into the part that specifies where a file is saved, forcing reads or writes in places that should be off-limits.

Home Assistant has a backup feature that saves and restores your whole configuration. Inside a backup is a management file called backup.json that summarizes its contents. If an absolute path is written into that file's "name" field, the handling ignores the intended backup-folder limit and puts files straight at the specified location. The result is an arbitrary file write anywhere on the device's filesystem. That is CVE-2026-64825, and its fix shipped in 2026.6.0.

On the easy-to-use "Home Assistant OS" and "Supervised" formats, and on the official Docker image, the software runs with administrator (root) privileges. Being able to write anywhere as root means overwriting critical system files or planting a script that runs at startup β€” which leads all the way to full control of the device. No login is required, and the abuse of a legitimate "restore from backup" action is what makes these flaws so difficult.

The second hole, CVE-2026-64824 β€” still open in 2026.6.0

A backup feature splits roughly into two halves: the side that makes (saves) the backup and the side that restores (unpacks) it. Each half had its own hole. Only the first was closed in 2026.6.0. The second one β€” the restore side β€” is CVE-2026-64824, and its fix landed in 2026.7.0. Both were published on NVD on July 21, 2026, from the same assigner, at the same moment.

Here is how it works. A backup file is really a tar archive, and a tar archive can hold not just files but shortcuts to other locations (symbolic links). The attacker plants an entry (a tar SYMTYPE entry) whose link target is an absolute path. The restore routine unpacks without checking whether that shortcut is safe, so the file gets written through the shortcut, outside the backup folder. It is like a delivery that is only supposed to reach the front door arriving with its own secret passage to the back one.

This is where the root-running official Docker image matters. Python automatically loads a handful of files every time it starts. One of them is site-packages/sitecustomize.py; overwrite that, and the attacker's code runs the moment Home Assistant next starts. A file write turns into remote code execution. The severity is 9.3 (Critical) on CVSS 4.0, and 8.4 on the older CVSS 3.1.

CVEWhich halfSeverityFixed in
CVE-2026-64825Making a backup (name validation)9.3 (Critical)2026.6.0
CVE-2026-64824Restoring a backup (tar extraction)9.3 (Critical)2026.7.0

The dividing line, checked against the source

We confirmed the split by reading the published source directly. The safety switch for unpacking a tar archive is Python's filter argument: fully_trusted means "trust everything inside and extract it as-is," while tar means "reject dangerous entries." In Home Assistant's homeassistant/backup_restore.py, that argument changes as follows.

Tag (release)filter on tar extractionCVE-2026-64824
2026.6.0filter="fully_trusted"Not fixed
2026.6.4filter="fully_trusted"Not fixed
2026.7.0filter="tar"Fixed
2026.7.4filter="tar"Fixed

The fixing commit is 1e457600f1093c15e1325742d03e2b76498c79c1 (PR #172252, merged May 27, 2026), and GitHub's branch comparison confirms it is contained in 2026.7.0 and absent from 2026.6.0. You can read the files yourself: the 2026.6.4 version next to the 2026.7.0 version. In short, as long as you stay on the 2026.6.x line, the restore path still trusts everything inside the archive.

Is my setup affected? (Quick reference)

Whether you're affected comes down to your Home Assistant version. Find it under Settings β†’ System β†’ General, or from the lower-left menu. Match it against the table below.

Your versionCVE-2026-64825CVE-2026-64824Action
Before 2026.6.0AffectedAffectedUpdate to 2026.7.0+
2026.6.0 – 2026.6.4FixedAffected (not fixed)Update to 2026.7.0+
2026.7.0 or laterFixedFixedNo action needed

July 2026 shipped five releases: 7.0 on July 1, 7.1 on July 3, 7.2 on July 10, 7.3 on July 21, and 7.4 on July 24. The newest is 2026.7.4, but 7.4 itself carries no security fix β€” the dividing line is 2026.7.0. Any 7.0 or later has CVE-2026-64824 closed. Absent a reason to pin, take the newest 2026.7.4.

Install typeRuns asImpact if exploited
Home Assistant OSroot (admin)Can lead to full device takeover
Supervisedroot (admin)Can lead to full device takeover
Official Docker imageroot (admin)Can lead to remote code execution
Container / Core (self-configured)Depends on your configFile write within the running privilege

The riskiest cases are Home Assistant exposed directly to the internet, and instances about to be set up or restored to a new server. If yours is already configured and only reachable from your home network, the exploit window is narrow β€” but with a fix out, updating early is the safe move.

What to do right now

The fix is to update Home Assistant to 2026.7.0 or later (currently 2026.7.4). If there's an update notice in the admin, apply it there (official update guide). On "Home Assistant OS," check Settings β†’ System β†’ Updates for both the core and OS updates. On Docker, check that your image tag isn't still pinned to a 2026.6.x and re-pull. Afterward, confirm the version reads 2026.7.0 or later.

If you can't update immediately, or you're about to set up or restore, a solid stopgap is to not expose Home Assistant directly to the internet. If you need remote access, keep it behind a VPN or a trusted relay so the setup screen and restore feature can't be reached from outside. Since CVE-2026-64824 runs through the restore path, while you remain on 2026.6.x, not restoring any backup you did not create yourself is itself a defense.

Where the official advisory stands

As of this update, the vendor has not published its own security advisory. GitHub advisory IDs exist for both β€” GHSA-5hxg-r395-fqxx for CVE-2026-64825 and GHSA-cwh8-w64c-4j5h for CVE-2026-64824 β€” but both are marked "unreviewed," meaning they were ingested automatically from NVD. Neither appears on Home Assistant's security page nor in the core repository's advisory list. The accurate status: the IDs and the fixing commit are known, but no advisory from the developers has been issued. Which is precisely why checking your own version is worth the minute it takes.

Public sources show no report of real-world exploitation, no published proof-of-concept, and no listing on the U.S. CISA catalog of actively exploited vulnerabilities (KEV). Still, Home Assistant is widely used worldwide, and with the fixing commit public the technique is easy to infer. A third issue was disclosed the same day: cross-site scripting via async_get_media_image() in the Shelly integration (CVE-2026-64823, 4.7 on CVSS 3.1, affecting versions before 2026.5.4). Moving to 2026.7.0 or later clears that one too.

FAQ

Q. I read this article and updated to 2026.6.0. Am I safe now?

Not yet. 2026.6.0 closed only CVE-2026-64825; CVE-2026-64824 (rated 9.3), which attacks the backup restore path, stayed open through 2026.6.4. Move to 2026.7.0 or later, ideally the current 2026.7.4. We apologize for having told you that 2026.6.0 and later needed no action.

Q. Which version should I move to?

2026.7.0 or later. The dividing line is 2026.7.0; no further security fix landed in 7.1 through 7.4. Absent a reason to pin, take the current 2026.7.4. Update the core (and, depending on your install type, the OS) from Settings β†’ System β†’ Updates.

Q. Is an already-configured setup at risk?

The main exploit window is onboarding and backup restore. If yours is configured and only reachable from the home network, the window for outside abuse is narrow. But it can still apply during a restore to a new server, so updating to 2026.7.0 or later is the safe move either way.

Q. How dangerous is it?

Both are rated 9.3 (Critical). With no login, an attacker may write a file anywhere on the device. On root-running "Home Assistant OS" / "Supervised" installs and the official Docker image, that is assessed as leading to full device takeover or remote code execution. Since it governs door locks and cameras, the impact is not small.

Q. Is it being exploited already?

Public sources show no report of real-world abuse, no published proof-of-concept, and no listing on CISA's KEV catalog. But the fixing commit is public and the technique is easy to infer, so updating early is safest.

Summary

Home Assistant, the popular software for controlling home appliances and IoT devices, has two 9.3-rated flaws in its backup feature. CVE-2026-64825 sits on the "making a backup" side and CVE-2026-64824 on the "restoring" side; either lets a crafted backup write a file anywhere on the device and lead to takeover. No login is required, and impact is largest on root-running "Home Assistant OS" / "Supervised" installs and the official Docker image.

The split fix versions are the trap. 2026.6.0 settled only 64825; 64824 closed in 2026.7.0. In the source, the tar extraction argument reads fully_trusted through 2026.6.4 and tar from 2026.7.0. Update to 2026.7.0 or later (currently 2026.7.4). Also stick to the basics: don't expose Home Assistant directly to the internet, and don't restore backups of unknown origin.

Sources

avatar-m-1

Backend Engineer / AWS / Django