# CVE-2021-32801: Exceptions may have logged Encryption-at-Rest key content in Nextcloud server

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2021-09-07T21:40:11.000Z
- Modified: 2026-06-17T03:53:39.337Z
- Weaknesses: CWE-532
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: < 20.0.12; >= 21.0.0, < 21.0.4; >= 22.0.0, < 22.1.0
- nextcloud nextcloud_server: before 20.0.12; from 21.0.0 before 21.0.4; from 22.0.0 before 22.1.0

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-mcpf-v65v-359h> (third-party-advisory)
- <https://github.com/nextcloud/server/pull/28082> (third-party-advisory)
- <https://hackerone.com/reports/1251776> (permissions-required, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-17> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-32801](https://www.cve.org/CVERecord?id=CVE-2021-32801), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32801](https://nvd.nist.gov/vuln/detail/CVE-2021-32801), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32801 · Whole record: https://cve.day/CVE-2021-32801.json · Rebuilt by cve.day 2026-11-25T22:58:03.700Z
