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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.85%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-08-18T16:00:13.000Z
- Modified: 2026-06-17T03:53:30.743Z
- Weaknesses: CWE-295
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: < 3.3.0
- nextcloud desktop: before 3.3.0
- debian debian_linux: 10.0; 11.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://hackerone.com/reports/1189162> (exploit, third-party-advisory)
- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-f5fr-5gcv-6cc5> (exploit, third-party-advisory)
- <https://github.com/nextcloud/desktop/pull/3338> (patch, third-party-advisory)
- <https://www.debian.org/security/2021/dsa-4974> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-32728](https://www.cve.org/CVERecord?id=CVE-2021-32728), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32728](https://nvd.nist.gov/vuln/detail/CVE-2021-32728), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32728 · Whole record: https://cve.day/CVE-2021-32728.json · Rebuilt by cve.day 2026-11-25T22:58:03.315Z
