Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-32801
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:47 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-32801
Complete source record
{
"id": "b64017ded29dcee23c8dad302b91523eedeec824238451f6de59f251d6e1483a",
"url": "https://osv.dev/vulnerability/CVE-2021-32801",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-32801",
"summary": "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.",
"evidence": "osv:CVE-2021-32801",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-32801",
"aliases": [
"CVE-2021-32801",
"GHSA-mcpf-v65v-359h"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nextcloud/server",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "a09a7fc6ae1c18aeba4fef5775a670aea8003890"
},
{
"introduced": "8985b7930653139859002eb3eca2852999ed8f0d"
},
{
"fixed": "c52fea0b16690b492f6c4175e1ae71d488936244"
},
{
"introduced": "c67e1420c8f741bfa43db08fcc295ec3b156fff8"
},
{
"fixed": "a45d94af7b5480c695da9f3fdc775d9afa7decfa"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "20.0.12"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "21.0.0"
},
{
"fixed": "21.0.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "22.0.0"
},
{
"fixed": "22.1.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"20.0.12rc1",
"v22.1.0rc1",
"v21.0.4rc1",
"v22.0.0",
"v20.0.11",
"v21.0.3",
"v21.0.3rc1",
"v20.0.11rc1",
"v20.0.10",
"v21.0.2",
"v20.0.10RC1",
"v21.0.2RC1",
"v20.0.9",
"v21.0.1",
"v21.0.1RC1",
"v20.0.9RC1",
"v20.0.8",
"v21.0.0",
"v20.0.8RC1",
"v20.0.7RC1",
"v20.0.7",
"v20.0.6",
"v20.0.6RC1",
"v20.0.5",
"v20.0.5RC2",
"v20.0.5RC1",
"v20.0.4",
"v20.0.3",
"v20.0.3RC2",
"v20.0.2",
"v20.0.2RC2",
"v20.0.2RC1",
"v20.0.1",
"v20.0.1RC1",
"v20.0.0",
"v20.0.0RC2",
"v20.0.0RC1",
"v20.0.0beta4",
"v20.0.0beta3",
"v20.0.0beta2",
"v20.0.0beta1",
"v19.0.0RC2",
"v19.0.0RC1",
"v19.0.0beta7",
"v19.0.0beta6",
"v19.0.0beta5",
"v19.0.0beta4",
"v19.0.0beta3",
"v19.0.0beta2",
"v19.0.0beta1",
"v18.0.0RC1",
"v18.0.0beta4",
"v18.0.0beta3",
"v18.0.0beta2",
"v18.0.0beta1",
"v17.0.0beta4",
"v17.0.0beta3",
"v17.0.0beta2",
"v17.0.0beta1",
"v16.0.0RC1",
"v16.0.0beta3",
"v16.0.0beta2",
"v16.0.0beta1",
"v16.0.0alpha1",
"v15.0.0RC1",
"v15.0.0beta2",
"v15.0.0beta1",
"v14.0.0RC2",
"v14.0.0RC1",
"v14.0.0beta4",
"v14.0.0beta3",
"v14.0.0beta2",
"v14.0.0beta1",
"v13.0.0RC1",
"v13.0.0beta4",
"v13.0.0beta3",
"v13.0.0beta2",
"v13.0.0beta1",
"v12.0.0beta4",
"v12.0.0beta3",
"v12.0.0beta2",
"v12.0.0beta1",
"v11.0.0",
"v11.0RC2",
"v9.1.0beta1",
"v9.0.0beta2",
"v9.0beta1",
"v8.2RC1",
"v8.2beta1",
"v8.1RC2",
"v8.1.0beta2",
"v8.1.0beta1",
"v8.1.0alpha2",
"v8.1.0alpha1",
"v8.0.0",
"v8.0.0RC2",
"v8.0.0RC1",
"v8.0.0beta2",
"v8.0.0beta1",
"v8.0.0alpha2",
"v8.0.0alpha1",
"v7.0.0beta1",
"v7.0.0alpha2",
"v6.0.0RC2",
"v6.0.0RC1",
"v6.0.0beta5",
"v6.0.0beta4",
"v6.0.0beta3",
"v6.0.0beta2",
"v6.0.0alpha2",
"v5.0.0",
"v5.0.0RC3",
"v5.0.0RC2",
"v5.0.0RC1",
"v5.0.0beta2",
"v5.0.0beta1",
"v5.0.0alpha1",
"v4.5.0",
"v4.5.0RC3",
"v4.5.0RC2",
"v4.5.0RC1",
"v4.5.0beta4",
"v4.5.0beta3",
"v4.0.6",
"v4.0.5",
"v4.0.4",
"v4.0.1",
"v4.0.0",
"v4.0.0RC2",
"v4.0.0RC",
"v4.0.0beta",
"v3.0",
"v1.0.0beta1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32801.json"
}
}
],
"modified": "2026-10-20T10:54:43.062323267Z",
"provider": "osv",
"references": [
"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-mcpf-v65v-359h",
"https://github.com/nextcloud/server/pull/28082",
"https://security.gentoo.org/glsa/202208-17",
"https://hackerone.com/reports/1251776"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-32801",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385977,
"published_at": "2021-09-07T22:15:08.49+00:00"
}