# CVE-2021-32766: Nextcloud Text app can disclose existence of folders in "File Drop" link share

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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): 1.34%, higher than 72% of CVEs (2026-12-01)
- Published: 2021-09-07T21:05:11.000Z
- Modified: 2026-06-17T03:53:35.207Z
- Weaknesses: CWE-209
- Assigned by: GitHub_M

## Description

Nextcloud Text is an open source plaintext editing application which ships with the nextcloud server. In affected versions the Nextcloud Text application returned different error messages depending on whether a folder existed in a public link share. This is problematic in case the public link share has been created with "Upload Only" privileges. (aka "File Drop"). A link share recipient is not expected to see which folders or files exist in a "File Drop" share. Using this vulnerability an attacker is able to enumerate folders in such a share. Exploitation requires that the attacker has access to a valid affected "File Drop" link share. It is recommended that the Nextcloud Server is upgraded to 20.0.12, 21.0.4 or 22.0.1. Users who are unable to upgrade are advised to disable the Nextcloud Text application in the app settings.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: < 20.0.12; >= 21.0.0, < 21.0.4; >= 22.0.0, < 22.0.1
- 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.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-gcf3-3wmc-88jr> (third-party-advisory)
- <https://github.com/nextcloud/text/pull/1716> (patch, third-party-advisory)
- <https://hackerone.com/reports/1253475> (permissions-required, third-party-advisory)

## Sources

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

---

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