CVE-2024-25140: rustdesk · Improper Certificate Validation
Affects rustdeskSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 11:07 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 6 Feb 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubrustdesk/rustdeskpkg:github/rustdesk/rustdeskOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Organizations should immediately audit their Windows systems for the presence of the WDKTestCert certificate in the Trusted Root Certification Authorities store. If found, remove the certificate to eliminate implicit trust. Until an official patch or updated RustDesk version is released, consider uninstalling RustDesk 1.2.3 or blocking its installation via endpoint management tools. Monitor for updates from the RustDesk vendor regarding a fix or replacement certificate with proper private key security. Employ application control policies that restrict execution of unsigned or untrusted code, even if signed by trusted certificates. Implement network segmentation and monitoring to detect anomalous code execution or lateral movement. Educate users to carefully review installation prompts and certificate warnings. For organizations requiring remote desktop functionality, evaluate alternative solutions with verified certificate management practices. Finally, maintain robust incident response capabilities to quickly address any compromise resulting from this vulnerability.
Description
A default installation of RustDesk 1.2.3 on Windows places a WDKTestCert certificate under Trusted Root Certification Authorities with Enhanced Key Usage of Code Signing (1.3.6.1.5.5.7.3.3), valid from 2023 until 2033. This is potentially unwanted, e.g., because there is no public documentation of security measures for the private key, and arbitrary software could be signed if the private key were to be compromised. NOTE: the vendor's position is "we do not have EV cert, so we use test cert as a workaround." Insertion into Trusted Root Certification Authorities was the originally intended behavior, and the UI ensured that the certificate installation step (checked by default) was visible to the user before proceeding with the product installation.