CVE-2021-32727 in Nextcloud
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 pr...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Nextcloud | Nextcloud | < 3.16.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-32727 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-275854-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2021-07-12 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-295: CWE-295
Related attack patterns (CAPEC)
CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-295
CAPEC-475 Signature Spoofing by Improper Validation via CWE-295
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the Nextcloud Android Client prior to version 3.16.1 allows an attacker to potentially obtain private keys by exploiting a flaw in the end-to-end encryption feature. The client fails to verify if the downloaded private key corresponds to a previously downloaded public certificate, which could lead to unauthorized access to encrypted data.
An attacker with control over the Nextcloud instance or capable of intercepting the communication between the client and the server could serve a malicious private key to the client. This would allow the attacker to decrypt data that is supposed to be encrypted and accessible only to the legitimate user.
Questions
What is CVE-2021-32727?
A vulnerability in the Nextcloud Android Client prior to version 3.16.1 allows an attacker to potentially obtain private keys by exploiting a flaw in the end-to-end encryption feature. The client fails to verify if the downloaded private key corresponds to a previously downloaded public certificate, which could lead to unauthorized access to encrypted data.
What is the CVSS score for CVE-2021-32727?
CVE-2021-32727 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.7%.
Is CVE-2021-32727 actively exploited?
No confirmed active exploitation of CVE-2021-32727 as of 2026-09-25.
How do I remediate CVE-2021-32727?
Priority: HIGH.
What systems are affected by CVE-2021-32727?
CVE-2021-32727 affects Nextcloud Nextcloud.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Nextcloud","product":"Nextcloud","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.