GHSA-33qf-q99x-wpm8 · Severity: medium · Ecosystem: pip — Home Assistant Command-line Interface: Handling of user-supplied Jinja2 templates
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.
Conclusion & alert: CVE-2026-40602 is rated Low Risk (24/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.02%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-22 | — | 0.02% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.6 | 3.1 | MEDIUM |
|
0.3 | 5.2 | [email protected] |
GHSA-33qf-q99x-wpm8 · Severity: medium · Ecosystem: pip — Home Assistant Command-line Interface: Handling of user-supplied Jinja2 templates
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| home-assistant-ecosystem | home_assistant_command-line_interface | < 1.0.0 | cpe:2.3:a:home-assistant-ecosystem:home_assistant_command-line_interface:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| 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 |