Skip to main content

draw.io Desktop EUVDEUVD-2026-114398

| CVE-2026-119333 HIGH
Untrusted Search Path (CWE-426)
2026-10-30 security-advisories@github.com
7.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft archive with legitimate .drawio and malicious powershell.bat/attrib.exe
  2. Delivery
    Deliver archive to victim
  3. Exploit
    Victim extracts and cold-opens .drawio, making folder the CWD
  4. Execution
    draw.io resolves attacker binary from working directory ahead of System32
  5. Impact
    Arbitrary code execution in victim's user context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
Exploitation Conditions

Windows only. draw.io Desktop must NOT already be running so that cold-opening a diagram from File Explorer makes the diagram's folder the current working directory. The victim must extract an attacker-supplied archive and open the legitimate .drawio file from that attacker-controlled directory (required user interaction). The powershell.exe hijack path triggers only when the Local Fonts feature is enabled; the attrib.exe hijack path triggers when draft or backup file attributes are updated (e.g. on automatic save). Limiting factors: local vector only (no network reach), dependence on victim extracting and opening the file while the app is closed, and the Local-Fonts/draft-backup conditions. Affected versions <=31.4.5; fixed in 31.5.2, which invokes system binaries by absolute System32 path and sets NoDefaultCurrentDirectoryInExePath.

Impact

CVSS base score is 7.8 (High) with vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, reflecting a local, user-interaction-dependent attack that yields full confidentiality, integrity and availability impact via arbitrary code execution in the user's context. This is a genuine code-execution flaw (CWE-426, untrusted search path), not merely an information-disclosure issue as one input tag suggests. The vendor priority label is 'this_week', consistent with a serious but not emergency-grade issue. No CISA KEV listing is present in the input, so there is no confirmed active exploitation; no EPSS score was supplied, so statistical exploitation probability cannot be weighed. A detailed step-by-step PoC is published in the GHSA advisory, but the input does not mark it as verified working exploit code, so treat it as a public PoC reference rather than a confirmed weaponized exploit. The real-world risk is tempered by the local attack vector and the requirement that the victim extract an attacker-supplied archive and cold-open a legitimate .drawio file while draw.io Desktop is not already running (so Explorer sets the diagram folder as the working directory) - a realistic social-engineering/supply-of-archive scenario but one that depends on victim action and timing rather than remote network reachability. Net: a credible this-week priority for Windows draw.io Desktop users, especially where archives from untrusted sources are opened, but not an internet-facing mass-exploitation threat.

Exploit ScenarioDerived

An attacker builds a ZIP archive containing a legitimate .drawio diagram alongside a malicious powershell.bat or attrib.exe and delivers it to a victim (e.g. by email or download). The victim extracts the archive and double-clicks the .drawio file from the extracted folder while draw.io Desktop is closed, so that folder becomes the process working directory; draw.io then resolves the attacker's colocated binary ahead of the genuine Windows system executable (when Local Fonts are enabled, or when draft/backup file attributes are set), executing attacker code in the victim's context. A detailed PoC exists in the GHSA advisory, though it is not marked as verified working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 30, 2026

Arbitrary code execution on Windows in draw.io Desktop 31.4.5 and earlier stems from the Electron shell launching powershell and attrib by bare executable name, letting Windows resolve a same-named file from the diagram's own folder instead of System32. Exploitation requires the victim to extract an attacker-supplied archive and cold-open its legitimate .drawio file from that directory (the app must not already be running), with the powershell path firing when Local Fonts are enabled and the attrib path firing when draft or backup attributes are updated. The advisory publishes manual reproduction steps, so a public PoC reference exists; it is not verified as working exploit code, and there is no KEV entry or active-exploitation signal. Version 31.5.2 fixes the issue by invoking system binaries via absolute System32 paths, switching to execFile, and setting NoDefaultCurrentDirectoryInExePath; CVSS is 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

RemediationAI

Upgrade to draw.io Desktop 31.5.2 or later - the vendor-released patch for this issue. The fix commit (https://github.com/jgraph/drawio-desktop/commit/3fed7ecfa6871d952d9946508ec85739796a59b2) resolves every Windows system binary through the new getSystem32Path helper in src/main/system-path.js, replaces the powershell exec string with execFile against the absolute PowerShell path, and sets NoDefaultCurrentDirectoryInExePath=1 at application startup so libuv and cmd.exe do not search the working directory for the remaining dependency-launched programs. The advisory and release notes (https://github.com/jgraph/drawio-desktop/releases/tag/v31.5.2) document no supported workaround other than updating; the residual exposure while unpatched is confined to Windows and to the scenario described in the report, so until the upgrade can be deployed, treat cold-opening .drawio files from directories created by extracting untrusted archives as the risk-bearing action. Note that disabling the Local Fonts feature only removes the powershell hijack path - the attrib.exe path is still reachable whenever draft or backup attributes are written - so feature-level mitigation is incomplete and should not be treated as a substitute for the 31.5.2 upgrade.

Affected VersionsENISA

drawio-desktop < 31.5.2

Affected Packages

euvd drawio_desktop fix: 31.5.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-426 (Untrusted Search Path) in the main Electron process of draw.io Desktop on Windows. src/main/electron.js used child_process.spawn('attrib', ...) in saveDraft and saveFile to set hidden attributes on draft and backup files, and built a powershell -NoProfile -command string passed to exec inside getLocalFonts() to enumerate System.Drawing.Text.InstalledFontCollection families. Because no absolute path is supplied, Windows performs executable resolution at launch time, searching the current working directory ahead of the system locations; when a diagram is cold-opened from File Explorer while the app is not running, the diagram's folder becomes the working directory, so a colocated powershell.bat or attrib.exe can win the race against the intended system binary. The upstream fix commit introduces src/main/system-path.js with a getSystem32Path helper (with unit tests wired into npm test), rewrites both attrib call sites to getSystem32Path('attrib.exe'), replaces the powershell exec string with execFile(getSystem32Path('WindowsPowerShell\\v1.0\\powershell.exe'), ['-NoProfile','-command', ...]), and sets process.env.NoDefaultCurrentDirectoryInExePath = '1' at startup so that cmd.exe and libuv skip the working directory for dependencies that still start programs by bare name (electron-updater's signature check runs chcp and powershell.exe through cmd.exe). The trigger conditions are confirmed for the Local Fonts path and the draft/backup attribute-update path; Windows is the only affected deployment mode described, and the Linux fc-list branch uses a fixed binary name.

Know when Windows gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local execution via opening a colocated file (AV:L, UI:R); no privileges needed (PR:N); the attrib path triggers on routine save with low complexity (AC:L); code execution gives C/I/A High.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Oct 30, 2026 - 21:18 EUVD
CVE Published
Oct 30, 2026 - 20:17 cve.org
HIGH 7.8

DescriptionCVE.org

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.

Technical POC Analysis

CWE-426, untrusted search path, in the Electron main process of draw.io Desktop, file src/main/electron.js.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-119333 is a high-severity vulnerability in draw.io Desktop 31.4.5 and earlier that allows attackers to execute arbitrary code on Windows systems. Since draw.io is commonly used for diagramming and may be installed on many employee workstations, successful exploitation could lead to unauthorized access to sensitive data, system compromise, and potential lateral movement within the network. Leadership should prioritize remediation because the vulnerability is easy to exploit (requiring only user interaction) and has a high impact on confidentiality and integrity, affecting the entire organization if left unpatched.

Business Impact: High
Compensating Controls

Vendor-released patch: 31.5.2

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
popular diagramming tool but Windows desktop Electron build has a moderate install base
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2025-52691 CRITICAL POC
10.0 Dec 29

Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio

CVE-2019-0803 HIGH POC
7.8 Apr 09

Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in

CVE-2020-1472 MEDIUM POC
5.5 Aug 17

A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr

CVE-2025-33053 HIGH POC
8.8 Jun 10

Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables

CVE-2025-33073 HIGH POC
8.8 Jun 10

Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker

CVE-2013-10047 CRITICAL POC
9.3 Aug 01

An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote

CVE-2012-10030 CRITICAL POC
9.3 Aug 05

FreeFloat FTP Server contains multiple critical design flaws that allow unauthenticated remote attackers to upload arbit

CVE-2025-34101 CRITICAL POC
9.3 Jul 10

Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio

CVE-2025-34095 CRITICAL POC
9.3 Jul 10

Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/

CVE-2025-11953 CRITICAL POC
9.8 Nov 03

React Native Metro Development Server binds to external interfaces by default and contains an OS command injection endpo

CVE-2026-96951 HIGH POC
8.8 Oct 13

Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then

CVE-2025-24054 MEDIUM POC
6.5 Mar 11

External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy