Improper access control in Nextcloud Server
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-284.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Nextcloud Server | Fixed in 20.0.6 | — | No fix listed | CNA |
- Nextcloud Server Vendor— Affected Fixed in 20.0.6 Fixed in — No fix listed CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:* | before 20.0.6 | Vulnerable | nextcloud |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
- cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:* Versions before 20.0.6 Vulnerable ·nextcloud
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
Remediation
No fixed version listed by the sources yet.
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Nextcloud Server — FEDORA-2021-eac0e52f88
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2020-06713 Nextcloud Server prior to 20.0.0 stores passwords in a recoverable format even when external storage is not configured.Priority LOW 30
- TI-2021-05739 Cross-site scripting in Nextcloud ServerPriority LOW 24
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2021-22877
- 2026-10-03 Alias added: GHSA-v65r-wc6r-r9x8
References
Sources
- CVE-2021-22877 · CVE Program
- CVE-2021-22877 · NVD
- FIRST EPSS
- GHSA-v65r-wc6r-r9x8 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-22877 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences