CVE-2021-22877
publishednextcloud: Stored credentials accessible by other users
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | Nextcloud ServerFixed in 20.0.6 | Affected | Not stated | hackerone |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Nextcloud Server | Fixed in 20.0.6 (affected) | hackerone · cna |
Weaknesses
1- CWE-284 Improper Access Control - Generic (CWE-284)
References
5- https://github.com/nextcloud/server/issues/24600
- https://github.com/nextcloud/server/pull/25224
- https://hackerone.com/reports/1061591
- FEDORA-2021-eac0e52f88 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L6BO6P6MP2MOWA6PZRXX32PLWPXN5O4S/
- https://nextcloud.com/security/advisory/?id=NC-SA-2021-004
Provider assertions
2hackerone · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 78f6ff77fa328124b8c801a553be7e2d3c25ae572b313a8bea87d0a4bf5d1888
- Ingested
- 23 Sep 2026, 07:52:45 UTC
- Source record
- Official CVE record