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.
References
| Link | Resource |
|---|---|
| https://github.com/home-assistant-ecosystem/home-assistant-cli/pull/453 | Issue Tracking |
| https://github.com/home-assistant-ecosystem/home-assistant-cli/security/advisories/GHSA-33qf-q99x-wpm8 | Mitigation Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
27 Apr 2026, 19:43
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/home-assistant-ecosystem/home-assistant-cli/pull/453 - Issue Tracking | |
| References | () https://github.com/home-assistant-ecosystem/home-assistant-cli/security/advisories/GHSA-33qf-q99x-wpm8 - Mitigation, Vendor Advisory | |
| CPE | cpe:2.3:a:home-assistant-ecosystem:home_assistant_command-line_interface:*:*:*:*:*:*:*:* | |
| First Time |
Home-assistant-ecosystem
Home-assistant-ecosystem home Assistant Command-line Interface |
21 Apr 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-21 18:16
Updated : 2026-04-27 19:43
NVD link : CVE-2026-40602
Mitre link : CVE-2026-40602
CVE.ORG link : CVE-2026-40602
JSON object : View
Products Affected
home-assistant-ecosystem
- home_assistant_command-line_interface
