{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "31.5.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "3fed7ecfa6871d952d9946508ec85739796a59b2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v31.5.2",
                "range": [
                  {
                    "fixed": "45b2befa1d57af65124f0c9a076c20e1e79ef981"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "45b2befa1d57af65124f0c9a076c20e1e79ef981"
            },
            {
              "fixed": "3fed7ecfa6871d952d9946508ec85739796a59b2"
            }
          ],
          "repo": "https://github.com/jgraph/drawio-desktop",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-qg46-52fx-h7p8"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-426"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119333.json"
  },
  "details": "draw.io Desktop is the official Electron build of draw.io. Prior to 31.5.2, the Windows application launched powershell and attrib by bare executable name from src/main/electron.js. When draw.io Desktop was not already running, opening a diagram from File Explorer made the diagram directory the current working directory, allowing a colocated attacker-controlled powershell.bat or attrib.exe to be resolved before the intended system executable. A victim who extracted an attacker-supplied archive and cold-opened its legitimate .drawio file could therefore execute attacker-controlled code when Local Fonts were enabled or when draft or backup attributes were updated. This issue is fixed in version 31.5.2.",
  "id": "CVE-2026-119333",
  "modified": "2026-11-04T02:30:54.584683394Z",
  "published": "2026-10-30T19:59:51.737Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/jgraph/drawio-desktop/releases/tag/v31.5.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119333.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/jgraph/drawio-desktop/security/advisories/GHSA-qg46-52fx-h7p8"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119333"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jgraph/drawio-desktop/commit/3fed7ecfa6871d952d9946508ec85739796a59b2"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "draw.io Desktop allows Windows executable search-path hijacking"
}