{"id":"CVE-2026-119333","aliases":["CVE-2026-119333"],"related":[],"kind":"vulnerability","state":"published","title":"draw.io Desktop allows Windows executable search-path hijacking","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-30T19:59:51.737Z","modified":"2026-11-02T19:14:53.030Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-426"],"affected":[{"ranges":[{"version":"< 31.5.2","status":"affected"}],"vendor":"jgraph","product":"drawio-desktop","source":"cvelist"}],"references":[{"url":"https://github.com/jgraph/drawio-desktop/security/advisories/GHSA-qg46-52fx-h7p8","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/jgraph/drawio-desktop/commit/3fed7ecfa6871d952d9946508ec85739796a59b2","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/jgraph/drawio-desktop/releases/tag/v31.5.2","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-02T14:56:55.646Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-119333","url":"https://www.cve.org/CVERecord?id=CVE-2026-119333","licence":"CVE Terms of Use","modified":"2026-11-02T14:57:15.884Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-119333","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119333","licence":"Public domain","modified":"2026-11-02T19:14:53.030Z"}],"updatedAt":"2026-11-25T22:59:48.015Z","epss":{"score":0.00252,"percentile":0.17747,"date":"2026-12-01T12:00:22.000Z"}}