{"id":"CVE-2026-119333","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…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-426"],"vendor":"jgraph","product":"drawio-desktop","affected":["drawio-desktop < 31.5.2"],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-11-02T14:56:55.646557Z"},"exploitAvailable":true,"published":"2026-10-30","updated":"2026-11-02","sourceUpdated":"2026-11-02T14:57:15.884Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-119333","references":[{"url":"https://github.com/jgraph/drawio-desktop/security/advisories/GHSA-qg46-52fx-h7p8","label":"https://github.com/jgraph/drawio-desktop/security/advisories/GHSA-qg46-52fx-h7p8"},{"url":"https://github.com/jgraph/drawio-desktop/commit/3fed7ecfa6871d952d9946508ec85739796a59b2","label":"https://github.com/jgraph/drawio-desktop/commit/3fed7ecfa6871d952d9946508ec85739796a59b2"},{"url":"https://github.com/jgraph/drawio-desktop/releases/tag/v31.5.2","label":"https://github.com/jgraph/drawio-desktop/releases/tag/v31.5.2"}],"tags":["cve.org","exploit-available"],"epss":0.00136,"epssPercentile":0.03042,"ingestedAt":"2026-11-05T19:30:42.676Z","slug":"CVE-2026-119333","body":"## Overview\n\ndraw.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.\n\n## Affected\n\n- `drawio-desktop < 31.5.2`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":55,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[]}