Cyber Resilience

CVE-2021-47942

HighPublic PoC

Published: 16 May 2026

Published
16 May 2026
Modified
27 May 2026
KEV Added
Patch
CVSS Score v4 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/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
EPSS Score 0.0050 39.0th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2021-47942 is a high-severity Path Traversal (CWE-22) vulnerability in Hacs Home Assistant Community Store. Its CVSS base score is 8.7 (High).

Operationally, ranked at the 39.0th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability 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,…

more

then craft valid JWT tokens to gain administrative access to Home Assistant instances.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-24970Shared CWE-22
CVE-2025-24406Shared CWE-22
CVE-2020-36939Shared CWE-22
CVE-2026-27523Shared CWE-22
CVE-2026-24848Shared CWE-22
CVE-2026-44243Shared CWE-22
CVE-2025-2505Shared CWE-22
CVE-2026-4350Shared CWE-22
CVE-2026-5841Shared CWE-22
CVE-2026-33242Shared CWE-22

Affected Assets

hacs
home assistant community store
≤ 1.10.0

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-22

Validates pathnames and filenames to prevent traversal outside intended directories.

References