
CVE catalog
CVE-2026-40602
The Home Assistant Command-line interface (hass-cli) is a command-line tool for Home Assistant. Up to 1.0.0 of home-assitant-cli an unrestricted environment was used to handle Jninja2 templates instea
- Severity
- High · CVSS 8.2
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.10% · Oct 25, 2026
The Home Assistant Command-line interface (hass-cli) is a command-line tool for Home Assistant. Up to 1.0.0 of home-assitant-cli an unrestricted environment was used to handle Jninja2 templates instead of a sandboxed one. The user-supplied input within Jinja2 templates was rendered locally with no restrictions. This gave users access to Python's internals and extended the scope of templating beyond the intended usage. This vulnerability is fixed in 1.0.0.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Cpe | home_assistant_command-line_interface | Not reported | 1.0.0 | fixed |
| Cpe | home_assistant_command-line_interface | Not reported | 1.0.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Cpe | home_assistant_command-line_interface | cpe | Not reported | 1.0.0 | Not reported | Not reported | Not reported |
| Cpe | home_assistant_command-line_interface | cpe | Not reported | 1.0.0 | Not reported | NVD-CVE-2026-40602 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://github.com/home-assistant-ecosystem/home-assistant-cli/pull/453]
- [https://github.com/home-assistant-ecosystem/home-assistant-cli/security/advisories/GHSA-33qf-q99x-wpm8]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40602]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40602.json]
[FIRST EPSS] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]