What’s Vulnerable › Vulnerabilities
CVE-2026-119333: draw.io Desktop allows Windows executable search-path hijacking
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-30 · updated 2026-10-30
- Weakness: CWE-426
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.
Affected products
- jgraph drawio-desktop: before 31.5.2
References
- https://github.com/jgraph/drawio-desktop/commit/3fed7ecfa6871d952d9946508ec85739796a59b2
- https://github.com/jgraph/drawio-desktop/releases/tag/v31.5.2
- https://github.com/jgraph/drawio-desktop/security/advisories/GHSA-qg46-52fx-h7p8
Get alerted when CVE-2026-119333 or the next vulnerability affects your stack