{
  "id": "CVE-2026-119333",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-119333",
  "published_at": "2026-10-30T19:59:51.737Z",
  "title": "draw.io Desktop allows Windows executable search-path hijacking",
  "vendor": "jgraph",
  "product": "drawio-desktop",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-426",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "jgraph",
        "product": "drawio-desktop",
        "ranges": [
          "\u003c 31.5.2"
        ],
        "fixed_in": [
          "31.5.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade drawio-desktop to 31.5.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/jgraph/drawio-desktop/security/advisories/GHSA-qg46-52fx-h7p8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/jgraph/drawio-desktop/commit/3fed7ecfa6871d952d9946508ec85739796a59b2"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/jgraph/drawio-desktop/releases/tag/v31.5.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
