Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-40602
home-assistant-ecosystem home assistant command-line interface

Score5.6 Medium
CVSS 3.1
Exploit probability (EPSS)0.15%
within the next 30 days
CategoryCode execution & injection
Published21 April 2026
Last modified: 26 October 2026

In short

This vulnerability can be exploited with local access to the device, with administrator privileges, if a user clicks a link, opens a file or similar.

A successful attack has high impact: reading confidential data, modifying data.

Special conditions are required for a successful attack, which makes exploitation harder.

Weakness type: Code injection.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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.

CVSS: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N

Weakness: CWE-94 – Code injection, CWE-1336

Affected products

VendorProductVersions
home-assistant-ecosystemhome assistant command-line interface<1.0.0

Sources

Latest in the same category

  • CVE-2026-139857 Low 2.1
    A vulnerability was detected in Dromara Jpom up to 2.11.14. The affected element is the function toIndex of the file modules/server/src/main/java/org/dromara/jpom/controller/IndexControl.java of the component Web…
    Code execution & injection · 30 November 2026
  • CVE-2026-139856 Medium 5.5
    A security vulnerability has been detected in Dromara Jpom up to 2.11.13. Impacted is the function listPage of the file BaseDbService.java. The manipulation of the argument order_field leads to sql injection. The…
    Code execution & injection · 30 November 2026
  • CVE-2026-137199 Critical 9.2
    cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.7 and 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be vulnerable because…
    Code execution & injection · 30 November 2026
  • CVE-2026-137198 High 8.3
    cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. From 6.0.6 until 6.0.7 and from 7.0.4 until 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be…
    Code execution & injection · 30 November 2026
  • CVE-2026-137197 High 8.1
    cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.8 and 7.1.1, applications running on Windows that pass untrusted arguments can be vulnerable when a command sent through cmd.exe is…
    Code execution & injection · 30 November 2026
  • CVE-2026-137190 High 7
    Vite+ is a unified toolchain and entry point for web development. From 0.3.3 until 1.5.1, the global vp command line interface's vp env use path can place an unvalidated package-manager version from a…
    Code execution & injection · 30 November 2026