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

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/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.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2021-07-12T20:40:13.000Z
- Modified: 2026-09-08T08:48:16.234Z
- Also known as: BIT-NEXTCLOUD-2021-32727, GHSA-5v33-r9cm-7736
- Weaknesses: CWE-295
- Assigned by: GitHub_M

## Description

Nextcloud Android Client is the Android client for Nextcloud. Clients using the Nextcloud end-to-end encryption feature download the public and private key via an API endpoint. In versions prior to 3.16.1, the Nextcloud Android client skipped a step that involved the client checking if a private key belonged to a previously downloaded public certificate. If the Nextcloud instance served a malicious public key, the data would be encrypted for this key and thus could be accessible to a malicious actor. The vulnerability is patched in version 3.16.1. As a workaround, do not add additional end-to-end encrypted devices to a user account.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: < 3.16.1
- nextcloud nextcloud: before 3.16.1
- nextcloud (Bitnami): before 3.16.1

## Every score

- GitHub_M: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5v33-r9cm-7736> (advisory, third-party-advisory)
- <https://github.com/nextcloud/android/pull/8438> (advisory, third-party-advisory)
- <https://hackerone.com/reports/1189162> (permissions-required, web)
- <https://github.com/nextcloud/end_to_end_encryption_rfc/blob/7f002996397faefb664019a97ebb0a1e210f64f0/RFC.md#further-devices> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32727> (web)

## Sources

- CVE List: [CVE-2021-32727](https://www.cve.org/CVERecord?id=CVE-2021-32727), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32727](https://nvd.nist.gov/vuln/detail/CVE-2021-32727), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NEXTCLOUD-2021-32727](https://osv.dev/vulnerability/BIT-NEXTCLOUD-2021-32727), Apache-2.0, modified 2026-09-08

---

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