Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local access to target system
-
ExploitMonitor Balena Etcher flashing process
-
ExecutionReplace legitimate script with malicious payload
-
ImpactExecute arbitrary code with escalated privileges
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Requires local access to Windows system running Balena Etcher prior to v2.1.4. Attacker must have low privileges and ability to monitor/replace script files during active flashing process. User interaction needed: victim must initiate device flashing operation while attacker performs file replacement race. |
| Impact | Real-world risk is MODERATE despite the 7.5 CVSS score. Critical mitigating factors include the LOCAL attack vector (AV:L) requiring physical or remote access to the target system, HIGH attack complexity (AC:H) indicating the race condition timing window is difficult to reliably exploit, low privilege requirements (PR:L), and mandatory user interaction (UI:R) as victims must actively use Etcher's flashing functionality. The scope change and high impact ratings reflect serious consequences if successfully exploited, but the practical exploitation difficulty is substantial. No confirmed active exploitation (not in CISA KEV), though researcher B1tBreaker has published technical details. This is primarily an opportunistic local privilege escalation vector rather than a mass-exploitation threat. Organizations using Etcher in multi-user Windows environments or automated imaging workflows face elevated risk. The availability of version 2.1.4 as a complete fix significantly reduces ongoing exposure for patched systems. |
| Exploit ScenarioDerived | An attacker with standard user privileges on a shared Windows workstation waits for an administrator to launch Balena Etcher to flash a USB drive with an operating system image. During the brief window when Etcher validates a legitimate PowerShell script before executing it with elevated privileges, the attacker uses a separate process to monitor file system events and atomically replaces the script with malicious code. Due to the race condition, Etcher executes the attacker's payload with SYSTEM or administrator privileges, allowing installation of persistent backdoors, credential harvesting tools, or lateral movement malware. The high attack complexity stems from needing precise timing to win the race condition, but patient attackers in persistent access scenarios could achieve reliable exploitation through repeated attempts. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 02, 2026
TOCTOU race condition in Balena Etcher for Windows (versions prior to 2.1.4) enables local privilege escalation to arbitrary code execution when attackers replace legitimate scripts with malicious payloads during disk flashing operations. The vulnerability requires low privileges and user interaction but achieves high impact across confidentiality, integrity, and availability with scope change. No public exploit identified at time of analysis, though technical details are available via researcher disclosure (B1tBreaker). EPSS data not available, but the local attack vector and high complexity reduce immediate remote exploitation risk.
RemediationAI
Upgrade Balena Etcher to version 2.1.4 or later, which contains fixes for the TOCTOU race condition vulnerability. Download the patched release from the official Balena Etcher website or GitHub releases page at github.com/balena-io/etcher. Organizations should verify the installed version and deploy the update through software management systems. Until patching is complete, implement compensating controls including restricting Etcher usage to trusted administrators only, monitoring for unauthorized script modifications in Etcher's working directories, and running Etcher in isolated environments when processing untrusted disk images. Review Balena's security advisory at balena.io/security and GitHub issue 4500 for additional vendor guidance. No effective workaround exists that fully mitigates the race condition without upgrading, as the vulnerability is inherent to the application's script handling logic in affected versions.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Balena Etcher is a popular open-source disk image flashing utility for creating bootable USB drives and SD cards. This vulnerability exploits a Time-of-Check to Time-of-Use (TOCTOU) race condition in the Windows implementation, where the application validates a script file's legitimacy but fails to maintain exclusive control between verification and execution. An attacker with local access can exploit the time window between these operations to atomically replace the validated script with malicious code, which then executes with Etcher's elevated privileges. TOCTOU vulnerabilities are a classic concurrency issue where the state of a resource changes between security check and resource use, bypassing access controls. The scope change (S:C) in the CVSS vector indicates the vulnerability allows breaking out of Etcher's security boundary to impact other system resources.
Know when N A gets its next vulnerability
- 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
AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Primary rating from Vendor (mitre) · only source for this CVE.
CVSS VectorVendor: mitre
DescriptionCVE.org
A Time-of-Check to Time-of-Use (TOCTOU) race condition vulnerability in Balena Etcher for Windows prior to v2.1.4 allows attackers to escalate privileges and execute arbitrary code via replacing a legitimate script with a crafted payload during the flashing process.
Executive ViewAI
Balena Etcher for Windows versions before 2.1.4 contain a local privilege escalation vulnerability that allows low-privileged users to execute arbitrary code by exploiting a race condition during disk flashing operations. This affects any organization using Etcher for system imaging or device provisioning, potentially allowing insider threats or compromised accounts to gain full system control on affected machines.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict Balena Etcher execution to trusted administrative users only; disable or limit local user account creation on systems where Etcher is deployed; implement application whitelisting to prevent unsigned script execution during Etcher operations; use read-only file systems or immutable storage configurations for disk flashing workflows where technically feasible.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-18350
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB