CVE-2026-53457
JSON

5.1medium

Blueprint Studio terminal command working directory not bounded to config directory

Severity
5.1medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.62% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

Blueprint Studio is a VS Code-like file editor for Home Assistant configuration files. Prior to 2.5.2, the legacy stateless terminal command execution path in custom_components/blueprint_studio/backend/terminal_manager.py accepted a cwd working-directory parameter and checked only whether the directory existed, without requiring it to remain inside the Home Assistant configuration directory. An administrator using the restricted terminal helper could select an existing directory outside the intended configuration boundary. Commands could then access or modify host paths permitted by the Home Assistant container and filesystem permissions, weakening the helper's expected filesystem restriction. This issue is fixed in version 2.5.2.

Affected

Product or packageVersionsReported by
ha-china blueprint-studio< 2.5.2CVE List

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Blueprint Studio is a VS Code-like file editor for Home Assistant configuration files. Prior to 2.5.2, the legacy stateless terminal command execution path in custom_components/blueprint_studio/backend/terminal_manager.py accepted a cwd working-directory parameter and checked only whether the directory existed, without requiring it to remain inside the Home Assistant configuration directory. An administrator using the restricted terminal helper could select an existing directory outside the intended configuration boundary. Commands could then access or modify host paths permitted by the Home Assistant container and filesystem permissions, weakening the helper's expected filesystem restriction. This issue is fixed in version 2.5.2.

NVD (es)

Blueprint Studio es un editor de archivos similar a VS Code para los archivos de configuración de Home Assistant. Antes de la versión 2.5.2, la ruta de ejecución de comandos de terminal sin estado heredada en custom_components/blueprint_studio/backend/terminal_manager.py aceptaba un parámetro ’cwd’ de directorio de trabajo y solo verificaba si el directorio existía, sin requerir que permaneciera dentro del directorio de configuración de Home Assistant. Un administrador que utilizaba el asistente de terminal restringido podía seleccionar un directorio existente fuera del límite de configuración previsto. Los comandos podían entonces acceder o modificar rutas del host permitidas por el contenedor de Home Assistant y los permisos del sistema de archivos, debilitando la restricción esperada del sistema de archivos del asistente. Este problema se solucionó en la versión 2.5.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53457 changed 2026-08-19CVE Terms of Use
NVDCVE-2026-53457 changed 2026-10-22Public domain