LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 5.7Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Nextcloud Android users using end-to-end encryption could have encrypted files to the wrong public key when adding another encrypted device. If the server provided a malicious public key, affected data could become readable by a malicious actor. The issue is fixed in Android client 3.16.1.

Executive priority

Treat as a targeted confidentiality risk, not a broad service outage risk. Prioritize upgrade for users handling sensitive files through Nextcloud end-to-end encryption, especially where multiple Android devices are enrolled.

Technical view

Before 3.16.1, the Nextcloud Android client skipped verification that a private key matched the previously downloaded public certificate during end-to-end encryption device setup. This is a certificate validation weakness, tracked as CWE-295, with CVSS 3.1 score 5.7 and high confidentiality impact.

Likely exposure

Exposure is limited to Nextcloud Android Client versions before 3.16.1 when the end-to-end encryption feature is used and additional encrypted devices are added to an account.

Exploitation context

The bundle does not show KEV listing or public evidence of active exploitation. Abuse requires a malicious public key being served during device setup and user interaction with end-to-end encrypted device onboarding.

Researcher notes

Evidence supports a device-setup validation flaw rather than a general Nextcloud server compromise. The public bundle names the patch and workaround but does not provide operational indicators, exploitation telemetry, or broader affected platform claims.

Mitigation direction

  • Upgrade Nextcloud Android Client to version 3.16.1 or later.
  • Until upgraded, do not add additional end-to-end encrypted devices to user accounts.
  • Review the Nextcloud advisory for any environment-specific guidance.
  • Prioritize users who rely on Nextcloud end-to-end encryption.

Validation and detection

  • Inventory Android client versions and identify clients below 3.16.1.
  • Confirm whether Nextcloud end-to-end encryption is enabled for affected users.
  • Check whether additional encrypted devices were added while using vulnerable clients.
  • Verify upgraded clients complete encrypted device setup using the patched version.
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-32727 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
5.7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/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
5.7CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N2.13.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

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

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/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
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
nextcloudsecurity-advisories< 3.16.1Listed
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.