---
id: CVE-2026-30785
title: >-
  RustDesk Encrypts Local Passwords with World-Readable Machine ID and Fixed
  Zero Nonce (XSalsa20-Poly1305)
summary: >-
  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, MacO…
severity: high
cvss: 8.2
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-257
  - CWE-1321
  - CWE-323
  - CWE-916
vendor: rustdesk-client
product: 'rustdesk, hbb_common'
affected:
  - rustdesk_hbb_common <= 1.4.5
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-03-06T10:32:18.593322Z'
exploitAvailable: true
published: '2026-03-05'
updated: '2026-11-19'
sourceUpdated: '2026-11-19T18:55:38.348Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-30785'
references:
  - url: 'https://github.com/rustdesk/rustdesk/discussions/9229'
  - url: 'https://github.com/rustdesk/rustdesk/discussions/4979'
  - url: >-
      https://docs.google.com/document/d/e/2PACX-1vSds6jjpd38oO_yIAyd1HYtKNUuea-I-ozAPpGhYI7QgAU-QGJ7D8a4rOZVj1vmiUXV1EcdRHf9aZAW/pub
  - url: 'https://www.vulsec.org/'
tags:
  - cve.org
  - exploit-available
epss: 0.00095
epssPercentile: 0.00598
ingestedAt: '2026-11-19T19:00:01.334Z'
---

## Overview

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.

## Affected

- `rustdesk_hbb_common <= 1.4.5`

## Remediation

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

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