Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish authenticated RustDesk peer session with macOS target
-
DeliveryCraft clipboard file descriptors containing path traversal sequences (e.g., ../../Library/LaunchAgents/)
-
ExploitWait for or socially engineer victim to initiate clipboard file-paste operation
-
ExecutionRustDesk writes attacker-controlled file content to traversed path
-
ImpactArbitrary file placed at attacker-chosen writable location on target filesystem
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) an active, established RustDesk peer session where the attacker controls the remote endpoint - CVSS PR:L reflects this session-establishment prerequisite, meaning anonymous network scanning cannot trigger this flaw; (2) the macOS clipboard file-paste feature must be in use (this code path is macOS/unix-specific, per the Apple tag and the platform/unix directory in the fix); (3) the victim must initiate or accept a clipboard file-paste operation during the session - CVSS UI:P indicates passive user interaction is required, not a zero-click scenario. Exploitation is further limited to filesystem paths writable by the RustDesk process user, preventing writes to system-owned directories unless RustDesk runs with elevated privileges. This vulnerability cannot be triggered without a pre-established peer session and without the victim actively performing a paste. |
| Impact | The CVSS 4.0 score of 6.9 (AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N) accurately reflects the core risk profile: network-reachable, low complexity, but gated behind session establishment (PR:L) and passive user interaction (UI:P). The absence of a CISA KEV listing and no identified public exploit code indicate this has not been confirmed as actively exploited; EPSS data was not supplied, but the macOS-specific clipboard niche and session prerequisite make opportunistic mass exploitation unlikely. The VI:H impact is nonetheless meaningful - arbitrary file writes at the RustDesk process's privilege level can overwrite user-space configuration, drop persistent launchd plists, or corrupt application binaries, potentially escalating to code execution with additional attacker-controlled steps. No confidentiality impact is present (VC:N), and availability is unaffected (VA:N), which tempers urgency compared to a full RCE primitive. Organizations running RustDesk for unmanaged or peer-to-peer remote support, particularly with external or semi-trusted peers, face the most realistic exposure; internal enterprise deployments with controlled peer lists are at lower practical risk. The absence of scope change (SC:N/SI:N/SA:N) confirms the impact is contained to the vulnerable macOS system. Overall this is a genuine, patchable integrity risk - not inflated by speculative impact - but not an immediate crisis absent a public exploit. |
| Exploit ScenarioDerived | An attacker who has established a RustDesk remote session with a macOS target - whether through legitimate access, credential theft, or social engineering - crafts clipboard file descriptors containing traversal sequences such as ../../Library/LaunchAgents/com.evil.plist. When the victim performs a clipboard paste operation to accept files from the remote peer, RustDesk writes the attacker-controlled file content to the traversed path rather than the intended paste destination, potentially achieving user-level persistence. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 26, 2026
Path traversal in RustDesk's macOS clipboard file-paste feature allows a remote session peer to write files outside the intended target directory by supplying crafted file descriptor names containing parent-directory components or absolute paths. Versions 1.3.9 through 1.4.9 on macOS are affected; exploitation requires an active RustDesk session and passive victim interaction (initiating a clipboard paste). No public exploit code and no CISA KEV listing have been identified at time of analysis; a vendor fix is available via commit 6f1eb164.
RemediationAI
The primary remediation is to update RustDesk to a version incorporating commit 6f1eb164d616e0e2bfbcf8c6b7c8083b09d7ed06, accessible via GitHub PR #15693 at https://github.com/rustdesk/rustdesk/pull/15693 and the commit at https://github.com/rustdesk/rustdesk/commit/6f1eb164d616e0e2bfbcf8c6b7c8083b09d7ed06. The patch is confirmed available from the vendor; however, the exact tagged release version incorporating this commit was not independently confirmed from the provided data - administrators should verify the installed version against the commit date. As a compensating control pending upgrade, disabling clipboard file-sharing in RustDesk's settings eliminates the vulnerable code path entirely, at the cost of cross-session file-paste functionality. Additionally, restricting who can initiate RustDesk sessions to a defined list of trusted peers via RustDesk's access control or ID/relay server configuration reduces the pool of potential attackers who could supply malicious descriptors.
Affected VersionsENISA
Affected Packages
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
RustDesk is an open-source remote desktop application written in Rust. The vulnerable code resides in libs/clipboard/src/platform/unix/filetype.rs, which parses Windows-style CLIPRDR clipboard file descriptors (RDPECLIP protocol) exchanged between session peers. File names are transmitted as NUL-terminated UTF-16 strings in fixed 520-byte fields. Before the fix, FileDescription::parse_file_descriptors decoded the peer-supplied name and constructed the destination path by joining it directly to the target directory without any normalization or traversal check - a textbook CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) root cause. The fix in commit 6f1eb164 introduces validate_file_name(), which rejects absolute paths (drive-letter-prefixed or leading-slash), empty path components, single-dot segments, and traversal sequences, then delegates to hbb_common::fs::validate_file_name_no_traversal. The PR also corrects null-terminator detection in the UTF-16 parser so trailing padding is not misinterpreted as part of the file name. CPE cpe:2.3:a:rustdesk:rustdesk:*:*:*:*:*:*:*:* covers the affected software; the issue is scoped to the unix/macOS clipboard platform path per tags and description.
Know when Rustdesk 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
PR:L reflects the required established peer session; UI:R for victim's active paste action; integrity-only impact with no confidentiality or availability effect from this write-primitive.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
RustDesk versions 1.3.9 through 1.4.9 contain a path traversal vulnerability in the macOS clipboard file-paste code path. The application accepts peer-supplied file descriptor names and joins them to the selected target directory without requiring normalized relative paths. A remote peer in an active clipboard file-paste session can use parent-directory components or absolute paths to write files outside the intended target directory at locations writable by the RustDesk process. Commit 6f1eb16 fixes the issue by validating descriptor names and safely joining paths.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
A default installation of RustDesk 1.2.3 on Windows places a WDKTestCert certificate under Trusted Root Certification Au
Remote denial-of-service in RustDesk Client through 1.4.5 allows network-positioned attackers to disrupt the remote-acce
Authorization scope bypass in RustDesk lets a peer holding only a FileTransfer authorization inject keyboard and mouse i
Security vulnerability in RustDesk remote desktop client/server. One of 6+ critical CVEs affecting the open-source remot
Security vulnerability in RustDesk remote desktop client/server. One of 6+ critical CVEs affecting the open-source remot
Unauthenticated attackers can abuse missing authorization controls in RustDesk Server's rendezvous and relay modules (hb
Memory exhaustion in RustDesk versions before 1.4.7 allows unauthenticated remote attackers to crash or severely degrade
RustDesk Client through version 1.4.5 transmits sensitive preset address book credentials in cleartext during heartbeat
RustDesk Server Pro through version 1.7.5 uses weak cryptographic algorithms in configuration string generation and web
Heap buffer overflow in RustDesk's Windows clipboard redirection (wf_cliprdr.c) allows a malicious or compromised remote
Configuration tampering in RustDesk Client through 1.4.5 allows a network-positioned attacker to manipulate Application
RustDesk Client through version 1.4.5 on Windows, macOS, and Linux uses weak password hashing and improper object protot
EUVD-2026-66421
GHSA-w982-6rqp-v5xg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB