{"id":"CVE-2026-119333","summary":"draw.io Desktop allows Windows executable search-path hijacking","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.","aliases":["GHSA-qg46-52fx-h7p8"],"modified":"2026-11-04T02:30:54.584683394Z","published":"2026-10-30T19:59:51.737Z","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"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jgraph/drawio-desktop","events":[{"introduced":"0"},{"fixed":"45b2befa1d57af65124f0c9a076c20e1e79ef981"},{"fixed":"3fed7ecfa6871d952d9946508ec85739796a59b2"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"31.5.2"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"3fed7ecfa6871d952d9946508ec85739796a59b2"}]},{"original_tag":"v31.5.2","range":[{"fixed":"45b2befa1d57af65124f0c9a076c20e1e79ef981"}],"source":"REFERENCES_TAG"}]}}],"versions":["v31.4.4","v31.3.1","v31.1.5","v30.3.14","v30.3.13","v30.3.6","v29.6.6","v20.2.6","v20.2.3","20.2.3","v19.0.3","v19.0.2","v19.0.0","v18.1.3","v18.0.6","v18.0.4","v18.0.1","v18.0.0","v17.5.0","v17.4.2","v17.2.4","v17.1.5","v16.5.1","v16.4.11","v16.3.0","v16.1.2","v16.0.2","v16.0.0","v15.8.7","v15.8.4","v15.7.3","v15.7.1","v15.4.0","v15.3.7","v15.3.5","v15.2.7","v15.2.6","v15.2.5","v15.1.3","v0.0.1","v15.1.1","v15.1.2","v14.9.6","v14.6.13","v14.6.11","v14.5.1","v14.4.3","v14.4.2","v14.4.0","v14.1.8","v14.1.5","v14.1.4","v14.1.3","v13.9.20","v13.10.0.2","v13.10.0.1","v13.10.0","v13.9.9","v13.9.8","v13.9.5","v13.7.9","v13.7.8","v13.7.3","v13.7.2","v13.6.2","v13.5.7","v13.5.1","v13.4.5","v13.4.4","v13.3.9","v13.3.5","v13.3.1","v13.2.5","v13.2.4","v13.2.2","v13.2.1","v13.0.3","v13.0.2","v13.0.1","v13.0.0","v12.9.13","v12.9.9","v12.9.3","v12.9.2","v12.6.5","v12.5.3","v12.4.2","v12.4.1","v12.4.0","v12.3.2","v12.2.2","v12.1.7","v12.1.4","v12.1.0","v11.3.0","v11.2.5","v11.2.4","v11.1.4","v11.1.1","v10.9.5","v10.8.0","v10.7.7","v10.6.5","v9.3.1","v8.8.0","v8.7.1","v8.6.5","v8.6.4","v8.4.7","v8.0.6","v7.9.5","v7.8.7","v7.8.4","v7.7.3","v7.7.2","v7.6.6","v7.5.5","v7.4.3","v7.3.5","v7.1.9","v7.1.6","v7.1.3","v7.1.2","v7.2.3","v7.2.1","v7.1.0","v7.0.8","v7.0.5","v7.0.4","v6.4.3","test6","test5","test4","test3","test2","test1","v6.3.1","v6.3.0","v6.2.9","v6.2.10"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119333.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}