Home Assistant Command-line Interface: Handling of user-supplied Jinja2 templates
Prior to 1.0.0, hass-cli allowed unsandboxed Jinja2 templates enabling local code execution; patch uses ImmutableSandboxedEnvironment and environment variable restrictions; workarounds include evaluating templates manually or with tools before rendering.
| Reporter | Title | Published | Views | Family All 15 |
|---|---|---|---|---|
| Home Assistant Code Injection Vulnerability | 21 Apr 202600:00 | – | cnnvd | |
| CVE-2026-40602 | 21 Apr 202617:40 | – | cve | |
| CVE-2026-40602 hass-cli: Handling of user-supplied Jinja2 templates | 21 Apr 202617:40 | – | cvelist | |
| CVE-2026-40602 | 21 Apr 202617:40 | – | mend | |
| CVE-2026-40602 | 21 Apr 202618:16 | – | nvd | |
| CVE-2026-40602 hass-cli: Handling of user-supplied Jinja2 templates | 21 Apr 202617:40 | – | osv_cve | |
| GHSA-33QF-Q99X-WPM8 Home Assistant Command-line Interface: Handling of user-supplied Jinja2 templates | 16 Apr 202621:28 | – | osv_ghsa | |
| PYSEC-2026-2518 Home Assistant Command-line Interface: Handling of user-supplied Jinja2 templates | 13 Jul 202615:02 | – | osv_pysec | |
| PT-2026-33382 | 16 Apr 202600:00 | – | ptsecurity | |
| PT-2026-59179 | 13 Jul 202600:00 | – | ptsecurity |
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation