Description
RustDesk gates incoming control messages on per-capability flags rather than on the session's authorized connection type, and a file-transfer session does not clear those flags. A peer holding only a valid FileTransfer authorization can inject keyboard and mouse input and reach the unguarded screenshot and display-capture handlers, acting outside its granted scope.
Published: 2026-06-28
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

RustDesk gates incoming control messages on per‑capability flags and fails to reset them after a file‑transfer session, allowing a peer that has only file‑transfer authorization to inject keyboard and mouse input. This grants the attacker the ability to trigger arbitrary control commands and access screenshot and display‑capture handlers beyond the intended file‑transfer scope, constituting an authorization bypass that can compromise confidentiality, integrity, and availability of the remote system.

Affected Systems

The vulnerability impacts the RustDesk remote‑control application developed by RustDesk. No specific version information is supplied, meaning that all released versions might be affected until a patched release is issued.

Risk and Exploitability

The CVSS score of 7.2 reflects a medium‑to‑high severity risk. With no EPSS score reported and no listing in the CISA KEV catalog, the current exploitation probability is unknown. The likely attack vector is a remote peer authenticating only for file transfer; by exploiting the flag reset flaw, the attacker could inject control commands and capture or manipulate the target’s screen, effectively elevating privileges within the remote session.

Generated by OpenCVE AI on June 28, 2026 at 03:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Disable or tightly restrict the file‑transfer capability for users who do not need it, ensuring that only authorized control messages can be sent.
  • Revoke existing file‑transfer authorizations and require re‑authentication to reset capability flags after transfers.
  • Monitor the RustDesk vendor’s announcements for an official fix and apply any update when released.

Generated by OpenCVE AI on June 28, 2026 at 03:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 28 Jun 2026 02:15:00 +0000

Type Values Removed Values Added
Description RustDesk gates incoming control messages on per-capability flags rather than on the session's authorized connection type, and a file-transfer session does not clear those flags. A peer holding only a valid FileTransfer authorization can inject keyboard and mouse input and reach the unguarded screenshot and display-capture handlers, acting outside its granted scope.
Title RustDesk - FileTransfer Session Authorization Scope Bypass
First Time appeared Rustdesk
Rustdesk rustdesk
Weaknesses CWE-863
CPEs cpe:2.3:a:rustdesk:rustdesk:*:*:*:*:*:*:*:*
Vendors & Products Rustdesk
Rustdesk rustdesk
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L'}

cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Rustdesk Rustdesk
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-28T01:32:57.879Z

Reserved: 2026-06-28T00:55:25.426Z

Link: CVE-2026-58056

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-28T04:00:12Z

Weaknesses