---
cve: "CVE-2021-47942"
severity: "HIGH"
cvss: 8.7
epss: "50%"
vendor: "home-assistant"
kev: false
exploited: false
published: "2026-05-16 16:16:21"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-12T11:52:13+02:00"
---

# CVE-2021-47942

> 8.7 HIGH · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- 6fbce52d7fc6c55ffdd62602cf226076bb4fb27b (Commit)

## Referenzen

- <https://www.exploit-db.com/exploits/49495>
- <https://www.home-assistant.io/>
- <https://github.com/hacs/integration>
- <https://www.vulncheck.com/advisories/home-assistant-community-store-path-traversal-account-takeover>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2021-47942) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
