CVE-2026-40602 — The Home Assistant Command-line interface (hass-cli) is a
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 instead of a sandboxed one. The user-supplied input within Jinja2 templates was rendered
What This Means For You
- If your environment is affected by CWE-94, CWE-1336, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-40602 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
3 rules · 6 SIEM formats3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-40602 - hass-cli Jinja2 Template Injection - Python Access
Sigma YAML — free preview
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-40602 | vulnerability | CVE-2026-40602 |
| CWE-94 | weakness | CWE-94 |
| CWE-1336 | weakness | CWE-1336 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | April 21, 2026 at 21:16 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.