cvedb.io
CVE-2026-40602
MEDIUM · CVSS 5.6
EPSS exploitation probability: 0%
Published 2026-04-21T18:16:51.827 · Last modified 2026-06-17T10:45:31.133

Summary

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.

Affected products

home-assistant-ecosystem — home_assistant_command-line_interface

Does this affect you?

Add your gear to cvedb and we'll alert you only when home-assistant-ecosystem ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.