Path Traversal in Hacs Home Assistant Community Store
CVE-2021-47942
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (40.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 40.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
Weakness classification (CWE)
References
- ExploitDB-49495 (Exploit, exploit)
- Official Product Homepage (Product, product)
- Product Reference (Product, product)
- VulnCheck Advisory: Home Assistant Community Store 1.10.0 Path Traversal Account Takeover (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2021-47942?
- CVE-2021-47942 is a high-severity vulnerability in Hacs Home Assistant Community Store, classified under Path Traversal. CVSS score: 7.5/10. Published 2026-05-16.
- How severe is CVE-2021-47942?
- High severity. CVSS v3 base score is 7.5 out of 10.