CVE catalog

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 instea

[CVE catalog]

Severity
High · CVSS 8.2CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.10% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Cpehome_assistant_command-line_interfaceNot reported1.0.0fixed
Cpehome_assistant_command-line_interfaceNot reported1.0.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Cpehome_assistant_command-line_interfacecpeNot reported1.0.0Not reportedNot reportedNot reported
Cpehome_assistant_command-line_interfacecpeNot reported1.0.0Not reportedNVD-CVE-2026-40602Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References