HOMEVULNERABILITIESCVE-2026-40602
MEDIUM

CVE-2026-40602

CWE-94Published: April 21, 2026· Updated: Apr 27, 2026

5.6
CVSS v3.1
EPSS:0.02%probability of exploitation in 30 daysPercentile:4.5th

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.

NVD Source

Technical Analysis

CVE-2026-40602 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires high privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), with a CVSS base score of 5.6.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityHigh
Privileges Req.High
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityNone
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N

Affected Vendors & Products

home-assistant-ecosystem1 product
home assistant command-line interface
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (2)

Quick Facts

CVE IDCVE-2026-40602
CVSS Score5.6 / 10
SeverityMEDIUM
WeaknessCWE-94
CISA KEVNo
EPSS (30d)0.02%
Affected1 vendor
PublishedApr 21, 2026

Related CVEs (CWE-94)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2026-40602 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.