What’s Vulnerable › Vulnerabilities
CVE-2023-28834: Full path of data directory exposed to Nextcloud server users
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-04-03 · updated 2026-06-17
- Weakness: CWE-212
Description
Nextcloud Server is an open source personal cloud server. Nextcloud Server 24.0.0 until 24.0.6 and 25.0.0 until 25.0.4, as well as Nextcloud Enterprise Server 23.0.0 until 23.0.11, 24.0.0 until 24.0.6, and 25.0.0 until 25.0.4, have an information disclosure vulnerability. A user was able to get the full data directory path of the Nextcloud server from an API endpoint. By itself this information is not problematic as it can also be guessed for most common setups, but it could speed up other unknown attacks in the future if the information is known. Nextcloud Server 24.0.6 and 25.0.4 and Nextcloud Enterprise Server 23.0.11, 24.0.6, and 25.0.4 contain patches for this issue. There are no known workarounds.
Affected products
- Nextcloud Server: from 23.0.0 before 23.0.14; from 24.0.0 before 24.0.10; from 25.0.0 before 25.0.4 — fixed in 23.0.14, 24.0.10, 25.0.4
How to fix
Upgrade to a fixed version: Nextcloud Server 23.0.14, 24.0.10, 25.0.4. Check the vendor advisory for mitigations.
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5w64-6c42-rgcv
- https://github.com/nextcloud/server/issues/33883
- https://github.com/nextcloud/server/pull/36094
- https://hackerone.com/reports/1690510
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5w64-6c42-rgcv
- https://github.com/nextcloud/server/issues/33883
- https://github.com/nextcloud/server/pull/36094
- https://hackerone.com/reports/1690510
Get alerted when CVE-2023-28834 or the next vulnerability affects your stack