{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2.1.4"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a79db1db6b940dbc4616df2d760cb25a81c1133f"
            }
          ],
          "repo": "https://github.com/balena-io/etcher",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30332.json"
  },
  "details": "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.",
  "id": "CVE-2026-30332",
  "modified": "2026-10-28T02:31:09.472795800Z",
  "published": "2026-04-02T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.balena.io/security"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30332.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30332"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/balena-io/etcher/issues/4500"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/B1tBreaker/CVE-2026-30332"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:C/UI:R",
      "type": "CVSS_V3"
    }
  ]
}