What’s Vulnerable › Vulnerabilities
CVE-2021-32801: Exceptions may have logged Encryption-at-Rest key content in Nextcloud server
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-09-07 · updated 2026-06-17
- Weakness: CWE-532
Description
Nextcloud server is an open source, self hosted personal cloud. In affected versions logging of exceptions may have resulted in logging potentially sensitive key material for the Nextcloud Encryption-at-Rest functionality. It is recommended that the Nextcloud Server is upgraded to 20.0.12, 21.0.4 or 22.1.0. If upgrading is not an option users are advised to disable system logging to resolve this issue until such time that an upgrade can be performed Note that ff you do not use the Encryption-at-Rest functionality of Nextcloud you are not affected by this bug.
Affected products
- Nextcloud Server: before 20.0.12; from 21.0.0 before 21.0.4; from 22.0.0 before 22.1.0 — fixed in 20.0.12, 21.0.4, 22.1.0
How to fix
Upgrade to a fixed version: Nextcloud Server 20.0.12, 21.0.4, 22.1.0. Check the vendor advisory for mitigations.
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-mcpf-v65v-359h
- https://github.com/nextcloud/server/pull/28082
- https://hackerone.com/reports/1251776
- https://security.gentoo.org/glsa/202208-17
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-mcpf-v65v-359h
- https://github.com/nextcloud/server/pull/28082
- https://hackerone.com/reports/1251776
- https://security.gentoo.org/glsa/202208-17
Get alerted when CVE-2021-32801 or the next vulnerability affects your stack