# CVE-2026-58056: RustDesk authorization bypass in FileTransfer session

Source: https://junglewise.ai/threats/cve-2026-58056-rustdesk-authorization-bypass-in-filetransfer-session  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-28. Updated: 2026-06-28  
License: CC BY 4.0 with a link back

CVE-2026-58056 · Severity: high · CVSS 7.6 · Published 2026-06-28

RustDesk, a popular open-source remote desktop software, contains a security flaw that allows users with limited 'File Transfer' permissions to bypass their restrictions. An attacker who has been granted access only to move files can take full control of the remote computer, including moving the mouse, typing on the keyboard, and capturing screenshots. This effectively upgrades a limited file-sharing session into a full unauthorized remote control session, potentially leading to data theft or full system compromise.

Technologies: [Rustdesk](https://junglewise.ai/threats/technologies/rustdesk). Vendors: [Rustdesk](https://junglewise.ai/threats/vendors/rustdesk).

## Quick answers

**Is CVE-2026-58056 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-58056 being exploited in the wild.

**How severe is CVE-2026-58056?** High severity, with a CVSS score of 7.6, published 28 June 2026.

**Which products and versions are affected?** Rustdesk <= ff226f6d8013dee2de5a6553abaf67bf32b3e875 (git).

**Is there a fix for CVE-2026-58056?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-58056 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-58056?** Check whether you run Rustdesk at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

RustDesk suffers from an incorrect authorization vulnerability (CWE-863) where incoming control messages are gated based on per-capability flags rather than the specific authorized connection type of the active session. Specifically, file-transfer sessions fail to clear or properly isolate these capability flags. A remote attacker with valid FileTransfer credentials can exploit this logic flaw to inject HID events (keyboard and mouse input) and access unguarded screenshot and display-capture handlers. This allows for a complete privilege escalation from a restricted file-transfer role to full remote desktop control. The vulnerability is present in versions up to git commit ff226f6d8013dee2de5a6553abaf67bf32b3e875.

## Affected products

- RustDesk RustDesk <= ff226f6d8013dee2de5a6553abaf67bf32b3e875 (git)

## Timeline

- 2026-06-28: advisory
- 2026-06-28: disclosed

## References

- [https://github.com/bikini/exploitarium/tree/main/rustdesk-session-permission-pocs](https://github.com/bikini/exploitarium/tree/main/rustdesk-session-permission-pocs)
- [https://www.vulncheck.com/advisories/rustdesk-filetransfer-session-authorization-scope-bypass](https://www.vulncheck.com/advisories/rustdesk-filetransfer-session-authorization-scope-bypass)

## Related threats

- [RustDesk file transfer permission bypass in Cliprdr handler](https://junglewise.ai/threats/cve-2026-100388-rustdesk-versions-before-1-5-0-fail-to-properly-validate-file)
- [RustDesk uncontrolled memory allocation in BytesCodec](https://junglewise.ai/threats/cve-2026-73108-rustdesk-uncontrolled-memory-allocation-in-bytescodec)
- [RustDesk path traversal in macOS clipboard file-paste](https://junglewise.ai/threats/cve-2026-73102-rustdesk-path-traversal-in-macos-clipboard-file-paste)
- [RustDesk Windows clipboard redirection buffer overflow](https://junglewise.ai/threats/cve-2026-76840-rustdesk-windows-clipboard-redirection-buffer-overflow)
- [RustDesk missing authorization in session scope enforcement](https://junglewise.ai/threats/cve-2026-57850-rustdesk-missing-authorization-in-session-scope-enforcement)
