LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Nextcloud Desktop Client before 3.3.0 could encrypt end-to-end encrypted data to a malicious public key if the server returned one during device setup. That undermines confidentiality for organizations relying on Nextcloud E2EE. The published fix is upgrading the desktop client to 3.3.0 or later; sources state no workaround aside from upgrading.

Executive priority

Treat this as a targeted confidentiality risk, not a broad service outage issue. Prioritize upgrades where Nextcloud E2EE protects sensitive files, because the vendor states there are no known workarounds aside from upgrading.

Technical view

The client downloaded public and private key material through an API endpoint but did not verify that the private key matched the previously downloaded public certificate. This certificate-validation failure is tracked as CWE-295, CVSS 6.5. Published impact is confidentiality loss, with network access, low complexity, and low privileges in the CVSS vector.

Likely exposure

Exposure is limited to organizations using Nextcloud Desktop Client versions before 3.3.0 with Nextcloud end-to-end encryption enabled. General Nextcloud Server use without the affected desktop client E2EE setup flow is not established as affected by the provided sources.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation. Abuse would require the Nextcloud instance to serve a malicious public key during the affected E2EE device setup behavior, causing data to be encrypted for that key.

Researcher notes

Key evidence is consistent across the CVE, GitHub advisory, HackerOne report, desktop pull request, and Debian advisory. The provided data supports affected client versions before 3.3.0 and the fixed version, but not active exploitation or additional product scope.

Mitigation direction

  • Upgrade Nextcloud Desktop Client to version 3.3.0 or later.
  • Prioritize users who enabled Nextcloud end-to-end encryption.
  • Use Debian or vendor packages that include the fixed client version.
  • If compromise is suspected, follow current Nextcloud guidance before key or data recovery actions.

Validation and detection

  • Inventory deployed Nextcloud Desktop Client versions and flag anything below 3.3.0.
  • Confirm whether Nextcloud end-to-end encryption is enabled for affected users.
  • Verify package or application update status against vendor advisory guidance.
  • Review security monitoring for unusual administrative or server-side key-management activity.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-295: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32728 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N2.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2021-32728Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
nextcloudsecurity-advisories< 3.3.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-295 · source CWE mapping

Improper Certificate Validation

Improper Certificate Validation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.