{"id":"CVE-2021-47942","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.","modified":"2026-07-09T03:25:53.968611Z","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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hacs/integration","events":[{"introduced":"0"},{"fixed":"6fbce52d7fc6c55ffdd62602cf226076bb4fb27b"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.10.0"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:hacs:home_assistant_community_store:*:*:*:*:*:*:*:*"}}],"versions":["1.9.0","1.8.0b0","1.6.0","1.5.2","1.5.1","1.5.0","1.4.1","1.4.0","1.3.3","1.3.2","1.3.1","1.3.0","1.3.0b1","1.3.0b0","1.1.2","1.2.1","1.2.0","1.1.1","1.1.0","1.0.3","1.0.2","1.0.1","1.0.0","0.24.4","0.24.3","0.24.2","0.24.1","0.24.0","0.23.2","0.23.1","0.23.0","0.22.3","0.22.2","0.22.1","0.22.0","0.22.0b3","0.22.0b2","0.22.0b1","0.22.0b0","0.21.6","0.21.5","0.21.4","0.21.3","0.21.2","0.21.1","0.21.0","0.20.7","0.20.6","0.20.5","0.20.4","0.20.3","0.20.2","0.20.1","0.20.0","0.19.0","0.18.2","0.18.1","0.18.0","0.17.4","0.17.3","0.17.1","0.17.0","0.16.3","0.16.2","0.16.1","0.16.0","0.15.11","0.15.10","0.15.9","0.15.8","0.15.7","0.15.6","0.15.5","0.15.4","0.15.3","0.15.2","0.15.1","0.15.0","0.14.2","0.14.1","0.14.0","0.13.2","0.13.1","0.13.0","0.12.1","0.12.0","0.11.1","0.11.0","0.10.0","0.9.0","0.8.1","0.8.0","0.7.0","0.6.0","0.5.1","0.5.0","0.4.4","0.4.3","0.4.2","0.4.1","0.4.0","0.2.1","0.2.0","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47942.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","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"}]}