# CVE-2026-119333: draw.io Desktop path traversal privilege escalation on Windows

Source: https://junglewise.ai/threats/cve-2026-119333-draw-io-desktop-is-the-official-electron-build-of-draw-io-prior  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-30. Updated: 2026-10-30  
License: CC BY 4.0 with a link back

CVE-2026-119333 · Severity: high · CVSS 7.8 · Published 2026-10-30

draw.io Desktop is a diagram editing application for Windows, macOS, and Linux. On Windows, the application launched system tools using bare executable names, which could be hijacked by attacker-supplied executables placed in the same directory as a diagram file. An attacker could trick a user into opening a malicious diagram archive, allowing arbitrary code execution with the user's privileges.

Vendors: [JGraph](https://junglewise.ai/threats/vendors/jgraph).

## Quick answers

**Is CVE-2026-119333 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-119333 being exploited in the wild.

**How severe is CVE-2026-119333?** High severity, with a CVSS score of 7.8, published 30 October 2026.

**Which products and versions are affected?** JGraph draw.io Desktop prior to 31.5.2.

**Is there a fix for CVE-2026-119333?** Yes: fixed in 31.5.2. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-119333 attacked?** It is attacked with local access.

**Am I affected by CVE-2026-119333?** Check whether you run JGraph draw.io Desktop at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 31.5.2

## Technical details

The vulnerability exists because src/main/electron.js launched powershell and attrib without absolute paths. When a user opened a .drawio file from File Explorer, the diagram's directory became the current working directory, allowing a colocated attrib.exe or powershell.bat to be resolved and executed before the legitimate system executable. Exploitation requires the victim to extract an attacker-supplied archive and open a diagram file with Local Fonts enabled or when draft/backup attributes are updated.

## Affected products

- JGraph draw.io Desktop prior to 31.5.2

## Timeline

- 2026-10-30: disclosed

## References

- [https://github.com/jgraph/drawio-desktop/commit/3fed7ecfa6871d952d9946508ec85739796a59b2](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/releases/tag/v31.5.2)

## Related threats

- [draw.io Desktop arbitrary local file disclosure](https://junglewise.ai/threats/cve-2026-114606-draw-io-desktop-is-the-official-electron-build-of-draw-io-prior)
