RustDesk Encrypts Local Passwords with World-Readable Machine ID and Fixed Zero Nonce (XSalsa20-Poly1305)
Summary
| CVE | CVE-2026-30785 |
|---|---|
| State | PUBLISHED |
| Assigner | VULSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-05 16:16:19 UTC |
| Updated | 2026-11-19 19:17:30 UTC |
| Description | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), Use of Password Hash With Insufficient Computational Effort vulnerability in rustdesk-client RustDesk Client rustdesk, hbb_common on Windows, MacOS, Linux (Password security module, config encryption, machine UID modules) allows Retrieve Embedded Sensitive Data. This vulnerability is associated with program files hbb_common/src/password_security.Rs, hbb_common/src/config.Rs, hbb_common/src/lib.Rs (get_uuid), machine-uid/src/lib.Rs and program routines symmetric_crypt(), encrypt_str_or_original(), decrypt_str_or_original(), get_uuid(), get_machine_id(). This issue affects RustDesk Client: through 1.4.5. NOTE: some third parties have indicated that these details do not align with the Supplier's statements. |
Risk And Classification
Primary CVSS: v4.0 8.2 HIGH from 2fdefc65-d750-4b8d-96ee-6e2c0c42dbfe
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.000950000 probability, percentile 0.006400000 (date 2026-11-20)
Problem Types: CWE-257 | CWE-323 | CWE-916 | CWE-1321 | CWE-257 CWE-257 | CWE-1321 CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') | CWE-323 CWE-323 | CWE-916 CWE-916 Use of Password Hash With Insufficient Computational Effort
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | 2fdefc65-d750-4b8d-96ee-6e2c0c42dbfe | Secondary | 8.2 | HIGH | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | CVSS | 8.2 | HIGH | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N |
| 3.1 | [email protected] | Primary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
CVSS v4.0 Breakdown
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Rustdesk-client | RustDesk Client | affected 1.4.5 custom | Windows, MacOS, Linux |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/rustdesk/rustdesk/discussions/4979 | 2fdefc65-d750-4b8d-96ee-6e2c0c42dbfe | github.com | Issue Tracking |
| docs.google.com/document/d/e/2PACX-1vSds6jjpd38oO_yIAyd1HYtKNUuea-I-ozAPpGhYI... | 2fdefc65-d750-4b8d-96ee-6e2c0c42dbfe | docs.google.com | Exploit, Third Party Advisory |
| github.com/rustdesk/rustdesk/discussions/9229 | 2fdefc65-d750-4b8d-96ee-6e2c0c42dbfe | github.com | Issue Tracking |
| www.vulsec.org | 2fdefc65-d750-4b8d-96ee-6e2c0c42dbfe | www.vulsec.org | Not Applicable |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Erez Kalman (en)
CNA: Erez Kalman (en)
Additional Advisory Data
Solutions
CNA: Use one-way hashing (Argon2id) for passwords. Use OS-native credential stores (DPAPI, Keychain, libsecret) for recoverable secrets. Apply proper KDF. Use random nonces.
Workarounds
CNA: Set restrictive file permissions on TOML config files. Avoid saving peer passwords.
Exploits
CNA: PoC available. Trivially exploitable.