Skip to main content

CVE-2026-114606: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in jgraph drawio-desktop

0
Medium
VulnerabilityCVE-2026-114606cvecve-2026-114606cwe-22cwe-200
Published: 10/22/2026 (10/22/2026, 16:35:34 UTC)
Source: CVE Database V5
Vendor/Project: jgraph
Product: drawio-desktop

Description

draw.io Desktop versions prior to 31.4.4 contain a path traversal vulnerability allowing arbitrary local file disclosure. The issue arises because several Electron main process read-side IPC handlers operate on user-chosen filesystem paths without proper authorization checks, leading to a read/write authorization asymmetry. This vulnerability is fixed in version 31.4.4.

CVSS v4.0

Score 5.6medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

jgraph

drawio-desktop

Affected versions
<31.4.4
GitHub Actionsmore threats →ai
jgraph/drawio-desktop
pkg:github/jgraph/drawio-desktop
Affected versions
<31.4.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/22/2026, 17:00:29 UTC

Technical Analysis

draw.io Desktop, the official Electron build of draw.io, is vulnerable to arbitrary local-file disclosure through its Electron main process's read-side IPC handlers before version 31.4.4. The affected handlers (readFile, getFileDrafts, getBkpFile, fileStat, isFileWritable, checkFileExists, watchFile) accept filesystem paths chosen by the renderer process without enforcing a blessed-path authorization (assertWritablePath). Only a URL-prefix origin check (validateSender) and limited checks for readFile (content sniff and lexical appBaseDir prefix block) are in place. Write-side handlers are properly protected by assertWritablePath, creating a read/write authorization asymmetry that allows any frame executing in the app's file:// origin to read local files that it is forbidden to write. This vulnerability is addressed in draw.io Desktop version 31.4.4.

Potential Impact

An attacker controlling or able to inject content into a frame running in the app's file:// origin can read arbitrary local files on the user's system that the application otherwise restricts from write access. This can lead to unauthorized disclosure of sensitive local files. The vulnerability does not allow privilege escalation or remote code execution but compromises local file confidentiality.

Mitigation Recommendations

This vulnerability is fixed in draw.io Desktop version 31.4.4. Users and administrators should upgrade to version 31.4.4 or later to remediate this issue. No additional mitigations are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-21T20:34:25.599Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ada3dcf4d27ba8daa67fdb7

Added to database: 10/22/2026, 16:46:07 UTC

Last enriched: 10/22/2026, 17:00:29 UTC

Last updated: 10/22/2026, 17:01:17 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses