Duty analyst on shift

UK Cyber Defence
VulnerabilityAnalyzed

CVE-2021-47942

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.

EXPLOITHIGH 8.7EPSS 1.99%

Does this matter?

A public exploit is published in Exploit-DB and the impact is high, while EPSS rates exploitation at 2.0%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.

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.

CVSS 4.0
8.7 HIGHCVSS: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/M
EPSS
1.99% probability · 81th percentile
Public exploits
1 in Exploit-DB · first 29 January 2021
CISA KEV
Not listed
Weakness
CWE-22: Path traversal
Affected
hacs/home assistant community store
Source
disclosure@vulncheck.com

In plain terms

It can be reached over a network with no login and no help from a user. On a system exposed to the internet, a patch or a network control is all that stands in the way.

Reached from
Over a network. If the affected system can be reached from the internet, so can the flaw.
Effort
Nothing special has to be got round first.
Login needed
None. No login is needed.
Someone else involved
No. Nobody has to click, open or approve anything.
At risk on the affected system
Reading data: serious. Changing data: none. Stopping the service: none.

Read from the CVSS 4.0 vector above. It describes the flaw itself, not how your own systems are set up.

The first public exploit in Exploit-DB is dated 29 January 2021, about 5 years before the record was published.

EPSS trend
0%3%5%24 November 2026: 1.55%30 November 2026: 1.99%24 November 202630 November 2026

EPSS moved from 1.6% on 24 November 2026 to 2.0% on 30 November 2026.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-49495source ↗Home Assistant Community Store (HACS) 1.10.0 - 'hacsfiles' Unauthenticated Directory Traversal / Account Takeoverpython · Lyghtnoxwebapps29 January 2021no

Where to go from here

One vulnerability is rarely the whole question. These are free, and none of them asks for an account.

By email

Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.

Double opt-in. Unsubscribe in one click. No sharing, ever.

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.