CVE-2021-32728 in Debian Linux and 1 more product
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 pre...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
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
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-32728 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-275857-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Published | 2021-08-18 |
| Last modified | 2024-11-21 |
| 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
The Nextcloud Desktop Client prior to version 3.3.0 is vulnerable to a key mismatch issue where a private key may not be verified against a previously downloaded public certificate, potentially allowing an attacker to serve a malicious private key.
An attacker with control over the Nextcloud instance or a man-in-the-middle position could serve a malicious private key to the client, leading to potential unauthorized access to encrypted files.
Questions
What is CVE-2021-32728?
The Nextcloud Desktop Client prior to version 3.3.0 is vulnerable to a key mismatch issue where a private key may not be verified against a previously downloaded public certificate, potentially allowing an attacker to serve a malicious private key.
What is the CVSS score for CVE-2021-32728?
CVE-2021-32728 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.9%.
Is CVE-2021-32728 actively exploited?
No confirmed active exploitation of CVE-2021-32728 as of 2026-05-30.
How do I remediate CVE-2021-32728?
Priority: HIGH.
What systems are affected by CVE-2021-32728?
CVE-2021-32728 affects Debian Debian Linux; Nextcloud Desktop.
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":"Debian","product":"Debian Linux","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 2024-11-21.