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.
Severity (CVSS)
| Base score | 7.8 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-426 — CWE-426: Untrusted Search Path
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jgraph | drawio-desktop | < 31.5.2 [affected] |
References
- https://github.com/jgraph/drawio-desktop/security/advisories/GHSA-qg46-52fx-h7p8 (x_refsource_CONFIRM)
- https://github.com/jgraph/drawio-desktop/commit/3fed7ecfa6871d952d9946508ec85739796a59b2 (x_refsource_MISC)
- https://github.com/jgraph/drawio-desktop/releases/tag/v31.5.2 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 31 Oct 2026 07:01 UTC.