# CVE-2021-39223: File path disclosure of shared files in Richdocuments application

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-10-25 · Modified: 2024-08-04
- Record: https://cvemate.com/vulnerability/CVE-2021-39223 · JSON: https://cvemate.com/vulnerability/CVE-2021-39223/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 1.055%, percentile 65.52%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- nextcloud richdocuments: \< 3.8.6 \| ≥ 4.0.0, \< 4.2.3
- nextcloud security-advisories: \< 3.8.6, \| ≥ 4.0.0, \< 4.2.3

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-rjcc-4cgj-6v93>
- <https://github.com/nextcloud/richdocuments/pull/1760>
- <https://hackerone.com/reports/1253460>

---

Data as of 2026-12-05T05:30:50.712Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
