{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:hacs:home_assistant_community_store:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.10.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6fbce52d7fc6c55ffdd62602cf226076bb4fb27b"
            }
          ],
          "repo": "https://github.com/hacs/integration",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "Home Assistant Community Store (HACS) prior to 1.10.0 contains a path traversal vulnerability that allows unauthenticated attackers to read sensitive files by traversing directories via the /hacsfiles/ endpoint. Attackers can retrieve the .storage/auth file containing user credentials and refresh tokens, then craft valid JWT tokens to gain administrative access to Home Assistant instances.",
  "id": "CVE-2021-47942",
  "modified": "2026-07-08T05:39:25.706217167Z",
  "published": "2026-05-16T16:16:21.390Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.home-assistant.io/"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/home-assistant-community-store-path-traversal-account-takeover"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/hacs/integration"
    },
    {
      "type": "EVIDENCE",
      "url": "https://www.exploit-db.com/exploits/49495"
    }
  ],
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
      "type": "CVSS_V4"
    }
  ]
}