CVE-2021-47942

Source
https://cve.org/CVERecord?id=CVE-2021-47942
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47942.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-47942
Published
2026-05-16T16:16:21.390Z
Modified
2026-07-09T03:25:53.968611Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
[none]
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, then craft valid JWT tokens to gain administrative access to Home Assistant instances.

References

Affected packages

Git / github.com/hacs/integration

Affected ranges

Type
GIT
Repo
https://github.com/hacs/integration
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe": "cpe:2.3:a:hacs:home_assistant_community_store:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.10.0"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

0.*
0.1.0
0.10.0
0.11.0
0.11.1
0.12.0
0.12.1
0.13.0
0.13.1
0.13.2
0.14.0
0.14.1
0.14.2
0.15.0
0.15.1
0.15.10
0.15.11
0.15.2
0.15.3
0.15.4
0.15.5
0.15.6
0.15.7
0.15.8
0.15.9
0.16.0
0.16.1
0.16.2
0.16.3
0.17.0
0.17.1
0.17.3
0.17.4
0.18.0
0.18.1
0.18.2
0.19.0
0.2.0
0.2.1
0.20.0
0.20.1
0.20.2
0.20.3
0.20.4
0.20.5
0.20.6
0.20.7
0.21.0
0.21.1
0.21.2
0.21.3
0.21.4
0.21.5
0.21.6
0.22.0
0.22.0b0
0.22.0b1
0.22.0b2
0.22.0b3
0.22.1
0.22.2
0.22.3
0.23.0
0.23.1
0.23.2
0.24.0
0.24.1
0.24.2
0.24.3
0.24.4
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.5.0
0.5.1
0.6.0
0.7.0
0.8.0
0.8.1
0.9.0
1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.1.0
1.1.1
1.1.2
1.2.0
1.2.1
1.3.0
1.3.0b0
1.3.0b1
1.3.1
1.3.2
1.3.3
1.4.0
1.4.1
1.5.0
1.5.1
1.5.2
1.6.0
1.8.0b0
1.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47942.json"