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

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-30T19:59:51.737Z
- Modified: 2026-11-02T19:14:53.030Z
- Weaknesses: CWE-426
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jgraph drawio-desktop: < 31.5.2

## References

- <https://github.com/jgraph/drawio-desktop/security/advisories/GHSA-qg46-52fx-h7p8> (exploit)
- <https://github.com/jgraph/drawio-desktop/commit/3fed7ecfa6871d952d9946508ec85739796a59b2>
- <https://github.com/jgraph/drawio-desktop/releases/tag/v31.5.2>

## Sources

- CVE List: [CVE-2026-119333](https://www.cve.org/CVERecord?id=CVE-2026-119333), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-119333](https://nvd.nist.gov/vuln/detail/CVE-2026-119333), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-119333 · Whole record: https://cve.day/CVE-2026-119333.json · Rebuilt by cve.day 2026-11-25T22:59:48.015Z
