Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local read access to HA config directory
-
DeliveryWait for Blueprint Studio SSH key auth terminal session to initiate
-
ExploitIdentify temporary private key file written to config directory
-
ExecutionRecover key before or after failed cleanup
-
ImpactAuthenticate to external SSH target host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V6 - Authentication Credential protection in transit/storage
|
| Exploitation Conditions | Exploitation requires all of the following conditions to be simultaneously true: (1) Blueprint Studio's terminal feature is configured to use SSH key authentication - installations that do not use this specific terminal feature are not affected; (2) the attacker has local read access to the Home Assistant configuration directory, which in practice means either a privileged OS account, a co-located process or add-on with config directory access, or physical access to the host; (3) a cleanup failure occurred - either because Home Assistant crashed before the deletion step ran, or an exception prevented cleanup. The CVSS 4.0 PR:H metric confirms high-privilege local access is required on the vulnerable system. Exploitation is not possible from the network (AV:L), cannot be triggered remotely, and does not affect deployments where SSH key auth in the terminal is unused or the HA config directory is strictly isolated. |
| Impact | The CVSS 4.0 score of 5.6 (Medium) with AV:L, PR:H, and AT:P accurately reflects a tightly constrained attack surface: exploitation requires local filesystem access to the HA configuration directory, high privileges on the vulnerable system, and the specific condition that the SSH key authentication feature is in active use with a cleanup failure or crash. EPSS data was not provided in the source intelligence, so exploitation probability cannot be quantified from that signal. There is no CISA KEV listing and no public exploit code identified, making this a low-urgency issue in terms of active threat. The VC:H impact is real - SSH private keys could grant access to external systems - but the attacker must already be positioned with privileged local access, substantially limiting the realistic threat population. The 'Denial of Service' tag present in the ENISA EUVD record appears to be a misclassification: the CVSS vector shows no availability impact (VA:N/SA:N) and the vulnerability is a credential disclosure issue, not a DoS; security teams should disregard that tag. Priority should be upgrade-at-next-maintenance-window rather than emergency response. |
| Exploit ScenarioDerived | An attacker with read access to the Home Assistant configuration directory - such as a co-located Home Assistant add-on that mounts the config directory, or a local OS user account - monitors the directory for temporary SSH private key files written by Blueprint Studio's terminal manager during active SSH authentication sessions. If the Home Assistant process crashes or the cleanup routine throws an exception before deleting the key file, the attacker reads the persisted file and obtains valid SSH credentials for the remote target configured in the terminal. No public exploit code has been identified at the time of this analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
SSH private key material in Blueprint Studio versions prior to 2.5.2 was temporarily written to disk under the Home Assistant configuration directory during terminal SSH authentication sessions, with permissions hardened only after the write and cleanup performed on a best-effort basis. Any user or co-located process with read access to the HA configuration directory could recover the residual key if cleanup was skipped due to a crash or exception. The fix in 2.5.2 eliminates the disk write entirely by switching to in-memory Paramiko sessions. No public exploit has been identified and this CVE is not listed in the CISA KEV catalog.
RemediationAI
Upgrade Blueprint Studio to version 2.5.2 or later, available at https://github.com/ha-china/blueprint-studio/releases/tag/v2.5.2 and documented in the security advisory GHSA-3vg8-xf27-7q45 at https://github.com/ha-china/blueprint-studio/security/advisories/GHSA-3vg8-xf27-7q45. The fix replaces the disk-based key file pattern with in-memory Paramiko sessions, eliminating the temporary file entirely. If immediate upgrade is not possible, disable the terminal SSH key authentication feature within Blueprint Studio to ensure the vulnerable code path in terminal_manager.py is not exercised. Additionally, restrict read access to the Home Assistant configuration directory to the minimum required processes and accounts, reducing the window of opportunity for any residual key recovery. As a post-remediation step, audit the Home Assistant configuration directory for any orphaned SSH private key files that may have persisted from prior sessions and delete them securely.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Blueprint Studio is a Home Assistant custom component (custom_components/blueprint_studio) providing a VS Code-like editor with terminal functionality that supports SSH key authentication, implemented via terminal_manager.py using the Paramiko SSH library. The root cause is CWE-522 (Insufficiently Protected Credentials): the implementation followed a write-then-chmod-then-delete pattern for SSH private key files. This creates both a transient exposure window between the write and the permission-hardening step, and a persistent exposure risk if the cleanup step is never reached - for example, following a Python exception or a Home Assistant process crash. The CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:H) confirms the attack surface is entirely local and conditional on the SSH key auth feature being actively used. No CPE strings were included in the source intelligence; the affected component is identified by EUVD as blueprint-studio < 2.5.2.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Local vector with high complexity because cleanup failure or crash must occur; PR:H for config directory access; confidentiality-only impact from key disclosure.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
Blueprint Studio is a VS Code-like file editor for Home Assistant configuration files. Prior to 2.5.2, Blueprint Studio terminal SSH key authentication in custom_components/blueprint_studio/backend/terminal_manager.py wrote SSH private-key material to a file under the Home Assistant configuration directory before applying restrictive permissions and relied on best-effort cleanup. The key could temporarily remain on disk and could persist if cleanup failed or Home Assistant crashed. A user or process with filesystem access to the Home Assistant configuration directory could obtain the residual private key. This issue is fixed in version 2.5.2.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-61487
NVD
CVE.org
EPSS
GitHub
Exploit-DB