CVE-2026-30785 PUBLISHED

RustDesk Encrypts Local Passwords with World-Readable Machine ID and Fixed Zero Nonce (XSalsa20-Poly1305)

Assigner: VULSec
Reserved: 05.03.2026 Published: 05.03.2026 Updated: 06.03.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.2

Product Status

Vendor rustdesk-client
Product RustDesk Client
Versions Default: affected
  • affected from 0 to 1.4.5 (incl.)

Affected Configurations

Default — any desktop installation with permanent password or saved peers

Exploits

PoC available. Trivially exploitable.

Workarounds

Set restrictive file permissions on TOML config files. Avoid saving peer passwords.

Solutions

Use one-way hashing (Argon2id) for passwords. Use OS-native credential stores (DPAPI, Keychain, libsecret) for recoverable secrets. Apply proper KDF. Use random nonces.

Credits

  • Erez Kalman finder
  • Erez Kalman reporter

References

Problem Types

  • CWE-257 CWE
  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') CWE
  • CWE-323 CWE
  • CWE-916 Use of Password Hash With Insufficient Computational Effort CWE

Impacts

  • CAPEC-37 Retrieve Embedded Sensitive Data