{"id":"CVE-2021-47942","published":"2026-05-16T15:28:07Z","modified":"2026-08-14T16:49:21Z","title":"Home Assistant Community Store 1.10.0 Path Traversal Account Takeover","vendor":"Home-Assistant","product":"Home Assistant Community Store (HACS)","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01987,"percentile":0.81239,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.exploit-db.com/exploits/49495","tags":["exploit"]},{"url":"https://www.home-assistant.io/","tags":["product"]},{"url":"https://github.com/hacs/integration","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/home-assistant-community-store-path-traversal-account-takeover","tags":["third-party-advisory"]}],"priority":{"score":26.5,"factors":[{"name":"EPSS percentile","points":16.25},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-01-29"},"first":{"date":"2021-01-29","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/49495"},"provenance":"source"},"vendorSlug":"home-assistant","affectedVersions":[{"vendor":"Home-Assistant","product":"Home Assistant Community Store (HACS)","versions":["< 1.10.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-18T19:58:41.670250Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34838","exploited":false,"provenance":"source"},"exploits":[{"id":49495,"url":"https://www.exploit-db.com/exploits/49495","title":"Home Assistant Community Store (HACS) 1.10.0 - 'hacsfiles' Unauthenticated Directory Traversal / Account Takeover","date":"2021-01-29","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/49495"]}