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.
Published: 2026-08-18
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 21 Aug 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Ha-china
Ha-china blueprint-studio
Vendors & Products Ha-china
Ha-china blueprint-studio

Wed, 19 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 18 Aug 2026 21:00:00 +0000

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'}


Subscriptions

Ha-china Blueprint-studio
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T19:01:58.141Z

Reserved: 2026-06-09T16:31:21.495Z

Link: CVE-2026-53457

cve-icon Vulnrichment

Updated: 2026-08-19T19:01:53.930Z

cve-icon NVD

Status : Received

Published: 2026-08-18T21:16:35.570

Modified: 2026-08-19T19:17:19.403

Link: CVE-2026-53457

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T17:00:04Z

Weaknesses
  • CWE-22

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