What’s Vulnerable › Vulnerabilities
CVE-2021-39223: File path disclosure of shared files in Richdocuments application
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-10-25 · updated 2026-06-17
- Weakness: CWE-200
Description
Nextcloud is an open-source, self-hosted productivity platform. The Nextcloud Richdocuments application prior to versions 3.8.6 and 4.2.3 returned verbatim exception messages to the user. This could result in a full path disclosure on shared files. (e.g. an attacker could see that the file `shared.txt` is located within `/files/$username/Myfolder/Mysubfolder/shared.txt`). It is recommended that the Richdocuments application is upgraded to 3.8.6 or 4.2.3. As a workaround, disable the Richdocuments application in the app settings.
Affected products
- nextcloud Richdocuments: before 3.8.6; from 4.0.0 before 4.2.3 — fixed in 3.8.6, 4.2.3
How to fix
Upgrade to a fixed version: nextcloud Richdocuments 3.8.6, 4.2.3. Check the vendor advisory for mitigations.
References
- https://github.com/nextcloud/richdocuments/pull/1760
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-rjcc-4cgj-6v93
- https://hackerone.com/reports/1253460
- https://github.com/nextcloud/richdocuments/pull/1760
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-rjcc-4cgj-6v93
- https://hackerone.com/reports/1253460
Get alerted when CVE-2021-39223 or the next vulnerability affects your stack