Security Advisory

Back to advisories

External storage credentials stored for wrong user (NC-SA-2021-004)

25th January 2021

Risk level: Low

CVSS v3 Base Score: 8.7 (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N)

CWE: Improper Access Control - Generic (CWE-284)

HackerOne report: 1061591


A missing user check in Nextcloud 20.0.5 and prior allowed to populate your own credentials for other users external storage configuration when they did not configure one yet.

Affected Software

  • Nextcloud Server < 20.0.6 (CVE-2021-22877)

Action Taken

The error has been fixed.


It is recommended that the Nextcloud Server is upgraded to 20.0.6.


The Nextcloud team thanks the following people for their research and responsible disclosure of the above advisory:

This advisory is licensed CC BY-SA 4.0.

You have javascript disabled. We tried to make sure the basics of our website work but some functionality will be missing.

This website is using cookies. By visiting you agree with our privacy policy. That's Fine