CVE-2026-119333
7.8 HIGHpublic exploit availablePublished 2026-10-30 · Updated 2026-11-02
AI risk analysis
- Summary
- The Windows build of draw.io Desktop prior to v31.5.2 searches for executables like powershell.exe and attrib.exe in the current working directory before the system PATH, enabling local code execution when a user opens a maliciously crafted .drawio file from an attacker-controlled directory.
- Exploitability
- Exploitation requires the victim to extract and open a malicious archive containing both a legitimate .drawio file and a malicious powershell.bat or attrib.exe in the same directory, with UI interaction (double-click) to trigger execution.
- Blast radius
- Successful exploitation grants full local system privileges to the attacker via arbitrary code execution under the user's context, potentially leading to data theft, lateral movement, or persistence.
- Detection
- Monitor for unexpected invocation of powershell.exe or attrib.exe from non-standard working directories (e.g., user downloads, temp folders) with command-line arguments related to file attribute manipulation or script execution; check Windows Event Log for ProcessCreation events (ID 4688) showing such patterns.
- Prioritized remediation
- Upgrade to draw.io Desktop version 31.5.2 or later, which fixes the insecure executable search path by using full paths for system executables.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-426
Public exploit & PoC 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
- https://github.com/jgraph/drawio-desktop/security/advisories/GHSA-qg46-52fx-h7p8
All 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
- https://github.com/jgraph/drawio-desktop/security/advisories/GHSA-qg46-52fx-h7p8
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-114094PoC
- HIGHCVE-2026-119979
- HIGHCVE-2026-83923
- CRITICALCVE-2026-90866
- CRITICALCVE-2021-48014PoC
- HIGHCVE-2026-100111
- HIGHCVE-2026-100112
- CRITICALCVE-2026-100202
Related by shared AI tags and CWE weakness class. Browse the full archive.