CVE-2021-47942

HIGH CVSS 4.0: 8.7 EPSS 0.50%
Updated Jun 17, 2026
Hacs
Parameter Value
CVSS 8.7 (HIGH)
Affected Versions before 1.10.0
Fixed In 1.10.0
Type CWE-22 (Path Traversal)
Vendor Hacs
Public PoC Yes

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Hacs Home_Assistant_Community_Store
cpe:2.3:a:hacs:home_assistant_community_store:*:*:*:*:*:*:*:*
— 1.10.0