CVE-2023-25579Nextcloud Server
High 7.5 No auth needed
Follow: this CVE · Nextcloud · Nextcloud Server We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 44
- Auth required
- No
- Published
- Feb 22, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
Nextcloud server is a self hosted home cloud product. In affected versions the `OC\Files\Node\Folder::getFullPath()` function was validating and normalizing the string in the wrong order. The function is used in the `newFile()` and `newFolder()` items, which may allow to creation of paths outside of ones own space and overwriting data from other users with crafted paths. This issue has been addressed in versions 25.0.2, 24.0.8, and 23.0.12. Users are advised to upgrade. There are no known workarounds for this issue.
What to do
- Apply the vendor's security update for Nextcloud Server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nextcloud | nextcloud_server | < 23.0.12 |
| nextcloud | nextcloud_server | ≥ 20.0.0 < 20.0.14 |
| nextcloud | nextcloud_server | ≥ 21.0.0 < 21.0.9 |
| nextcloud | nextcloud_server | ≥ 22.2.0 < 22.2.10 |
| nextcloud | nextcloud_server | ≥ 23.0.0 < 23.0.12 |
| nextcloud | nextcloud_server | ≥ 24.0.0 < 24.0.8 |
| nextcloud | nextcloud_server | ≥ 24.0.0 < 24.0.8 |
| nextcloud | nextcloud_server | ≥ 25.0.0 < 25.0.2 |
| nextcloud | nextcloud_server | ≥ 25.0.0 < 25.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory
- github.com Patch