Skip to main content

Blueprint Studio EUVDEUVD-2026-61486

| CVE-2026-53455 HIGH
OS Command Injection (CWE-78)
2026-08-18 security-advisories@github.com
8.6
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to Home Assistant
  2. Delivery
    Access Blueprint Studio Git credential API
  3. Exploit
    Submit username/token containing embedded newline and shell payload
  4. Install
    Trigger Git operation in Blueprint Studio
  5. C2
    Git executes poisoned credential helper script
  6. Execute
    Injected commands run as Home Assistant OS user
  7. Impact
    Read or modify HA configuration data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must hold an authenticated Home Assistant session with access to Blueprint Studio's Git credential configuration API. Prior to v2.5.2 this API was reachable by any authenticated HA user, not exclusively admin accounts; the fix explicitly added admin-only enforcement. The attacker must supply a Git username or token value containing at least one newline character (\n), carriage return (\r), or null byte (\x00) followed by valid shell syntax. Exploitation is completed when a Git operation is subsequently initiated through Blueprint Studio, causing the generated credential helper to execute - the attacker can trigger this themselves without waiting for another user's interaction. Limiting factors: unauthenticated network access is insufficient (a valid HA account is required); the vulnerable code path is only reached when Blueprint Studio's Git functionality is actively configured and used; and the injection site is the credential helper script rather than a direct API response, so a Git operation must be triggered after credential injection.

Impact

The supplied CVSS 4.0 score of 8.6 with vector AV:N/AC:L/AT:N/PR:H/UI:N reflects high real-world impact when exploited, with full confidentiality, integrity, and availability compromise of the vulnerable system. However, the PR:H (high privileges required) metric warrants scrutiny against the commit diff evidence: prior to v2.5.2 the Blueprint Studio backend API was not restricted to admin users, meaning any authenticated Home Assistant user could invoke the credential-setting endpoint. The fix explicitly added admin-only enforcement to the entire API surface. This suggests the pre-patch effective privilege requirement was closer to PR:L, making the attack surface wider than PR:H implies. No EPSS data, CISA KEV listing, or public proof-of-concept was provided; exploitation is therefore assessed as not actively occurring at time of analysis. The attack requires an existing authenticated Home Assistant account, which limits the realistic threat to internal network actors or compromised accounts - unauthenticated external exploitation is not possible. Despite the network attack vector, this is not a zero-click internet-exposed flaw; it requires a logged-in HA session and the ability to initiate a Git credential configuration action.

Exploit ScenarioDerived

An authenticated Home Assistant user with access to Blueprint Studio's Git settings submits a repository configuration with a username value of user\necho PWNED > /config/pwned.txt (where \n is a literal newline). Blueprint Studio writes this unsanitized value into a generated shell credential helper script; when the user subsequently triggers a Git operation (such as a repository clone or pull), Git executes the helper, and the injected echo command runs with Home Assistant OS privileges, creating or overwriting files in the HA config directory. More sophisticated payloads could exfiltrate secrets.yaml or install a persistent backdoor. No public proof-of-concept exploit has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 18, 2026

OS command injection in Blueprint Studio before 2.5.2 allows authenticated Home Assistant users to execute arbitrary shell commands with Home Assistant's OS-level privileges by embedding newline characters or shell metacharacters into configured Git credential values. The vulnerable code in git_manager.py interpolated raw username and token values directly into generated shell credential helper scripts without any sanitization or validation. The fix, released in version 2.5.2 on 2026-05-26, adds input validation rejecting credentials containing newlines or null bytes and simultaneously restricts the entire Blueprint Studio backend API to admin-only users - no public exploit has been identified at time of analysis.

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 via HACS. Version 2.5.2 resolves this issue through two independent mechanisms: it validates all Git credential values against a strict regex rejecting newlines, carriage returns, and null bytes before they are written into helper scripts, and it restricts all Blueprint Studio backend, stream, and upload API endpoints to Home Assistant admin users only, eliminating access from non-admin authenticated users. If immediate upgrade is not feasible, restrict Home Assistant user accounts so that only vetted administrator accounts exist - removing or demoting non-admin user accounts blocks the primary attack path at the cost of reduced multi-user flexibility. Disabling the Blueprint Studio integration entirely via Home Assistant's integrations panel is the most effective compensating control, eliminating the attack surface completely but removing all file editor functionality.

Affected VersionsENISA

blueprint-studio < 2.5.2

Affected Packages

euvd blueprint_studio fix: 2.5.2

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 (HACS integration) providing a VS Code-like file editor for Home Assistant configuration files, maintained at github.com/ha-china/blueprint-studio. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command). Specifically, the module custom_components/blueprint_studio/backend/git_manager.py dynamically generated shell-based Git credential helper scripts by string-interpolating configured Git username and token values directly into executable shell script content. Because shell scripts interpret newline characters as command delimiters, an attacker who could supply a credential value containing a newline followed by arbitrary shell syntax would cause Git - when executing the generated helper - to run the injected commands. The injected commands inherited the OS privileges of the Home Assistant process. The fix introduced a _CREDENTIAL_SAFE compiled regex pattern and a _validate_git_credential() function that rejects any credential string containing carriage returns, newlines, or null bytes before the value is written into the helper script.

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

Vendor (github) PRIMARY 8.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

PR:L because the pre-fix API was accessible to any authenticated HA user, not admin-only; S:U because command execution remains within the HA OS context.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 18, 2026 - 22:04 EUVD
CVE Published
Aug 18, 2026 - 21:16 cve.org
HIGH 8.6

DescriptionCVE.org

Blueprint Studio is a VS Code-like file editor for Home Assistant configuration files. Prior to 2.5.2, Blueprint Studio generated a shell-based Git credential helper in custom_components/blueprint_studio/backend/git_manager.py by interpolating the configured Git username and token directly into executable helper script content without validating credential values. An attacker able to set Git credentials could include newline characters or shell syntax in a username or token. When Git executed the generated credential helper, the injected shell commands ran with the operating-system privileges of Home Assistant and could access or modify Home Assistant configuration data. This issue is fixed in version 2.5.2.

Executive ViewAI

Why It Matters

Blueprint Studio versions prior to 2.5.2 contain an OS command injection vulnerability allowing authenticated users to execute arbitrary system commands with administrative privileges, potentially compromising the security of Home Assistant deployments. Organizations using Blueprint Studio must prioritize immediate patching to prevent unauthorized system access.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
niche Home Assistant custom component, no enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy