Advisory record · GHSA-33qf-q99x-wpm8

Home Assistant Command-line Interface: Handling of user-supplied Jinja2 templates

CVSS 5.6 MediumEPSS 0.0010 · 1st percentile

Published by the GitHub Advisory Database at 16 Apr 2026, 21:28 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
homeassistant-cliPyPI<1.0.01.0.0
Identifiers
GHSA-33qf-q99x-wpm8 · CVE-2026-40602 · PYSEC-2026-2518
Weakness (CWE)
CWE-94 · CWE-1336
Published
16 Apr 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Home Assistant Command-line Interface (homeassistant-cli) versions before 1.0.0 render user-supplied Jinja2 templates locally in an unrestricted environment rather than a sandboxed one. A user who is tricked into downloading a malicious template and rendering it with the local option can run arbitrary code on their own machine; the issue does not affect remote Home Assistant instances. Upgrade to 1.0.0, which uses a sandboxed environment. Until then, review templates before rendering them.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.6 Medium 3.1 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0010, the 1st percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:03 UTC First seen by agentprime
  2. 31 Oct 2026, 15:03 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.