CVE-2026-58056
Received Received - Intake

RustDesk Session Authorization Bypass via File Transfer

Vulnerability report for CVE-2026-58056, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-28

Last updated on: 2026-06-28

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-28
Last Modified
2026-06-28
Generated
2026-06-28
AI Q&A
2026-06-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
rustdesk rustdesk to ff226f6d8013dee2de5a6553abaf67bf32b3e875 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-58056 is a high-severity vulnerability in RustDesk, a remote desktop application. The issue arises because RustDesk gates incoming control messages based on per-capability flags rather than the session's authorized connection type. Specifically, a file-transfer session does not clear these flags properly.

As a result, a peer with only valid FileTransfer authorization can inject keyboard and mouse inputs and access unguarded screenshot and display-capture handlers. This means the peer can perform actions outside the scope of their granted permissions, effectively bypassing intended authorization controls.

Impact Analysis

This vulnerability allows an attacker who has only file transfer permissions to escalate their privileges within a RustDesk session. They can inject keyboard and mouse inputs and access sensitive features like screenshots and display captures, which should be restricted to remote-control sessions.

This means an attacker could potentially spy on your screen, capture sensitive information, and manipulate your system remotely without proper authorization. The vulnerability could lead to unauthorized access, data leakage, and loss of control over your remote desktop session.

Detection Guidance

Detection of CVE-2026-58056 involves monitoring for unauthorized injection of keyboard and mouse input or unexpected screenshot and display-capture requests originating from sessions authorized only for file transfer.

Since the vulnerability allows a peer with only FileTransfer authorization to perform actions outside their scope, network or system monitoring should focus on identifying control messages or commands that are inconsistent with the session's authorized connection type.

Specific commands are not provided in the available resources, but general approaches include:

  • Inspect RustDesk session logs for control messages (keyboard, mouse, screenshot, display-capture) sent during file transfer sessions.
  • Use network traffic analysis tools (e.g., Wireshark, tcpdump) to capture and analyze RustDesk traffic for unauthorized control messages in file transfer sessions.
  • Monitor for unusual or unexpected input injection or display capture requests that do not align with the session's authorized capabilities.
Mitigation Strategies

Immediate mitigation steps for CVE-2026-58056 include updating RustDesk to a version that contains the fix for this vulnerability.

The fix involves enforcing stricter validation of relay security flags, ensuring signed peer key material is present for secure sessions, and implementing message dispatchers that strictly adhere to connection-type-based authorization.

Until an update is applied, restrict or monitor file transfer sessions closely to prevent unauthorized control message injection.

Additionally, limit access to relay or rendezvous metadata paths to trusted entities to reduce the risk of session downgrade attacks.

Compliance Impact

The vulnerability in RustDesk allows a peer with only FileTransfer authorization to perform unauthorized actions such as injecting keyboard and mouse input and accessing screenshot and display-capture handlers. This unauthorized access and control could lead to exposure or manipulation of sensitive data during remote sessions.

Such unauthorized access and potential data exposure may impact compliance with data protection standards and regulations like GDPR and HIPAA, which require strict controls over access to personal and sensitive information. The ability to bypass authorization scopes undermines the principle of least privilege and could result in violations of confidentiality and integrity requirements mandated by these regulations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58056. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart