draw.io Desktop allows Windows executable search-path hijacking
Impact
draw.io Desktop versions prior to 31.5.2 are vulnerable to search-path hijacking on Windows, allowing an attacker to execute controlled code when a victim opens a diagram from File Explorer. The attacker must have access to the victim's system to colocate a malicious powershell.bat or attrib.exe. This issue is fixed in version 31.5.2.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
jgraph · GitHub_M
drawio-desktop
1 range
jgraph · GitHub_M
drawio-desktop
Compare with this publisher’s ranges. This does not inspect your installation.
affected
< 31.5.2
Other versions: unknown
Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-119333View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.