CVE-2026-53457

Blueprint Studio terminal command working directory not bounded to config directory

Published Aug 18, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Blueprint Studio, a VS Code-like editor for Home Assistant, had a legacy terminal command execution path that accepted a working-directory parameter. The code only verified that the supplied directory existed but did not enforce that it resided within the Home Assistant configuration tree. An administrator using the restricted terminal helper could choose a directory outside the intended boundary, enabling commands to read or modify files on the host that the container and filesystem permissions allowed. This weakness, a classic path traversal error (CWE-22), weakens the helper’s file-system isolation and permits unauthorized access to host data.

Affected Systems

The vulnerability affects the ha-china blueprint-studio component for all releases prior to version 2.5.2. Specifically, any installation using component versions 2.5.1 or earlier is susceptible. The patch resolving the issue was released in the 2.5.2 release. Current users should verify they are on at least that version to remove the flaw.

Risk and Exploitability

With a CVSS base score of 5.1, the weakness is considered a moderate risk. The EPSS score is less than 1%, indicating a very low exploitation probability, and the vulnerability is not listed in CISA’s KEV catalog. The primary attack vector is local: an authenticated administrator who can invoke the restricted terminal helper can supply a non-config path, causing the helper to execute commands with that working directory. When the container runs with elevated privileges, the attacker may gain read or write access to host files, undermining confidentiality and integrity. Mitigation depends on applying the patch or ensuring the container runs with minimal privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Blueprint Studio to version 2.5.2 or later.
  • Run the Blueprint Studio container as a non‑root user and limit host filesystem mounts to only the directories required for operation.
  • Disable or restrict use of the legacy terminal helper for administrators who do not require it, and monitor for anomalous command execution.

Generated by OpenCVE AI on August 21, 2026 at 16:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Ha-china
Ha-china blueprint-studio
Vendors & Products Ha-china
Ha-china blueprint-studio
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Blueprint Studio terminal command working directory not bounded to config directory
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 19, 2026, 7:01 PM
Reserved
Jun 9, 2026, 4:31 PM
Status
Deferred
Published
Aug 18, 2026, 9:16 PM
Modified
Oct 22, 2026, 9:09 PM