# CVE-2021-32728: End-to-end encryption device setup did not verify public key

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-08-18 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-32728, DEBIAN-CVE-2021-32728
- Record: https://cvemate.com/vulnerability/CVE-2021-32728 · JSON: https://cvemate.com/vulnerability/CVE-2021-32728/json

## Description

```text
The Nextcloud Desktop Client is a tool to synchronize files from Nextcloud Server with a computer. Clients using the Nextcloud end-to-end encryption feature download the public and private key via an API endpoint. In versions prior to 3.3.0, the Nextcloud Desktop client fails to check if a private key belongs to previously downloaded public certificate. If the Nextcloud instance serves a malicious public key, the data would be encrypted for this key and thus could be accessible to a malicious actor. This issue is fixed in Nextcloud Desktop Client version 3.3.0. There are no known workarounds aside from upgrading.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.851%, percentile 59.484%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github, reference)

## Affected

- debian nextcloud-desktop (Debian): \< 3.3.1-1
- ubuntu nextcloud-desktop (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 10.0 \| 11.0
- nextcloud desktop: \< 3.3.0
- nextcloud security-advisories: \< 3.3.0

## References

- <https://hackerone.com/reports/1189162>
- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-f5fr-5gcv-6cc5>
- <https://github.com/nextcloud/desktop/pull/3338>
- <https://www.debian.org/security/2021/dsa-4974>
- <https://ubuntu.com/security/CVE-2021-32728>
- <https://www.cve.org/CVERecord?id=CVE-2021-32728>
- <https://security-tracker.debian.org/tracker/CVE-2021-32728>

---

Data as of 2026-12-05T04:39:31.185Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
