What’s Vulnerable › Vulnerabilities

CVE-2021-47942: Home Assistant Community Store 1.10.0 Path Traversal Account Takeover

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Home-Assistant Home Assistant Community Store (HACS) 1.10.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47942 or the next vulnerability affects your stack