CVE-2021-32766

Nextcloud Text app can disclose existence of folders in "File Drop" link share

MEDIUM
5.3
CVSS Score
Published: September 7, 2021 at 09:05 PM UTC
Updated: June 17, 2026 at 03:53 AM UTC
1 product affected across 1 vendorNextcloud/server

Using security-advisories by nextcloud?

Get instant alerts when new vulnerabilities affect security-advisories - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 20.0.1221.0.0 ≤ v < 21.0.422.0.0 ≤ v < 22.1.0
Affected range stops below 20.0.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 21.0.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 22.1.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (3)

x_refsource_MISCPatchThird Party Advisory
https://github.com/nextcloud/text/pull/1716
x_refsource_MISCPermissions RequiredThird Party Advisory
https://hackerone.com/reports/1253475

CVSS

5.3MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-209

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card