# CVE-2021-47942

## Summary

- **CVE ID:** CVE-2021-47942
- **Severity:** HIGH
- **CVSS Score:** 8.7 (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)
- **CWE:** CWE-22
- **Published:** May 16, 2026
- **Last Modified:** Aug 14, 2026

## Description

Home Assistant Community Store (HACS) 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

- Home-Assistant — Home Assistant Community Store (HACS) (0)

## References

- [CNA](https://www.exploit-db.com/exploits/49495)
- [CNA](https://www.home-assistant.io/)
- [CNA](https://github.com/hacs/integration)
- [CNA](https://www.vulncheck.com/advisories/home-assistant-community-store-path-traversal-account-takeover)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.50%
- **EPSS Percentile:** 41.4

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-17._