{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2026.6.0"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "836740c247b334d11df3058850878d061168dc57"
            },
            {
              "fixed": "567fe858289876b68b8162a77bd46e1e1af79752"
            }
          ],
          "repo": "https://github.com/home-assistant/core",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64825.json"
  },
  "details": "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.",
  "id": "CVE-2026-64825",
  "modified": "2026-07-28T03:55:50.966016274Z",
  "published": "2026-07-21T15:40:18.756Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64825.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/home-assistant/core/releases/tag/2026.6.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64825"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/home-assistant-core-path-traversal-file-write-via-backup-upload"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/home-assistant/core/pull/172368"
    },
    {
      "type": "FIX",
      "url": "https://github.com/home-assistant/core/commit/567fe858289876b68b8162a77bd46e1e1af79752"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/home-assistant/core"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Home Assistant Core \u003c 2026.6.0 Path Traversal File Write via Backup Upload"
}