CVE-2026-64825: Home Assistant Core < 2026.6.0 Path Traversal File Write via Backup Upload

Published Jul 21, 2026
·
Updated

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

1 affected component
Home Assistant Home Assistant Core<2026.6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Home Assistant Core to a version that resolves this vulnerability.

    Fixed in 2026.6.0
  2. Compensating control

    Limit/disable the initial onboarding backup upload window so unauthenticated attackers cannot upload a crafted backup archive during onboarding.

Event History

Jul 21, 2026
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64825?

CVE-2026-64825 is rated as critical with a severity score of 9.3.

2

How do I fix CVE-2026-64825?

To fix CVE-2026-64825, upgrade Home Assistant Core to version 2026.6.0 or later.

3

What vulnerability type is CVE-2026-64825?

CVE-2026-64825 is a path traversal vulnerability.

4

Who is affected by CVE-2026-64825?

Users of Home Assistant Core versions before 2026.6.0 are affected by CVE-2026-64825.

5

What can attackers do with CVE-2026-64825?

Attackers can exploit CVE-2026-64825 to write arbitrary files to any directory on the host filesystem.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203