Vulnerabilities · 2021 · Nextcloud
CVE-2021-22877
Nextcloud Server vulnerability
A missing user check in Nextcloud prior to 20.0.6 inadvertently populates a user's own credentials for other users external storage configuration when not already configured yet.
Affected products
Nextcloud Server, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nextcloud Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- nextcloud.com/security/advisory/?id=NC-SA-2021-004 · Vendor Advisory
- github.com/nextcloud/server/issues/24600 · Exploit
- github.com/nextcloud/server/pull/25224 · Patch
- hackerone.com/reports/1061591 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L
- nvd.nist.gov/vuln/detail/CVE-2021-22877
- cve.org/CVERecord?id=CVE-2021-22877
More vulnerabilities in Nextcloud products
CVE-2025-66558CVE-2025-66557CVE-2025-66556CVE-2025-66554CVE-2025-66553CVE-2025-66552CVE-2025-66551CVE-2025-66550All 353
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.