CVE-2026-119333
Published:October 30, 2026
Updated:November 04, 2026
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 Packages
https://github.com/jgraph/drawio-desktop.git (GITHUB):
Affected version(s) >=v21.5.0 <v31.5.2 || >=v22.0.0 <v31.5.2 || >=v23.0.2 <v31.5.2 || >=v24.0.4 <v31.5.2 || >=v25.0.0 <v31.5.2 || >=v26.0.3 <v31.5.2 || >=v27.0.2 <v31.5.2 || >=v28.0.4 <v31.5.2 || >=v29.0.2 <v31.5.2 || >=v30.0.0 <v31.5.2 || >=v31.0.2 <v31.5.2Fix Suggestion:
Update to version v31.5.2Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.5
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Untrusted Search Path
EPSS
Base Score:
0.14