User Credentials Exposure in Nextcloud
CVE-2021-22877

MonitorData theft and tampering over the network by a logged-in user.
6.5MEDIUM

Key Information:

Vendor

Nextcloud

Vendor
CVE Published:
3 March 2021

Key facts

CVE-2021-22877 is a medium severity (CVSS 6.5) vulnerability in Nextcloud Server. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.7%, the estimated probability of exploitation in the next 30 days.

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit code yet
  • No: No attacks seen yet
  • No: Not on CISA's exploited list

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Nextcloud Server. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (6.5).

What is CVE-2021-22877?

An inadequate user verification mechanism in Nextcloud versions prior to 20.0.6 can unintentionally assign a user's credentials to the configuration of external storage for other users. This issue arises when a user attempts to set up external storage but lacks pre-configured settings, resulting in unauthorized access to sensitive data. It is crucial for administrators to update their Nextcloud installations to mitigate this security risk.

Affected Version(s)

Nextcloud Server Fixed in 20.0.6

References

Improper Authorization in Nextcloud Server Affects Calendar Functionality

CVE-2026-45281
NextcloudSecurity-advisories8.1HIGH

Missing Signature Verification in Nextcloud OIDC Enables User Impersonation

CVE-2026-45156
NextcloudSecurity-advisories👾8.1HIGH
View more Nextcloud vulnerabilities...

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.