Skip to main content
Vulnerability Database/CVE-2026-111324

CVE-2026-111324: RustDesk API Authorization Bypass Flaw

CVE-2026-111324 is an authorization bypass vulnerability in RustDesk API that allows attackers to overwrite peer records and hijack devices. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-111324 Overview

CVE-2026-111324 is an authorization bypass vulnerability in rustdesk-api through version 2.7. The flaw resides in the POST /api/sysinfo endpoint, which fails to authenticate requests or verify ownership of the target peer record. Unauthenticated attackers can supply only a target device ID and overwrite the peer's hostname, username, OS, and uuid fields. After rewriting the uuid, an attacker logs in presenting the new value and rebinds the victim's peer to an attacker-controlled account. The weakness is categorized under [CWE-639: Authorization Bypass Through User-Controlled Key].

Critical Impact

Unauthenticated attackers can hijack remote-access peer records and rebind them to attacker accounts, enabling takeover of RustDesk-managed endpoints.

Affected Products

  • rustdesk-api (self-hosted RustDesk API server by lejianwen)
  • All versions through v2.7
  • Deployments exposing /api/sysinfo to untrusted networks

Discovery Timeline

  • 2026-10-15 - CVE-2026-111324 published to NVD
  • 2026-10-21 - Last updated in NVD database

Technical Details for CVE-2026-111324

Vulnerability Analysis

The rustdesk-api project provides a self-hosted backend for RustDesk remote-access clients. It stores peer metadata such as device identifiers, hostnames, operating systems, and the uuid used during client login to bind a peer to an owning user account.

The POST /api/sysinfo route is registered without authentication middleware in http/router/api.go. The handler in http/controller/api/peer.go accepts an incoming payload keyed by a target device ID and writes the submitted fields to the matching record. The controller performs no ownership check against the authenticated session and no equality check between the submitted uuid and the stored value.

An attacker iterating or guessing device IDs can overwrite peer metadata for any registered device. Rewriting the uuid is sufficient to seize the peer, because subsequent client logins use the uuid as the primary binding token between a peer and an account.

Root Cause

The root cause is missing authorization on a state-changing API endpoint, aligned with [CWE-639]. The handler trusts a client-supplied key (id) to locate the record and does not validate that the caller owns the record or that the supplied uuid matches the stored one before overwriting it.

Attack Vector

Exploitation is network-based, requires no privileges, and no user interaction. An attacker sends a single unauthenticated HTTP POST to /api/sysinfo on an exposed rustdesk-api instance, specifying the target device ID and attacker-chosen hostname, username, os, and uuid values. The attacker then authenticates to their own account and presents the planted uuid, which rebinds the victim peer to the attacker. Technical analysis is available in the HackMD Sysinfo Tampering Analysis and the VulnCheck RustDesk API Advisory.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-111324

Indicators of Compromise

  • Unauthenticated POST /api/sysinfo requests in rustdesk-api access logs, especially from external IP addresses.
  • Unexpected changes to peer hostname, username, os, or uuid values in the backing database.
  • Peer records whose owning user account changed without a corresponding administrator action.
  • Login events presenting a uuid that was recently modified via /api/sysinfo.

Detection Strategies

  • Correlate /api/sysinfo POSTs lacking a valid session cookie or bearer token with subsequent peer-login events reusing the same uuid.
  • Alert on bulk or sequential /api/sysinfo requests across many device IDs, which indicates enumeration.
  • Baseline peer metadata and flag out-of-band writes to the uuid column.

Monitoring Recommendations

  • Forward rustdesk-api HTTP logs and database audit trails to a centralized log platform for retention and correlation.
  • Monitor reverse-proxy or WAF telemetry for requests to /api/sysinfo from untrusted source ranges.
  • Track account-to-peer binding changes and alert on anomalies.

How to Mitigate CVE-2026-111324

Immediate Actions Required

  • Restrict network exposure of /api/sysinfo to trusted management networks or VPN clients only.
  • Place rustdesk-api behind a reverse proxy or WAF that enforces authentication on the /api/sysinfo route.
  • Audit the peer database for unexpected uuid, hostname, or ownership changes and revert suspicious entries.
  • Rotate credentials and re-enroll peers that show signs of tampering.

Patch Information

No fixed version is identified in the referenced advisories at the time of publication. The vulnerable code paths are documented in the upstream repository at GitHub Peer Controller Code and GitHub API Router Code. Monitor the GitHub RustDesk API Repository for an updated release that adds authentication and ownership checks to the sysinfo handler.

Workarounds

  • Block or require authentication for /api/sysinfo at the reverse proxy using an allowlist or auth gateway.
  • Deploy rustdesk-api only on internal networks and expose client traffic through a VPN.
  • Apply a local patch that validates the session owns the target peer and that the submitted uuid matches the stored value before any write.
bash
# Example nginx snippet to block unauthenticated access to /api/sysinfo
location = /api/sysinfo {
    allow 10.0.0.0/8;
    allow 192.168.0.0/16;
    deny all;
    proxy_pass http://rustdesk_api_upstream;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.