# CVE-2026-119333: draw.io Desktop allows Windows executable search-path hijacking

Status: published. Published: 2026-10-30. Updated: 2026-11-02.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- jgraph / drawio-desktop: < 31.5.2 (affected). Source: CNA: GitHub_M

## Severity and prioritization

- CVSS 3.1: 7.8 (high); CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H; source: CNA: GitHub_M

- CISA KEV: No listing in collected sources

- EPSS: 0.14% as of 2026-11-02; percentile 2.99%

- SSVC: exploitation poc; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-426

## Exploit evidence

- exploit: https://github.com/jgraph/drawio-desktop/security/advisories/GHSA-qg46-52fx-h7p8 (ADP: CISA-ADP)

## References

- https://github.com/jgraph/drawio-desktop/security/advisories/GHSA-qg46-52fx-h7p8 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/jgraph/drawio-desktop/commit/3fed7ecfa6871d952d9946508ec85739796a59b2 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/jgraph/drawio-desktop/releases/tag/v31.5.2 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/jgraph/drawio-desktop/security/advisories/GHSA-qg46-52fx-h7p8 (ADP: CISA-ADP; exploit)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-119333; retrieved 2026-11-02; source updated 2026-11-02

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-119333; retrieved 2026-11-02; source updated Not reported

Revision: 4107d6df430086abb12c8e6d5812492d8edb2c9ef8365f8651897ddc99815fbd

Canonical: https://y2.dev/cve/CVE-2026-119333

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.